home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: wpstart.h.
- * Generated using:
- * SOM Precompiler spc: 1.22
- * SOM Emitter emith: 1.11
- */
-
- /*
- *
- * Module Header
- *
- * Module Name: WPSTART
- *
- * OS/2 Presentation Manager Workplace class definitions
- *
- * Copyright (c) International Business Machines Corporation 1991, 1992
- *
- */
-
-
- #ifndef wpstart_h
- #define wpstart_h
-
-
- #include <som.h>
-
- /*
- * Define the class name as an object type
- */
- #ifndef WPStartup
- #define WPStartup SOMAny
- #endif
- #include "wpfolder.h"
-
- #define WPStartup_MajorVersion 1
- #define WPStartup_MinorVersion 2
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define WPStartupNewClass WPStartc
- #pragma linkage(WPStartc, system)
- #define WPStartupClassData WPStartd
- #define WPStartupCClassData WPStartx
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define WPStartup_classObj WPStartupClassData.classObject
- #define _WPStartup WPStartup_classObj
-
- /*
- * New and Renew macros for WPStartup
- */
- #define _WPStartupNew() (_somNew(WPStartupClassData.classObject))
- #define WPStartupNew() \
- ( WPStartupClassData.classObject \
- ? _WPStartupNew() \
- : ( WPStartupNewClass(WPStartup_MajorVersion, WPStartup_MinorVersion), _WPStartupNew() ) )
- #define WPStartupRenew(buf) \
- ( _somRenew(WPStartupClassData.classObject, buf) )
-
- /*
- * Override method: wpSetup
- */
- #define WPStartup_wpSetup(somSelf,pszSetupString) \
- WPObject_wpSetup(somSelf,pszSetupString)
-
- /*
- * Override method: wpRestoreState
- */
- #define WPStartup_wpRestoreState(somSelf,ulReserved) \
- WPObject_wpRestoreState(somSelf,ulReserved)
-
- /*
- * Override method: wpFree
- */
- #define WPStartup_wpFree(somSelf) \
- WPObject_wpFree(somSelf)
-
- /*
- * Declare the class creation procedure
- */
- SOMEXTERN SOMAny * SOMLINK WPStartupNewClass(integer4 scemajorVersion,
- integer4 sceminorVersion);
- #pragma linkage(WPStartupNewClass, system)
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct WPStartupClassDataStructure {
- SOMAny *classObject;
- } WPStartupClassData;
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct WPStartupCClassDataStructure {
- somMethodTab *parentMtab;
- somDToken instanceDataToken;
- } WPStartupCClassData;
-
- #endif /* wpstart_h */
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: wpstart.h.
- * Generated using:
- * SOM Precompiler spc: 1.22
- * SOM Emitter emith: 1.11
- */
-
- #ifndef wpstart_mh
- #define wpstart_mh
-
-
- /*
- * Define the class name as an object type
- */
- #ifndef M_WPStartup
- #define M_WPStartup SOMAny
- #endif
-
- #define M_WPStartup_MajorVersion 1
- #define M_WPStartup_MinorVersion 2
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define M_WPStartupNewClass WPStartc
- #pragma linkage(WPStartc, system)
- #define M_WPStartupClassData WPStartd
- #define M_WPStartupCClassData WPStartx
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define M_WPStartup_classObj M_WPStartupClassData.classObject
- #define _M_WPStartup M_WPStartup_classObj
-
- /*
- * New and Renew macros for M_WPStartup
- */
- #define _M_WPStartupNew() (_somNew(M_WPStartupClassData.classObject))
- #define M_WPStartupNew() \
- ( M_WPStartupClassData.classObject \
- ? _M_WPStartupNew() \
- : ( M_WPStartupNewClass(M_WPStartup_MajorVersion, M_WPStartup_MinorVersion), _M_WPStartupNew() ) )
- #define M_WPStartupRenew(buf) \
- ( _somRenew(M_WPStartupClassData.classObject, buf) )
-
- /*
- * Override method: wpclsQueryDefaultHelp
- */
- #define M_WPStartup_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
- M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
-
- /*
- * Override method: wpclsQueryTitle
- */
- #define M_WPStartup_wpclsQueryTitle(somSelf) \
- M_WPObject_wpclsQueryTitle(somSelf)
-
- /*
- * Override method: wpclsQueryIconData
- */
- #define M_WPStartup_wpclsQueryIconData(somSelf,pIconInfo) \
- M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
-
- /*
- * Override method: wpclsQueryStyle
- */
- #define M_WPStartup_wpclsQueryStyle(somSelf) \
- M_WPObject_wpclsQueryStyle(somSelf)
-
- /*
- * Declare the class creation procedure
- */
- SOMEXTERN SOMAny * SOMLINK M_WPStartupNewClass(integer4 scemajorVersion,
- integer4 sceminorVersion);
- #pragma linkage(M_WPStartupNewClass, system)
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct M_WPStartupClassDataStructure {
- SOMAny *classObject;
- } M_WPStartupClassData;
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct M_WPStartupCClassDataStructure {
- somMethodTab *parentMtab;
- somDToken instanceDataToken;
- } M_WPStartupCClassData;
-
- #endif /* wpstart_h */
-