home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK2.DSK / WPDISPLY.IDL < prev    next >
Text File  |  1994-09-28  |  3KB  |  146 lines

  1.  
  2. //# This file was generated by the SOM Compiler.
  3. //# FileName: wpdisply.id2.
  4. //# Generated using:
  5. //#     SOM Precompiler somopc: 2.7
  6. //#     SOM Emitter emitidl: 2.22
  7.  
  8. //  SCC: @(#) 37 4/28/94 10:50:01 1.8 @(#)
  9. //  Module Header
  10. //
  11. //  Module Name: WPDISPLY
  12. //
  13. //  OS/2 Presentation Manager Workplace class definitions
  14. //
  15. //  Copyright (c) International Business Machines Corporation 1992
  16. //
  17.  
  18. #ifndef wpdisply_idl
  19. #define wpdisply_idl
  20.  
  21. #include "penbtndv.idl"
  22. #include <somcls.idl>
  23.  
  24. interface M_PenDisplay;
  25.  
  26. interface PenDisplay : PenButtonDevice
  27. //# Comment for parent PenButtonDevice:
  28.  
  29. //---Symbol parentComment is undefined---
  30.  
  31. //
  32. // CLASS: PenDisplay
  33. //
  34. // CLASS HIERARCHY:
  35. //    SOMObject
  36. //      └── WPObject
  37. //            └── WPAbstract
  38. //                  └── PenDisplay
  39. //
  40. // DESCRIPTION:
  41. //    This is the LCD display for pen object class.
  42. //
  43. //    An instance of this class can be created as a Workplace object.
  44. //
  45.  
  46. {
  47.   ULONG penAddDisplayBacklightPage(in HWND hwndNotebook);
  48.  
  49.   //
  50.   // METHOD: penAddDisplayBacklightPage                     ( ) PRIVATE
  51.   //                                                        (X) PUBLIC
  52.   // PURPOSE:
  53.   //   Add the backlight configuration page to the display settings
  54.   //
  55.  
  56.  
  57.  
  58. #ifdef __SOMIDL__
  59.   implementation {
  60.  
  61.     releaseorder: penAddDisplayBacklightPage;
  62.  
  63.     //# Class Modifiers
  64.     local;
  65.     functionprefix = dsp_;
  66.     majorversion = 1;
  67.     minorversion = 1;
  68.     filestem = wpdisply;
  69.     metaclass = M_PenDisplay;
  70.     callstyle = oidl;
  71.  
  72. #ifdef __PRIVATE__
  73.     passthru C_ih_before = ""
  74. "   #define DISPLAY_VERSION_MAJOR           1"
  75. "   #define DISPLAY_VERSION_MINOR           1"
  76. ""
  77. "   #define PPMSVDEFAULT_BL_TIMEOUT         10"
  78. "   #define PPMSVDEFAULT_BL_ENABLED         TRUE"
  79. ""
  80. "   #define LONGTICK                        6"
  81. "   #define SHORTTICK                       3"
  82. ""
  83. "   /* help res ids */"
  84. ""
  85. "   #define DISPLAY_DEFAULTHELP 40079"
  86. "   #define BACKDLG_HELPRES     40080"
  87. "";
  88. #endif /* __PRIVATE__ */
  89.  
  90.     //
  91.     //   #define DISPLAY_VERSION_MAJOR           1
  92.     //   #define DISPLAY_VERSION_MINOR           1
  93.     //
  94.     //   #define PPMSVDEFAULT_BL_TIMEOUT         10
  95.     //   #define PPMSVDEFAULT_BL_ENABLED         TRUE
  96.     //
  97.     //   #define LONGTICK                        6
  98.     //   #define SHORTTICK                       3
  99.     //
  100.     //   /* help res ids */
  101.     //
  102.     //   #define DISPLAY_DEFAULTHELP 40079
  103.     //   #define BACKDLG_HELPRES     40080
  104.     //
  105.  
  106.  
  107.     //# Method Modifiers
  108.     wpOpen: override;
  109.     wpAddSettingsPages: override;
  110.     wpAddObjectWindowPage: override;
  111.     wpFilterPopupMenu: override;
  112.  
  113.   };
  114. #endif /* __SOMIDL__ */
  115. };
  116.  
  117. interface M_PenDisplay
  118. //# Comment for parent PenButtonDevice:
  119.  
  120. //---Symbol parentComment is undefined---
  121. {
  122.  
  123. #ifdef __SOMIDL__
  124.   implementation {
  125.  
  126.     //# Class Modifiers
  127.     local;
  128.     functionprefix = dspM_;
  129.     majorversion = 1;
  130.     minorversion = 1;
  131.     filestem = wpdisply;
  132.     callstyle = oidl;
  133.  
  134.     //# Method Modifiers
  135.     wpclsQueryTitle: override;
  136.     wpclsQueryDefaultHelp: override;
  137.     wpclsQueryDefaultView: override;
  138.     wpclsQueryStyle: override;
  139.     wpclsQueryIconData: override;
  140.  
  141.   };
  142. #endif /* __SOMIDL__ */
  143. };
  144.  
  145. #endif  /* wpdisply_idl */
  146.