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

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: oem.sc.
  4. # Generated using:
  5. #     SOM Precompiler spc: 1.22
  6. #     SOM Emitter emitcsc: 1.10
  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_, major version = 1, 
  34.     minor version = 2, file stem = oem;
  35.  
  36.  
  37. parent class: PenLocatorPen;
  38.  
  39.  
  40. release order:
  41.     AddUserTypePage;
  42.  
  43.  
  44. passthru: C.h;
  45.  
  46.   #define INCL_DOS
  47.   #define INCL_DOSERRORS
  48.   #define INCL_PM
  49.   #define INCL_WINWORKPLACE
  50.   #include <os2.h>
  51.   #include <io.h>
  52.   #include <stdio.h>
  53.   #include <string.h>
  54.  
  55.   #define ID_OBJECTICON  200
  56.   #define OEM_DIALOG     201
  57.  
  58.   MRESULT EXPENTRY OemDialogProc(HWND hwndDlg, ULONG msg, MPARAM mp1, MPARAM mp2);
  59.   VOID EXPENTRY OemSetup( HWND, PSZ, PSZ, PSZ, HWND, PSZ );
  60.  
  61. endpassthru;
  62. methods:
  63.  
  64.  
  65.     -- 
  66.     --      new instance methods
  67.  
  68.     ULONG    AddUserTypePage(HWND hwndOem);
  69.  
  70.     -- 
  71.     --      overriden instance methods
  72.  
  73.     override wpAddSettingsPages;
  74.  
  75.     -- 
  76.     --   new class methods
  77.     -- 
  78.     --   none
  79.     -- 
  80.     --      overriden class methods
  81.  
  82.     override wpclsQueryTitle, class;
  83.  
  84.     -- From WPObject
  85.  
  86.     override wpclsQueryIconData, class;
  87.  
  88.     -- From WPObject
  89.  
  90.