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

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: oem.sc.
  4. # Generated using:
  5. #     SOM Precompiler somopc: 2.7
  6. #     SOM Emitter emitsc: 2.22
  7.  
  8. /*
  9.  * 
  10.  * 
  11.  *   File Name   : OEM.CSC
  12.  * 
  13.  *   Description : Sample sublcass
  14.  * 
  15.  *   Function:  This is a sample of a subclass of PenLocatorPen
  16.  * 
  17.  *   Copyright (C) 1993 IBM Corporation
  18.  * 
  19.  *       DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  20.  *       sample code created by IBM Corporation. This sample code is not
  21.  *       part of any standard or IBM product and is provided to you solely
  22.  *       for  the purpose of assisting you in the development of your
  23.  *       applications.  The code is provided "AS IS", without
  24.  *       warranty of any kind.  IBM shall not be liable for any damages
  25.  *       arising out of your use of the sample code, even if they have been
  26.  *       advised of the possibility of such damages.
  27.  * 
  28.  */
  29.  
  30. #include <wplocpen.sc>
  31.  
  32. class: oem, 
  33.     local, classprefix = oemM_, 
  34.     major version = 1, minor version = 2, 
  35.     file stem = oem;
  36.  
  37.  
  38. parent class: PenLocatorPen;
  39.  
  40.  
  41. release order:
  42.     AddUserTypePage;
  43.  
  44.  
  45. passthru: C.h;
  46.  
  47.   #define INCL_DOS
  48.   #define INCL_DOSERRORS
  49.   #define INCL_PM
  50.   #define INCL_WINWORKPLACE
  51.   #include <os2.h>
  52.   #include <io.h>
  53.   #include <stdio.h>
  54.   #include <string.h>
  55.  
  56.   #define ID_OBJECTICON  200
  57.   #define OEM_DIALOG     201
  58.  
  59.   MRESULT EXPENTRY OemDialogProc(HWND hwndDlg, ULONG msg, MPARAM mp1, MPARAM mp2);
  60.   VOID EXPENTRY OemSetup( HWND, PSZ, PSZ, PSZ, HWND, PSZ );
  61.  
  62. endpassthru;
  63. methods:
  64.  
  65.  
  66.     -- 
  67.     --      new instance methods
  68.  
  69.     ULONG    AddUserTypePage(HWND hwndOem);
  70.  
  71.     -- 
  72.     --      overriden instance methods
  73.  
  74.     override wpAddSettingsPages;
  75.  
  76.     -- 
  77.     --   new class methods
  78.     -- 
  79.     --   none
  80.     -- 
  81.     --      overriden class methods
  82.  
  83.     override wpclsQueryTitle, class;
  84.  
  85.     -- From WPObject
  86.  
  87.     override wpclsQueryIconData, class;
  88.  
  89.     -- From WPObject
  90.  
  91.