Method: Yast::PackageCallbacksClass#SetSourceProbeCallbacks

Defined in:
library/packages/src/modules/PackageCallbacks.rb

#SetSourceProbeCallbacksObject



2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'library/packages/src/modules/PackageCallbacks.rb', line 2680

def SetSourceProbeCallbacks
  # source probing callbacks
  Pkg.CallbackSourceProbeStart(
    fun_ref(method(:SourceProbeStart), "void (string)")
  )
  Pkg.CallbackSourceProbeFailed(
    fun_ref(method(:SourceProbeFailed), "void (string, string)")
  )
  Pkg.CallbackSourceProbeSucceeded(
    fun_ref(method(:SourceProbeSucceeded), "void (string, string)")
  )
  Pkg.CallbackSourceProbeProgress(
    fun_ref(method(:SourceProbeProgress), "boolean (string, integer)")
  )
  Pkg.CallbackSourceProbeError(
    fun_ref(method(:SourceProbeError), "symbol (string, symbol, string)")
  )
  Pkg.CallbackSourceProbeEnd(
    fun_ref(method(:SourceProbeEnd), "void (string, symbol, string)")
  )

  nil
end