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



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

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

  nil
end

#mainObject



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

def main
  textdomain "base"

  Yast.import "PackageCallbacks"
  PackageCallbacksInit()
end

#PackageCallbacksInitObject



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

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

  nil
end

#SetMediaCallbacksObject



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

def SetMediaCallbacks
  PackageCallbacks.SetMediaCallbacks

  nil
end