home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: wpicon.h.
- * Generated using:
- * SOM Precompiler spc: 1.22
- * SOM Emitter emith: 1.11
- */
-
- /*
- *
- * Module Header
- *
- * Module Name: WPICON
- *
- * OS/2 Presentation Manager Workplace class definitions
- *
- * Copyright (c) International Business Machines Corporation 1991, 1992
- *
- */
-
-
- #ifndef wpicon_h
- #define wpicon_h
-
-
- #include <som.h>
-
- /*
- * Define the class name as an object type
- */
- #ifndef WPIcon
- #define WPIcon SOMAny
- #endif
- #include "wpdataf.h"
-
- #define WPIcon_MajorVersion 1
- #define WPIcon_MinorVersion 2
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define WPIconNewClass wpicoc
- #pragma linkage(wpicoc, system)
- #define WPIconClassData wpicod
- #define WPIconCClassData wpicox
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define WPIcon_classObj WPIconClassData.classObject
- #define _WPIcon WPIcon_classObj
-
- /*
- * New and Renew macros for WPIcon
- */
- #define _WPIconNew() (_somNew(WPIconClassData.classObject))
- #define WPIconNew() \
- ( WPIconClassData.classObject \
- ? _WPIconNew() \
- : ( WPIconNewClass(WPIcon_MajorVersion, WPIcon_MinorVersion), _WPIconNew() ) )
- #define WPIconRenew(buf) \
- ( _somRenew(WPIconClassData.classObject, buf) )
-
- /*
- * Override method: wpSetup
- */
- #define WPIcon_wpSetup(somSelf,pszSetupString) \
- WPObject_wpSetup(somSelf,pszSetupString)
-
- /*
- * Declare the class creation procedure
- */
- SOMEXTERN SOMAny * SOMLINK WPIconNewClass(integer4 scemajorVersion,
- integer4 sceminorVersion);
- #pragma linkage(WPIconNewClass, system)
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct WPIconClassDataStructure {
- SOMAny *classObject;
- } WPIconClassData;
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct WPIconCClassDataStructure {
- somMethodTab *parentMtab;
- somDToken instanceDataToken;
- } WPIconCClassData;
-
- #endif /* wpicon_h */
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: wpicon.h.
- * Generated using:
- * SOM Precompiler spc: 1.22
- * SOM Emitter emith: 1.11
- */
-
- #ifndef wpicon_mh
- #define wpicon_mh
-
-
- /*
- * Define the class name as an object type
- */
- #ifndef M_WPIcon
- #define M_WPIcon SOMAny
- #endif
-
- #define M_WPIcon_MajorVersion 1
- #define M_WPIcon_MinorVersion 2
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define M_WPIconNewClass wpicoc
- #pragma linkage(wpicoc, system)
- #define M_WPIconClassData wpicod
- #define M_WPIconCClassData wpicox
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define M_WPIcon_classObj M_WPIconClassData.classObject
- #define _M_WPIcon M_WPIcon_classObj
-
- /*
- * New and Renew macros for M_WPIcon
- */
- #define _M_WPIconNew() (_somNew(M_WPIconClassData.classObject))
- #define M_WPIconNew() \
- ( M_WPIconClassData.classObject \
- ? _M_WPIconNew() \
- : ( M_WPIconNewClass(M_WPIcon_MajorVersion, M_WPIcon_MinorVersion), _M_WPIconNew() ) )
- #define M_WPIconRenew(buf) \
- ( _somRenew(M_WPIconClassData.classObject, buf) )
-
- /*
- * Override method: wpclsQueryInstanceFilter
- */
- #define M_WPIcon_wpclsQueryInstanceFilter(somSelf) \
- M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)
-
- /*
- * Override method: wpclsQueryInstanceType
- */
- #define M_WPIcon_wpclsQueryInstanceType(somSelf) \
- M_WPFileSystem_wpclsQueryInstanceType(somSelf)
-
- /*
- * Override method: wpclsInitData
- */
- #define M_WPIcon_wpclsInitData(somSelf) \
- M_WPObject_wpclsInitData(somSelf)
-
- /*
- * Override method: wpclsQueryTitle
- */
- #define M_WPIcon_wpclsQueryTitle(somSelf) \
- M_WPObject_wpclsQueryTitle(somSelf)
-
- /*
- * Override method: wpclsQueryDefaultHelp
- */
- #define M_WPIcon_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
- M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
-
- /*
- * Declare the class creation procedure
- */
- SOMEXTERN SOMAny * SOMLINK M_WPIconNewClass(integer4 scemajorVersion,
- integer4 sceminorVersion);
- #pragma linkage(M_WPIconNewClass, system)
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct M_WPIconClassDataStructure {
- SOMAny *classObject;
- } M_WPIconClassData;
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct M_WPIconCClassDataStructure {
- somMethodTab *parentMtab;
- somDToken instanceDataToken;
- } M_WPIconCClassData;
-
- #endif /* wpicon_h */
-