Class: Yast::PackageCallbacksInitClass

Inherits:
Module
  • Object
show all
Defined in:
library/packages/src/modules/PackageCallbacksInit.rb

Instance Method Summary collapse

Instance Method Details

#InitPackageCallbacksObject

Register package manager callbacks


42
43
44
45
46
47
48
49
50
# File 'library/packages/src/modules/PackageCallbacksInit.rb', line 42

def InitPackageCallbacks
  Builtins.y2warning(
    -1,
    "PackageCallbacksInit::InitPackageCallbacks() is obsoleted, use PackageCallbacks::InitPackageCallbacks() instead"
  )
  PackageCallbacks.InitPackageCallbacks

  nil
end

#mainObject


34
35
36
37
38
39
# File 'library/packages/src/modules/PackageCallbacksInit.rb', line 34

def main
  textdomain "base"

  Yast.import "PackageCallbacks"
  PackageCallbacksInit()
end

#PackageCallbacksInitObject


58
59
60
61
62
63
64
65
# File 'library/packages/src/modules/PackageCallbacksInit.rb', line 58

def PackageCallbacksInit
  Builtins.y2warning(
    -1,
    "PackageCallbacksInit module is obsoleted, use PackageCallbacks instead"
  )

  nil
end

#SetMediaCallbacksObject


52
53
54
55
56
# File 'library/packages/src/modules/PackageCallbacksInit.rb', line 52

def SetMediaCallbacks
  PackageCallbacks.SetMediaCallbacks

  nil
end