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

  1.  
  2. //# This file was generated by the SOM Compiler.
  3. //# FileName: wplocfgr.id2.
  4. //# Generated using:
  5. //#     SOM Precompiler somopc: 2.7
  6. //#     SOM Emitter emitidl: 2.22
  7.  
  8. //  SCC: @(#) 98 4/16/93 19:53:27 1.7 @(#)
  9. //  Module Header
  10. //
  11. //  Module Name: WPLOCFGR
  12. //
  13. //  OS/2 Presentation Manager Workplace class definitions
  14. //
  15. //  Copyright (c) International Business Machines Corporation 1992
  16. //
  17.  
  18. #ifndef wplocfgr_idl
  19. #define wplocfgr_idl
  20.  
  21. #include "wplocatr.idl"
  22. #include <somcls.idl>
  23.  
  24. interface M_PenLocatorFinger;
  25.  
  26. interface PenLocatorFinger : PenLocator
  27. //# Comment for parent PenLocator:
  28.  
  29. //---Symbol parentComment is undefined---
  30.  
  31. //
  32. // CLASS: PenLocatorFinger
  33. //
  34. // CLASS HIERARCHY:
  35. //    SOMObject
  36. //      └── WPObject
  37. //            └── WPAbstract
  38. //                  └── PenLocator
  39. //                        └── PenLocatorFinger
  40. //
  41. // DESCRIPTION:
  42. //    This is the Locator object class for the Finger.
  43. //
  44. //    An instance of this class can be created as a Workplace object.
  45. //
  46. //    An instance of this class is created initially by the system.
  47. //    It has the title, "Locator" and resides in the "System Setup" folder.
  48. //
  49.  
  50. {
  51.   ULONG penAddFingerOffsetPage(in HWND hwndNotebook);
  52.  
  53.   //
  54.   // METHOD: penAddFingerOffsetPage                         ( ) PRIVATE
  55.   //                                                        (X) PUBLIC
  56.   // PURPOSE:
  57.   //   Add the finger Offset page to the locator finger settings
  58.   //   notebook
  59.   //
  60.  
  61.  
  62. #ifdef __PRIVATE__
  63.  
  64.   ULONG penQueryOffsetPointerX();
  65.  
  66.   //
  67.   // METHOD: penQueryOffsetPointerX                         (x) PRIVATE
  68.   //                                                        ( ) PUBLIC
  69.   // PURPOSE:
  70.   //   Query the pointer pos
  71.   //
  72.  
  73.   ULONG penQueryOffsetPointerY();
  74.  
  75.   //
  76.   // METHOD: penQueryOffsetPointerY                         (x) PRIVATE
  77.   //                                                        ( ) PUBLIC
  78.   // PURPOSE:
  79.   //   Query the pointer pos
  80.   //
  81.  
  82.   VOID penSetOffsetPointerX(in ULONG ulPos);
  83.  
  84.   //
  85.   // METHOD: penSetOffsetPointerX                           (x) PRIVATE
  86.   //                                                        ( ) PUBLIC
  87.   // PURPOSE:
  88.   //   Set the pointer pos
  89.   //
  90.  
  91.   VOID penSetOffsetPointerY(in ULONG ulPos);
  92.  
  93.   //
  94.   // METHOD: penSetOffsetPointerY                           (x) PRIVATE
  95.   //                                                        ( ) PUBLIC
  96.   // PURPOSE:
  97.   //   Set the pointer pos
  98.   //
  99.  
  100.  
  101. #endif
  102.  
  103.  
  104. #ifdef __SOMIDL__
  105.   implementation {
  106.  
  107.     releaseorder: penAddFingerOffsetPage,penQueryOffsetPointerX,penQueryOffsetPointerY,
  108.                   penSetOffsetPointerX,penSetOffsetPointerY;
  109.  
  110.     //# Class Modifiers
  111.     local;
  112.     functionprefix = fgr_;
  113.     majorversion = 1;
  114.     minorversion = 1;
  115.     filestem = wplocfgr;
  116.     metaclass = M_PenLocatorFinger;
  117.     callstyle = oidl;
  118.  
  119. #ifdef __PRIVATE__
  120.     passthru C_ih_before = ""
  121. "#include \"wplocatr.ih\""
  122. ""
  123. "#define LOCATOR_FGR_VERSION_MAJOR  1"
  124. "#define LOCATOR_FGR_VERSION_MINOR  1"
  125. ""
  126. "#define PENLOCFGR_DEFAULTHELP      40076"
  127. "#define FINGERDLG_HELPRES          40078"
  128. ""
  129. "#define IDKEY_OFFSET_X      1"
  130. "#define IDKEY_OFFSET_Y      2"
  131. ""
  132. "#define VGA_RES_X           640"
  133. "#define VGA_RES_Y           480"
  134. "#define FIXED_PTR_X         39"
  135. "#define FIXED_PTR_Y         10"
  136. "#define FIXED_PTR_CY        32"
  137. "#define OFFSET_PTR_CENTER   16"
  138. ""
  139. "#define PPMSV_MY_DEF_X      0"
  140. "#define PPMSV_MY_DEF_Y      0"
  141. "";
  142. #endif /* __PRIVATE__ */
  143.  
  144.     //
  145.     //#include "wplocatr.ph"
  146.     //
  147.     //#define LOCATOR_FGR_VERSION_MAJOR  1
  148.     //#define LOCATOR_FGR_VERSION_MINOR  1
  149.     //
  150.     //#define PENLOCFGR_DEFAULTHELP      40076
  151.     //#define FINGERDLG_HELPRES          40078
  152.     //
  153.     //#define IDKEY_OFFSET_X      1
  154.     //#define IDKEY_OFFSET_Y      2
  155.     //
  156.     //#define VGA_RES_X           640
  157.     //#define VGA_RES_Y           480
  158.     //#define FIXED_PTR_X         39
  159.     //#define FIXED_PTR_Y         10
  160.     //#define FIXED_PTR_CY        32
  161.     //#define OFFSET_PTR_CENTER   16
  162.     //
  163.     //#define PPMSV_MY_DEF_X      0
  164.     //#define PPMSV_MY_DEF_Y      0
  165.     //
  166.  
  167.  
  168.     //# Internal Instance Variables
  169.     ULONG ulOffsetPointerPosX;
  170.     ULONG ulOffsetPointerPosY;
  171.  
  172.     //# Method Modifiers
  173.     wpAddSettingsPages: override;
  174.     wpSaveState: override;
  175.     wpRestoreState: override;
  176.     wpInitData: override;
  177.  
  178.     //# Data Modifiers
  179.     ulOffsetPointerPosX: internal;
  180.     ulOffsetPointerPosY: internal;
  181.  
  182. #ifdef __PRIVATE__
  183.  
  184.     //# Data Modifiers
  185.  
  186. #endif
  187.  
  188.   };
  189. #endif /* __SOMIDL__ */
  190. };
  191.  
  192. interface M_PenLocatorFinger
  193. //# Comment for parent PenLocator:
  194.  
  195. //---Symbol parentComment is undefined---
  196. {
  197. #ifdef __PRIVATE__
  198.  
  199.   ULONG penclsQueryTouchOffsetIdX();
  200.  
  201.   //
  202.   // METHOD: penclsQueryTouchOffsetIdX                      (x) PRIVATE
  203.   //                                                        ( ) PUBLIC
  204.   // PURPOSE:
  205.   //   Query the sys value ID
  206.   //
  207.  
  208.   ULONG penclsQueryTouchOffsetIdY();
  209.  
  210.   //
  211.   // METHOD: penclsQueryTouchOffsetIdY                      (x) PRIVATE
  212.   //                                                        ( ) PUBLIC
  213.   // PURPOSE:
  214.   //   Query the sys value ID
  215.   //
  216.  
  217.  
  218. #endif
  219.  
  220.  
  221. #ifdef __SOMIDL__
  222.   implementation {
  223.  
  224.     releaseorder: penclsQueryTouchOffsetIdX,penclsQueryTouchOffsetIdY;
  225.  
  226.     //# Class Modifiers
  227.     local;
  228.     functionprefix = fgrM_;
  229.     majorversion = 1;
  230.     minorversion = 1;
  231.     filestem = wplocfgr;
  232.     callstyle = oidl;
  233.  
  234.     //# Method Modifiers
  235.     wpclsQueryTitle: override;
  236.     wpclsQueryIconData: override;
  237.     wpclsQueryDefaultHelp: override;
  238.     penclsQueryDefaultPause: override;
  239.     penclsQueryPauseEnableDefault: override;
  240.  
  241. #ifdef __PRIVATE__
  242.  
  243.     //# Data Modifiers
  244.     penclsQueryPauseId: override;
  245.     penclsQueryPauseEnableId: override;
  246.  
  247. #endif
  248.  
  249.   };
  250. #endif /* __SOMIDL__ */
  251. };
  252.  
  253. #endif  /* wplocfgr_idl */
  254.