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

  1.  
  2. //# This file was generated by the SOM Compiler.
  3. //# FileName: oem.id2.
  4. //# Generated using:
  5. //#     SOM Precompiler somopc: 2.24
  6. //#     SOM Emitter emitidl: 2.38
  7.  
  8. //
  9. //
  10. //   File Name   : OEM.CSC
  11. //
  12. //   Description : Sample sublcass
  13. //
  14. //   Function:  This is a sample of a subclass of PenLocatorPen
  15. //
  16. //   Copyright (C) 1993 IBM Corporation
  17. //
  18. //       DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  19. //       sample code created by IBM Corporation. This sample code is not
  20. //       part of any standard or IBM product and is provided to you solely
  21. //       for  the purpose of assisting you in the development of your
  22. //       applications.  The code is provided "AS IS", without
  23. //       warranty of any kind.  IBM shall not be liable for any damages
  24. //       arising out of your use of the sample code, even if they have been
  25. //       advised of the possibility of such damages.
  26. //
  27.  
  28. #ifndef oem_idl
  29. #define oem_idl
  30.  
  31. #include "wplocpen.idl"
  32. #include <somcls.idl>
  33.  
  34. interface M_oem;
  35.  
  36. interface oem : PenLocatorPen
  37. //# Comment for parent PenLocatorPen:
  38.  
  39. //---Symbol parentComment is undefined---
  40. {
  41.  
  42.   //
  43.   //     new instance methods
  44.  
  45.   ULONG AddUserTypePage(in HWND hwndOem);
  46.  
  47.   //
  48.   //     overriden instance methods
  49.  
  50.  
  51.  
  52. #ifdef __SOMIDL__
  53.   implementation {
  54.  
  55.     releaseorder: AddUserTypePage;
  56.  
  57.     //# Class Modifiers
  58.     local;
  59.     majorversion = 1;
  60.     minorversion = 2;
  61.     filestem = oem;
  62.     functionprefix = oemm_;
  63.     metaclass = M_oem;
  64.     callstyle = oidl;
  65.  
  66.     passthru C_h_before =  ""
  67. "  #define INCL_DOS"
  68. "  #define INCL_DOSERRORS"
  69. "  #define INCL_PM"
  70. "  #define INCL_WINWORKPLACE"
  71. "  #include <os2.h>"
  72. "  #include <io.h>"
  73. "  #include <stdio.h>"
  74. "  #include <string.h>"
  75. ""
  76. "  #define ID_OBJECTICON  200"
  77. "  #define OEM_DIALOG     201"
  78. ""
  79. "  MRESULT EXPENTRY OemDialogProc(HWND hwndDlg, ULONG msg, MPARAM mp1, MPARAM mp2);"
  80. "  VOID EXPENTRY OemSetup( HWND, PSZ, PSZ, PSZ, HWND, PSZ );"
  81. "";
  82.  
  83.  
  84.     //# Method Modifiers
  85.  
  86.     //
  87.     //     new instance methods
  88.  
  89.     wpAddSettingsPages: override;
  90.  
  91.     //
  92.     //  new class methods
  93.     //
  94.     //  none
  95.     //
  96.     //     overriden class methods
  97.  
  98.   };
  99. #endif /* __SOMIDL__ */
  100. };
  101.  
  102. interface M_oem
  103. //# Comment for parent PenLocatorPen:
  104.  
  105. {
  106.  
  107. #ifdef __SOMIDL__
  108.   implementation {
  109.  
  110.     //# Class Modifiers
  111.     local;
  112.     functionprefix = oemM_;
  113.     majorversion = 1;
  114.     minorversion = 2;
  115.     filestem = oem;
  116.     callstyle = oidl;
  117.  
  118.     //# Method Modifiers
  119.  
  120.     //
  121.     //     new instance methods
  122.  
  123.     wpclsQueryTitle: override;
  124.  
  125.     //
  126.     //     new instance methods
  127.  
  128.     wpclsQueryIconData: override;
  129.  
  130.   };
  131. #endif /* __SOMIDL__ */
  132. };
  133.  
  134. #endif  /* oem_idl */
  135.