Class: Packages::DummyCallbacks

Inherits:
Object
  • Object
show all
Extended by:
Yast::Logger
Defined in:
library/packages/src/lib/packages/dummy_callbacks.rb

Overview

Empty callbacks for package bindings. To register empty bindings in Yast::Pkg just call DummyCallbacks.register

Class Method Summary collapse

Class Method Details

.registerObject


10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'library/packages/src/lib/packages/dummy_callbacks.rb', line 10

def register
  Yast.import "Pkg"

  register_process_callbacks
  register_provide_callbacks
  register_patch_callbacks
  register_source_create_callbacks
  register_source_report_callbacks
  register_progress_report_callbacks
  register_script_callbacks
  register_scandb_callbacks
  register_download_callbacks
end