home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / help.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  1.2 KB  |  57 lines

  1. #ifndef _HELP_H_
  2. #define _HELP_H_
  3.  
  4. #include <pm/StdApp.h>
  5.  
  6. #ifndef _ARCHIVING_H_
  7. #include <pm/Archiving.h>
  8. #endif
  9.  
  10. #define DEFAULT_HELPTABLE 1000
  11.  
  12. @interface Help : Object <Archiving>
  13. {
  14.   BOOL helpEnabled;
  15.   HWND helpInstance;
  16.  
  17.   id    helpFileName;
  18.   id    helpWindowTitle;
  19.   ULONG helpTable;
  20.   HAB   hab;
  21. }
  22.  
  23. - init;
  24. - initForApp: (StdApp *) anApp helpFile: (char *) fileName;
  25. - initForApp: (StdApp *) anApp helpFile: (char *) fileName
  26.    withTitle: (char *) helpTitle;
  27. - initForApp: (StdApp *) anApp helpFile: (char *) fileName
  28.    withTitle: (char *) helpTitle helpTable: (ULONG) helpTableID;
  29.  
  30. - free;
  31.  
  32. - associateWith: aWindow;
  33.  
  34. - createHelpInstance;
  35.  
  36. - helpForHelp: sender;
  37. - helpExtended: sender;
  38. - helpIndex: sender;
  39. - helpFor: sender;
  40. - helpForTopic: (int) topic;
  41.  
  42. /* ---------------------- Instance Variables ---------------------- */
  43. -helpFileName;
  44. -helpWindowTitle;
  45. -(ULONG) helpTable;
  46. -setHelpTable: (ULONG) anId;
  47.  
  48. /* -------------------------- Archiving --------------------------- */
  49. -awake;
  50. -initializeObjectWithHab: (HAB) aHab;
  51. -read: (TypedStream *) aStream;
  52. -write: (TypedStream *) aStream;
  53.  
  54. @end
  55.  
  56. #endif
  57.