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

  1.  
  2. //# This file was generated by the SOM Compiler.
  3. //# FileName: wppensys.id2.
  4. //# Generated using:
  5. //#     SOM Precompiler somopc: 2.7
  6. //#     SOM Emitter emitidl: 2.22
  7.  
  8. //  SCC: @(#) 63 12/8/92 16:03:07 1.5 @(#)
  9. //  Module Header
  10. //
  11. //  Module Name: WPPENSYS
  12. //
  13. //  OS/2 Presentation Manager Workplace class definitions
  14. //
  15. //  Copyright (c) International Business Machines Corporation 1992
  16. //
  17.  
  18. #ifndef wppensys_idl
  19. #define wppensys_idl
  20.  
  21. #include "wpabs.idl"
  22. #include <somcls.idl>
  23.  
  24. interface M_PenPenSubSystem;
  25.  
  26. interface PenPenSubSystem : WPAbstract
  27. //# Comment for parent WPAbstract:
  28.  
  29. //---Symbol parentComment is undefined---
  30.  
  31. //
  32. // CLASS: PenPenSubSystem
  33. //
  34. // CLASS HIERARCHY:
  35. //    SOMObject
  36. //      └── WPObject
  37. //            └── WPAbstract
  38. //                  └── PenPenSubSystem
  39. //
  40. // DESCRIPTION:
  41. //    This is the Pen Subsystem object class.
  42. //
  43. //    An instance of this class can be created as a Workplace object.
  44. //
  45. //    An instance of this class is created initially by the system.
  46. //    It has the title, "Pen Subsystem" and resides in the "System Setup"
  47. //    folder.
  48. //
  49.  
  50. {
  51.   ULONG penAddHWPadPage(in HWND hwndNotebook);
  52.  
  53.   //
  54.   // METHOD: penAddHWPadPage                         ( ) PRIVATE
  55.   //                                                 (X) PUBLIC
  56.   // PURPOSE:
  57.   //   Add the handwriting page
  58.   //
  59.   // HISTORY: 6-15-94 - MikeD blew a build, then fixed it
  60.  
  61.   ULONG penAddPenFeedback2Page(in HWND hwndNotebook);
  62.  
  63.   //
  64.   // METHOD: penAddPenFeedback2Page                         ( ) PRIVATE
  65.   //                                                        (X) PUBLIC
  66.   // PURPOSE:
  67.   //   Add the the configuration page to the pen subsystem settings notebook
  68.   //   that allows the user to set the pause beep frequency.
  69.   //
  70.  
  71.   ULONG penAddPenTimeouts1Page(in HWND hwndNotebook);
  72.  
  73.   //
  74.   // METHOD: penAddPenTimeouts1Page                         ( ) PRIVATE
  75.   //                                                        (X) PUBLIC
  76.   // PURPOSE:
  77.   //   Add the the configuration page to the pen subsystem settings notebook
  78.   //   that allows the user to set the set various stroke timeouts that are
  79.   //   used by the input subsystem.
  80.   //
  81.  
  82.   ULONG penInvokeGestureHelp(in HOBJECT hObject);
  83.  
  84.   //
  85.   // METHOD: penInvokeGestureHelp                           ( ) PRIVATE
  86.   //                                                        (X) PUBLIC
  87.   // PURPOSE:
  88.   //   Opens settings notebook of particular object to the Gesture
  89.   //   page for the given session.
  90.   //
  91.  
  92.   ULONG penAddObjectEventPage(in HWND hwndNotebook,
  93.                               in PVOID pMappingInfo);
  94.  
  95.   //
  96.   // METHOD: penAddObjectEventPage                          ( ) PRIVATE
  97.   //                                                        (X) PUBLIC
  98.   // PURPOSE:
  99.   //   Add the recognition event page to Pen SubSystem Folder.
  100.   //
  101.  
  102.   ULONG penAddObjectEventPage2(in HWND hwndNotebook,
  103.                                in PVOID pMappingInfo);
  104.  
  105.   //
  106.   // METHOD: penAddObjectEventPage                          ( ) PRIVATE
  107.   //                                                        (X) PUBLIC
  108.   // PURPOSE:
  109.   //   Add the recognition event page to Pen SubSystem Folder.
  110.   //
  111.  
  112.   ULONG penAddTrainingPage(in HWND hwndNotebook);
  113.  
  114.   //
  115.   // METHOD: penAddTrainingPage                             ( ) PRIVATE
  116.   //                                                        (X) PUBLIC
  117.   // PURPOSE:
  118.   //   Add the the Training page to the pen subsystem settings notebook
  119.   //   that allows the user to create and modify handwritting styles.
  120.   //
  121.  
  122.  
  123.  
  124. #ifdef __SOMIDL__
  125.   implementation {
  126.  
  127.     releaseorder: penAddPenFeedback2Page,penAddPenTimeouts1Page,penAddObjectEventPage,
  128.                   penAddObjectEventPage2,penInvokeGestureHelp,penAddTrainingPage,
  129.                   penAddHWPadPage;
  130.  
  131.     //# Class Modifiers
  132.     local;
  133.     functionprefix = pss_;
  134.     majorversion = 1;
  135.     minorversion = 1;
  136.     filestem = wppensys;
  137.     metaclass = M_PenPenSubSystem;
  138.     callstyle = oidl;
  139.  
  140. #ifdef __PRIVATE__
  141.     passthru C_ih_before = ""
  142. "   #define PENSUBSYSTEM_VERSION_MAJOR           1"
  143. "   #define PENSUBSYSTEM_VERSION_MINOR           1"
  144. ""
  145. "   #define RPE                       \"PPMRPE.EXE\""
  146. ""
  147. "   #define PPMSVDEFAULT_RECOPTRDELAY          250"
  148. "   #define PPMSVDEFAULT_CONTROLS                1"
  149. ""
  150. "   #define ICONDISPLAYTIME                    500"
  151. ""
  152. "   #define SET                                  1"
  153. "   #define RESET                                0"
  154. ""
  155. "   #define RIGHT                                1"
  156. "   #define LEFT                                 2"
  157. ""
  158. "   #define NUMCOLS                              1"
  159. "   #define NUMROWS                              2"
  160. ""
  161. "   #define LONGTICK                        6"
  162. "   #define SHORTTICK                       3"
  163. ""
  164. "   /* help res ids */"
  165. "   #define PENSYS_DEFAULTHELP 40002"
  166. "   #define FEED2DLG_HELPRES   40066"
  167. "   #define TIME1DLG_HELPRES   40004"
  168. "   #define PSSGESTUREDLG_HELPRES 40014"
  169. "   #define TRAINDLG_HELPRES    40005"
  170. ""
  171. "   #define CUSTOMIZATION_HWPADPAGE_HELPRES     40189"
  172. "   #define CUSTOMIZATION_SAVESTYLE_HELPRES     40214"
  173. "   #define CUSTOMIZATION_RESTORESTYLE_HELPRES  40215"
  174. "";
  175. #endif /* __PRIVATE__ */
  176.  
  177.     //
  178.     //   #define PENSUBSYSTEM_VERSION_MAJOR           1
  179.     //   #define PENSUBSYSTEM_VERSION_MINOR           1
  180.     //
  181.     //   #define RPE                       "PPMRPE.EXE"
  182.     //
  183.     //   #define PPMSVDEFAULT_RECOPTRDELAY          250
  184.     //   #define PPMSVDEFAULT_CONTROLS                1
  185.     //
  186.     //   #define ICONDISPLAYTIME                    500
  187.     //
  188.     //   #define SET                                  1
  189.     //   #define RESET                                0
  190.     //
  191.     //   #define RIGHT                                1
  192.     //   #define LEFT                                 2
  193.     //
  194.     //   #define NUMCOLS                              1
  195.     //   #define NUMROWS                              2
  196.     //
  197.     //   #define LONGTICK                        6
  198.     //   #define SHORTTICK                       3
  199.     //
  200.     //   /* help res ids */
  201.     //   #define PENSYS_DEFAULTHELP 40002
  202.     //   #define FEED2DLG_HELPRES   40066
  203.     //   #define TIME1DLG_HELPRES   40004
  204.     //   #define PSSGESTUREDLG_HELPRES 40014
  205.     //   #define TRAINDLG_HELPRES    40005
  206.     //
  207.     //   #define CUSTOMIZATION_HWPADPAGE_HELPRES     40189
  208.     //   #define CUSTOMIZATION_SAVESTYLE_HELPRES     40214
  209.     //   #define CUSTOMIZATION_RESTORESTYLE_HELPRES  40215
  210.  
  211.  
  212.     //# Internal Instance Variables
  213.     ULONG ulPMGesturePage;
  214.     ULONG ulOS2GesturePage;
  215.     ULONG ulWINGesturePage;
  216.     ULONG ulDOSGesturePage;
  217.     HWND hwndNotebook;
  218.  
  219.     //# Method Modifiers
  220.     penInvokeGestureHelp: namelookup;
  221.     wpAddSettingsPages: override;
  222.     wpAddObjectWindowPage: override;
  223.     wpFilterPopupMenu: override;
  224.  
  225.     //# Data Modifiers
  226.     ulPMGesturePage: internal;
  227.     ulOS2GesturePage: internal;
  228.     ulWINGesturePage: internal;
  229.     ulDOSGesturePage: internal;
  230.     hwndNotebook: internal;
  231.  
  232.   };
  233. #endif /* __SOMIDL__ */
  234. };
  235.  
  236. interface M_PenPenSubSystem
  237. //# Comment for parent WPAbstract:
  238.  
  239. //---Symbol parentComment is undefined---
  240. {
  241.  
  242. #ifdef __SOMIDL__
  243.   implementation {
  244.  
  245.     //# Class Modifiers
  246.     local;
  247.     functionprefix = pssM_;
  248.     majorversion = 1;
  249.     minorversion = 1;
  250.     filestem = wppensys;
  251.     callstyle = oidl;
  252.  
  253.     //# Method Modifiers
  254.     wpclsQueryTitle: override;
  255.     wpclsQueryDefaultHelp: override;
  256.     wpclsQueryDefaultView: override;
  257.     wpclsQueryStyle: override;
  258.     wpclsQueryIconData: override;
  259.  
  260.   };
  261. #endif /* __SOMIDL__ */
  262. };
  263.  
  264. #endif  /* wppensys_idl */
  265.