home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
WPSDEM.ZIP
/
FOOT
/
FOOT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-14
|
2KB
|
86 lines
/*
* This file was generated by the SOM Compiler.
* FileName: FOOT.h.
* Generated using:
* SOM Precompiler spc: 1.22
* SOM Emitter emith: 1.11
*/
#ifndef FOOT_h
#define FOOT_h
#include <som.h>
/*
* Define the class name as an object type
*/
#ifndef OneFoot
#define OneFoot SOMAny
#endif
#include "wpabs.h"
#define OneFoot_MajorVersion 1
#define OneFoot_MinorVersion 1
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define OneFootNewClass Footc
#pragma linkage(Footc, system)
#define OneFootClassData Footd
#define OneFootCClassData Footx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define OneFoot_classObj OneFootClassData.classObject
#define _OneFoot OneFoot_classObj
/*
* New and Renew macros for OneFoot
*/
#define _OneFootNew() (_somNew(OneFootClassData.classObject))
#define OneFootNew() \
( OneFootClassData.classObject \
? _OneFootNew() \
: ( OneFootNewClass(OneFoot_MajorVersion, OneFoot_MinorVersion), _OneFootNew() ) )
#define OneFootRenew(buf) \
( _somRenew(OneFootClassData.classObject, buf) )
/*
* Override method: wpDrop
*/
#define OneFoot_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)
/*
* Override method: wpOpen
*/
#define OneFoot_wpOpen(somSelf,hwndCnr,ulView,param) \
WPObject_wpOpen(somSelf,hwndCnr,ulView,param)
/*
* Declare the class creation procedure
*/
SOMEXTERN SOMAny * SOMLINK OneFootNewClass(integer4 scemajorVersion,
integer4 sceminorVersion);
#pragma linkage(OneFootNewClass, system)
/*
* Declare the class data structure
*/
SOMEXTERN struct OneFootClassDataStructure {
SOMAny *classObject;
} OneFootClassData;
/*
* Declare the C specific class data structure
*/
SOMEXTERN struct OneFootCClassDataStructure {
somMethodTab *parentMtab;
somDToken instanceDataToken;
} OneFootCClassData;
#endif /* FOOT_h */