home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK2.DSK
/
OEM.IDL
< prev
next >
Wrap
Text File
|
1994-09-28
|
3KB
|
135 lines
//# This file was generated by the SOM Compiler.
//# FileName: oem.id2.
//# Generated using:
//# SOM Precompiler somopc: 2.24
//# SOM Emitter emitidl: 2.38
//
//
// File Name : OEM.CSC
//
// Description : Sample sublcass
//
// Function: This is a sample of a subclass of PenLocatorPen
//
// Copyright (C) 1993 IBM Corporation
//
// DISCLAIMER OF WARRANTIES. The following [enclosed] code is
// sample code created by IBM Corporation. This sample code is not
// part of any standard or IBM product and is provided to you solely
// for the purpose of assisting you in the development of your
// applications. The code is provided "AS IS", without
// warranty of any kind. IBM shall not be liable for any damages
// arising out of your use of the sample code, even if they have been
// advised of the possibility of such damages.
//
#ifndef oem_idl
#define oem_idl
#include "wplocpen.idl"
#include <somcls.idl>
interface M_oem;
interface oem : PenLocatorPen
//# Comment for parent PenLocatorPen:
//---Symbol parentComment is undefined---
{
//
// new instance methods
ULONG AddUserTypePage(in HWND hwndOem);
//
// overriden instance methods
#ifdef __SOMIDL__
implementation {
releaseorder: AddUserTypePage;
//# Class Modifiers
local;
majorversion = 1;
minorversion = 2;
filestem = oem;
functionprefix = oemm_;
metaclass = M_oem;
callstyle = oidl;
passthru C_h_before = ""
" #define INCL_DOS"
" #define INCL_DOSERRORS"
" #define INCL_PM"
" #define INCL_WINWORKPLACE"
" #include <os2.h>"
" #include <io.h>"
" #include <stdio.h>"
" #include <string.h>"
""
" #define ID_OBJECTICON 200"
" #define OEM_DIALOG 201"
""
" MRESULT EXPENTRY OemDialogProc(HWND hwndDlg, ULONG msg, MPARAM mp1, MPARAM mp2);"
" VOID EXPENTRY OemSetup( HWND, PSZ, PSZ, PSZ, HWND, PSZ );"
"";
//# Method Modifiers
//
// new instance methods
wpAddSettingsPages: override;
//
// new class methods
//
// none
//
// overriden class methods
};
#endif /* __SOMIDL__ */
};
interface M_oem
//# Comment for parent PenLocatorPen:
{
#ifdef __SOMIDL__
implementation {
//# Class Modifiers
local;
functionprefix = oemM_;
majorversion = 1;
minorversion = 2;
filestem = oem;
callstyle = oidl;
//# Method Modifiers
//
// new instance methods
wpclsQueryTitle: override;
//
// new instance methods
wpclsQueryIconData: override;
};
#endif /* __SOMIDL__ */
};
#endif /* oem_idl */