home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pentlk11.zip / PENOBJ.SC < prev    next >
Text File  |  1994-01-13  |  4KB  |  149 lines

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: penobj.sc.
  4. # Generated using:
  5. #     SOM Precompiler spc: 1.22
  6. #     SOM Emitter emitcsc: 1.10
  7.  
  8. /*
  9.  *  SCC: @(#) 42 12/4/92 16:37:08 1.1 @(#)
  10.  *  Module Header
  11.  * 
  12.  *  Module Name: PENOBJ
  13.  * 
  14.  *  OS/2 Presentation Manager Workplace class definitions
  15.  * 
  16.  *  Copyright (c) International Business Machines Corporation 1992
  17.  * 
  18.  */
  19.  
  20. #include "wpobject.sc"
  21.  
  22. class: PenObject, 
  23.     external stem = Penobj, local, external prefix = pob_, 
  24.     classprefix = pobM_, major version = 1, minor version = 2, 
  25.     file stem = penobj;
  26.  
  27.     -- 
  28.     --  CLASS: PenObject
  29.     -- 
  30.     --  CLASS HIERARCHY:
  31.     --     SOMObject
  32.     --       └── WPObject
  33.     --             └── PenObject
  34.     -- 
  35.     --  DESCRIPTION:
  36.     --     This is the replacement class for the WPObject class.  It provides
  37.     --     the instance data and methods needed to support the OS/2 Pen
  38.     --     extensions.
  39.     -- 
  40.     --     An instance of this class cannot be created as a Workplace object.
  41.     -- 
  42.     --     This class first subclasses the WPObject class and then replaces
  43.     --     it's parent class.
  44.     -- 
  45.  
  46.  
  47. parent class: WPObject;
  48.  
  49.  
  50. release order:
  51.     penAddObjectEventPage, penAddObjectOverridesPage, penInvokeGestureHelp, 
  52.     penNotifyChangeofSystemMappings;
  53.  
  54. methods:
  55.  
  56.  
  57.     ULONG    penInvokeGestureHelp(), name lookup;
  58.  
  59.     -- 
  60.     --  METHOD: penInvokeGestureHelp                           ( ) PRIVATE
  61.     --                                                         (X) PUBLIC
  62.     --  PURPOSE:
  63.     --    Opens settings notebook of particular object to the Gesture
  64.     --    page.
  65.     -- 
  66.  
  67.     ULONG    penAddObjectEventPage(HWND hwndNotebook,
  68.         PVOID pMappingInfo), name lookup;
  69.  
  70.     -- 
  71.     --  METHOD: penAddObjectEventPage                          ( ) PRIVATE
  72.     --                                                         (X) PUBLIC
  73.     --  PURPOSE:
  74.     --    Add the recognition event page to all workplace objects that
  75.     --    are of one of the predefined types.
  76.     -- 
  77.  
  78.     ULONG    penAddObjectOverridesPage(HWND hwndNotebook);
  79.  
  80.     -- 
  81.     --  METHOD: penAddObjectOverridesPage                       (X) PRIVATE
  82.     --                                                         ( ) PUBLIC
  83.     --  PURPOSE:
  84.     --    Add an Overrides page to allow the user to override Pen system
  85.     --    variables.
  86.     -- 
  87.  
  88.     override wpAddSettingsPages;
  89.  
  90.     -- 
  91.     --  METHOD: wpAddSettingsPages                             ( ) PRIVATE
  92.     --                                                         (X) PUBLIC
  93.     --  PURPOSE:
  94.     --    Add our own settings page to give the user access to the recognition
  95.     --    profile editor so that the recognition profile mappings for this
  96.     --    object may be changed.
  97.     -- 
  98.  
  99.     override wpInitData;
  100.  
  101.     -- 
  102.     --  REMARKS:
  103.     --    Initialize the recognition profile name instance data for
  104.     --    this object.
  105.     -- 
  106.  
  107.     override wpUnInitData;
  108.  
  109.     -- 
  110.     --  REMARKS:
  111.     --    Release any resources that get allocated during the wpInitData
  112.     --    processing.
  113.     -- 
  114.  
  115.     override wpCreateAnother;
  116.  
  117.     -- 
  118.     --  REMARKS:
  119.     --    Setup PenObject information on Create another....
  120.     -- 
  121.  
  122.     override wpRestoreState;
  123.  
  124.     -- 
  125.     --  REMARKS:
  126.     --    Retreive the recognition profile name for this object instance
  127.     --    and set the instance variable for this parameter.
  128.     -- 
  129.  
  130.     override wpSaveState;
  131.  
  132.     -- 
  133.     --  REMARKS:
  134.     --    Save the instance variable value.
  135.     -- 
  136.  
  137.     override wpFree;
  138.  
  139.     -- 
  140.     --  REMARKS:
  141.     --    Need to free any pen specific information associated with this
  142.     --    Program or ProgramFile Object.
  143.     -- 
  144.  
  145.     override wpclsQueryIcon, class;
  146.  
  147.     -- From WPObject
  148.  
  149.