241. SlideShow

241.1. Summary of Module Globals

List of Global Functions

  • AppendMessageToInstLog - Append message to the installation log

  • CheckForSlides - Check if the slide show is available. This must be called before trying to access any slides; some late initialization is done here.

  • CloseSlideShowDialog - Close the slide show dialog.

  • HandleInput - Process (slide show) input (button press).

  • 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.

  • OpenSlideShowDialog - Open the slide show dialog.

  • ResetTimer - Reset the internal (global) timer.

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

  • SetLanguage - Set the curent language. Must be called once during initialization.

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

  • SetSlideDir - Set the slide show directory

  • 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

  • SlideShow - Constructor

  • StartTimer - Start the internal (global) timer.

  • StopTimer - Stop the internal (global) timer and account elapsed time.

  • StripPath - Get package file name from path

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

  • SwitchToDetailsView - Switch from the 'slide show' view to the 'details' view.

  • SwitchToReleaseNotesView - Switch to the 'release notes' view.

  • SwitchToSlideView - Switch from the 'details' view to the 'slide show' view.

  • 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

    241.2. Global Functions

    241.2.1. AppendMessageToInstLog

    Append message to the installation log

    Function parameters

    • string msg

    Return value

    • void

    241.2.2. CheckForSlides

    Check if the slide show is available. This must be called before trying to access any slides; some late initialization is done here.

    Return value

    • void

    241.2.3. CloseSlideShowDialog

    Close the slide show dialog.

    Return value

    • void

    241.2.4. HandleInput

    Process (slide show) input (button press).

    Function parameters

    • any button

    Return value

    • void

    241.2.5. 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

    241.2.6. OpenSlideShowDialog

    Open the slide show dialog.

    Return value

    • void

    241.2.7. ResetTimer

    Reset the internal (global) timer.

    Return value

    • void

    241.2.8. 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

    241.2.9. SetLanguage

    Set the curent language. Must be called once during initialization.

    Function parameters

    • string new_language

    Return value

    • void

    241.2.10. SetMediaType

    set media type "CD" or "DVD"

    Function parameters

    • string new_media_type

    Return value

    • void

    241.2.11. SetSlideDir

    Set the slide show directory

    Function parameters

    • string dir

    Return value

    • void

    241.2.12. 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

    241.2.13. 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

    241.2.14. SlideProvideStart

    Package providal start

    Function parameters

    • string pkg_name

    • integer sz

    • boolean remote

    Return value

    • void

    241.2.15. SlideShow

    Constructor

    Return value

    • void

    241.2.16. StartTimer

    Start the internal (global) timer.

    Return value

    • void

    241.2.17. StopTimer

    Stop the internal (global) timer and account elapsed time.

    Return value

    • void

    241.2.18. StripPath

    Get package file name from path

    Function parameters

    • string pkg_name

    Return value

    • string - package file name

    241.2.19. StripReleaseNo

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

    Function parameters

    • string pkg_name

    Return value

    • string - version string

    241.2.20. SwitchToDetailsView

    Switch from the 'slide show' view to the 'details' view.

    Function parameters

    • boolean silent_check

    Return value

    • void

    241.2.21. SwitchToReleaseNotesView

    Switch to the 'release notes' view.

    Return value

    • void

    241.2.22. SwitchToSlideView

    Switch from the 'details' view to the 'slide show' view.

    Return value

    • void

    241.2.23. UpdateAllCdProgress

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

    Function parameters

    • boolean silent_check

    Return value

    • void

    241.2.24. 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

    241.2.25. UpdateCurrentPackageProgress

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

    Function parameters

    • integer pkg_percent

    Return value

    • void

    241.3. Global Variables

    241.4. Module Requirements

    241.4.1. Module Imports

    • FileUtils
    • Installation
    • Label
    • Language
    • Stage
    • String
    • Wizard

    241.4.2. Module Includes