195. PackageSlideShow

195.1. Authors

  • Stefan Hundhammer <sh@suse.de>

  • Stanislav Visnovsky <visnov@suse.cz>

195.2. Summary of Module Globals

List of Global Functions

  • InitPkgData - Initialize internal pacakge data, such as remaining package sizes and times. This may not be called before the pkginfo server is up and running, so this cannot be reliably done from the constructor in all cases.

  • SetCurrentCdNo - Set the current repository and CD number. Must be called for each CD change. src_no: 1...n cd_no: 1...n

  • SetMediaType - set media type "CD" or "DVD"

  • SlideDisplayDone - package start display update - this is called at the end of a new package

  • SlideDisplayStart - package start display update - this is called at the beginning of a new package

  • SlideProvideStart - Package providal start

  • StripPath - Get package file name from path

  • StripReleaseNo - Get version info for a package (without build no.)

  • UpdateAllCdProgress - Update progress widgets for all CDs. Uses global statistics variables.

  • UpdateCurrentCdProgress - Update progress widgets for the current CD: Label and ProgressBar. Use global statistics variables for that.

  • UpdateCurrentPackageProgress - Progress display update This is called via the packager's progress callbacks.

List of Global Variables

    195.3. Global Functions

    195.3.1. InitPkgData

    Initialize internal pacakge data, such as remaining package sizes and times. This may not be called before the pkginfo server is up and running, so this cannot be reliably done from the constructor in all cases.

    Function parameters

    • boolean force

    Return value

    • void

    195.3.2. SetCurrentCdNo

    Set the current repository and CD number. Must be called for each CD change. src_no: 1...n cd_no: 1...n

    Function parameters

    • integer src_no

    • integer cd_no

    Return value

    • void

    195.3.3. SetMediaType

    set media type "CD" or "DVD"

    Function parameters

    • string new_media_type

    Return value

    • void

    195.3.4. SlideDisplayDone

    package start display update - this is called at the end of a new package

    Function parameters

    • string pkg_name

    • integer pkg_size

    • boolean deleting

    Return value

    • void

    195.3.5. SlideDisplayStart

    package start display update - this is called at the beginning of a new package

    Function parameters

    • string pkg_name

    • string pkg_summary

    • integer pkg_size

    • boolean deleting

    Return value

    • void

    195.3.6. SlideProvideStart

    Package providal start

    Function parameters

    • string pkg_name

    • integer sz

    • boolean remote

    Return value

    • void

    195.3.7. StripPath

    Get package file name from path

    Function parameters

    • string pkg_name

    Return value

    • string - package file name

    195.3.8. StripReleaseNo

    Get version info for a package (without build no.)

    Function parameters

    • string pkg_name

    Return value

    • string - version string

    195.3.9. UpdateAllCdProgress

    Update progress widgets for all CDs. Uses global statistics variables.

    Function parameters

    • boolean silent_check

    Return value

    • void

    195.3.10. UpdateCurrentCdProgress

    Update progress widgets for the current CD: Label and ProgressBar. Use global statistics variables for that.

    Function parameters

    • boolean silent_check

    Return value

    • void

    195.3.11. UpdateCurrentPackageProgress

    Progress display update This is called via the packager's progress callbacks.

    Function parameters

    • integer pkg_percent

    Return value

    • void

    195.4. Global Variables

    195.5. Module Requirements

    195.5.1. Module Imports

    • SlideShow
    • Slides
    • String

    195.5.2. Module Includes