Important: The information in this document is obsolete and should not be used for new development.
AGGetAvailableDBTypes
Use theAGGetAvailableDBTypes
function to determine the types of guide files that are available in the current application's Help menu.
UInt32 AGGetAvailableDBTypes(void);DESCRIPTION
TheAGGetAvailableDBTypes
function returns a collection of bit flags that indicate the types of guide files that are available in the current application's Help menu:
enum AGDBTypeBit { kAGDBBitAny = 0x00000001,/*one or more guide */ /* files are present*/ kAGDBTypeBitHelp = 0x00000002,/*Help guide file*/ kAGDBTypeBitTutorial /*Tutorial guide */ = 0x00000004,/* file*/ kAGDBTypeBitShortcuts /*Shortcuts guide */ = 0x00000008,/* file*/ kAGDBTypeBitAbout = 0x00000010,/*About guide file*/ kAGDBTypeBitOther = 0x00000080/*Other guide file*/ };TheAGGetAvailableDBTypes
function returns
kAGDBBitAny
if one or more guide files are presentkAGDBTypeBitHelp
if a Help guide file is present- kAGDBTypeBitTutorial if a Tutorial guide file is present
- kAGDBTypeBitShortcuts if a Shortcuts guide file is present
- kAGDBTypeBitAbout if an About guide file is present
- kAGDBTypeBitOther if an Other guide file is present
- 0 if no guide files are present
SEE ALSO
To count the number of guide files of a particular type, use theAGFileGetDBCount
function, described next. To get the file system specification record for a guide file, use theAGFileGetIndDB
function, as described on page 9-10.