home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK1.DSK / WPPENSYS.SC < prev    next >
Text File  |  1994-10-07  |  5KB  |  192 lines

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: wppensys.sc.
  4. # Generated using:
  5. #     SOM Precompiler somopc: 2.7
  6. #     SOM Emitter emitsc: 2.22
  7.  
  8. /*
  9.  *  SCC: @(#) 63 12/8/92 16:03:07 1.5 @(#)
  10.  *  Module Header
  11.  * 
  12.  *  Module Name: WPPENSYS
  13.  * 
  14.  *  OS/2 Presentation Manager Workplace class definitions
  15.  * 
  16.  *  Copyright (c) International Business Machines Corporation 1992
  17.  * 
  18.  */
  19.  
  20. #include <wpabs.sc>
  21.  
  22. class: PenPenSubSystem, 
  23.     external stem = WPpss, local, 
  24.     external prefix = pss_, classprefix = pssM_, 
  25.     major version = 1, minor version = 1, 
  26.     file stem = wppensys;
  27.  
  28.     -- 
  29.     --  CLASS: PenPenSubSystem
  30.     -- 
  31.     --  CLASS HIERARCHY:
  32.     --     SOMObject
  33.     --       └── WPObject
  34.     --             └── WPAbstract
  35.     --                   └── PenPenSubSystem
  36.     -- 
  37.     --  DESCRIPTION:
  38.     --     This is the Pen Subsystem object class.
  39.     -- 
  40.     --     An instance of this class can be created as a Workplace object.
  41.     -- 
  42.     --     An instance of this class is created initially by the system.
  43.     --     It has the title, "Pen Subsystem" and resides in the "System Setup"
  44.     --     folder.
  45.     -- 
  46.  
  47.  
  48. parent class: WPAbstract;
  49.  
  50.  
  51. release order:
  52.     penAddPenFeedback2Page, penAddPenTimeouts1Page, 
  53.     penAddObjectEventPage, penAddObjectEventPage2, 
  54.     penInvokeGestureHelp, penAddTrainingPage, 
  55.     penAddHWPadPage;
  56.  
  57. methods:
  58.  
  59.  
  60.     ULONG    penAddHWPadPage(HWND hwndNotebook);
  61.  
  62.     -- 
  63.     --  METHOD: penAddHWPadPage                         ( ) PRIVATE
  64.     --                                                  (X) PUBLIC
  65.     --  PURPOSE:
  66.     --    Add the handwriting page
  67.     -- 
  68.     --  HISTORY: 6-15-94 - MikeD blew a build, then fixed it
  69.  
  70.     ULONG    penAddPenFeedback2Page(HWND hwndNotebook);
  71.  
  72.     -- 
  73.     --  METHOD: penAddPenFeedback2Page                         ( ) PRIVATE
  74.     --                                                         (X) PUBLIC
  75.     --  PURPOSE:
  76.     --    Add the the configuration page to the pen subsystem settings notebook
  77.     --    that allows the user to set the pause beep frequency.
  78.     -- 
  79.  
  80.     ULONG    penAddPenTimeouts1Page(HWND hwndNotebook);
  81.  
  82.     -- 
  83.     --  METHOD: penAddPenTimeouts1Page                         ( ) PRIVATE
  84.     --                                                         (X) PUBLIC
  85.     --  PURPOSE:
  86.     --    Add the the configuration page to the pen subsystem settings notebook
  87.     --    that allows the user to set the set various stroke timeouts that are
  88.     --    used by the input subsystem.
  89.     -- 
  90.  
  91.     ULONG    penInvokeGestureHelp(HOBJECT hObject), name lookup;
  92.  
  93.     -- 
  94.     --  METHOD: penInvokeGestureHelp                           ( ) PRIVATE
  95.     --                                                         (X) PUBLIC
  96.     --  PURPOSE:
  97.     --    Opens settings notebook of particular object to the Gesture
  98.     --    page for the given session.
  99.     -- 
  100.  
  101.     ULONG    penAddObjectEventPage(HWND hwndNotebook,
  102.         PVOID pMappingInfo);
  103.  
  104.     -- 
  105.     --  METHOD: penAddObjectEventPage                          ( ) PRIVATE
  106.     --                                                         (X) PUBLIC
  107.     --  PURPOSE:
  108.     --    Add the recognition event page to Pen SubSystem Folder.
  109.     -- 
  110.  
  111.     ULONG    penAddObjectEventPage2(HWND hwndNotebook,
  112.         PVOID pMappingInfo);
  113.  
  114.     -- 
  115.     --  METHOD: penAddObjectEventPage                          ( ) PRIVATE
  116.     --                                                         (X) PUBLIC
  117.     --  PURPOSE:
  118.     --    Add the recognition event page to Pen SubSystem Folder.
  119.     -- 
  120.  
  121.     ULONG    penAddTrainingPage(HWND hwndNotebook);
  122.  
  123.     -- 
  124.     --  METHOD: penAddTrainingPage                             ( ) PRIVATE
  125.     --                                                         (X) PUBLIC
  126.     --  PURPOSE:
  127.     --    Add the the Training page to the pen subsystem settings notebook
  128.     --    that allows the user to create and modify handwritting styles.
  129.     -- 
  130.  
  131.     override wpAddSettingsPages;
  132.  
  133.     -- 
  134.     --  METHOD: wpAddSettingsPages                             ( ) PRIVATE
  135.     --                                                         (X) PUBLIC
  136.     --  PURPOSE:
  137.     --    Add our own settings page to let the user change the backlight
  138.     --    timeout.
  139.     -- 
  140.  
  141.     override wpAddObjectWindowPage;
  142.  
  143.     -- 
  144.     --  REMARKS:
  145.     --    This object doesn't get a window page because it doesn't
  146.     --    have any open views other than settings
  147.     -- 
  148.  
  149.     override wpFilterPopupMenu;
  150.  
  151.     -- 
  152.     --  REMARKS:
  153.     --    Filter out any options from the context that don't apply.
  154.     -- 
  155.     -- 
  156.  
  157.     override wpclsQueryTitle, class;
  158.  
  159.     -- 
  160.     --  REMARKS:
  161.     --    Returns the LCD Display Title.
  162.     -- 
  163.  
  164.     override wpclsQueryDefaultHelp, class;
  165.  
  166.     -- 
  167.     --  REMARKS:
  168.     -- 
  169.  
  170.     override wpclsQueryDefaultView, class;
  171.  
  172.     -- 
  173.     --  REMARKS:
  174.     --    Returns the default view for a new instance of this object.
  175.     -- 
  176.  
  177.     override wpclsQueryStyle, class;
  178.  
  179.     -- 
  180.     --  REMARKS:
  181.     --   give styles to prevent deletion, copying and templates
  182.     -- 
  183.     -- 
  184.  
  185.     override wpclsQueryIconData, class;
  186.  
  187.     -- 
  188.     --  REMARKS:
  189.     --    Return the class icon
  190.     -- 
  191.  
  192.