
/*
 * This file was generated by the SOM Compiler.
 * FileName: E:\cwpsh\rel\os2c\include\base\os2\wppower.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.14
 *     SOM Emitter emith: 2.43
 */

/*
 *   Module Header
 * 
 *   Module Name: WPPOWER
 * 
 *   OS/2 Presentation Manager Workplace class definitions
 * 
 *   Copyright (c) International Business Machines Corporation 1991, 1992
 * 
 */


#ifndef SOM_WPPower_h
#define SOM_WPPower_h


/*
 * Passthru lines: File: "C.h", "before"
 */
#define OPEN_STATUS  131
    #define OPEN_BATTERY 132

    #define APMLEVEL_NONE    0
    #define APMLEVEL_UNKNOWN 1
    #define APMLEVEL_10      2
    #define APMLEVEL_11      3
    #define APMLEVEL_12      4



#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef WPPower
#define WPPower SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef WPFolder
    #define WPFolder SOMObject
#endif /* WPFolder */
#ifndef M_WPObject
    #define M_WPObject SOMObject
#endif /* M_WPObject */
#ifndef WPObject
    #define WPObject SOMObject
#endif /* WPObject */
#ifndef WPImageFile
    #define WPImageFile SOMObject
#endif /* WPImageFile */
#ifndef M_WPAbstract
    #define M_WPAbstract SOMObject
#endif /* M_WPAbstract */
#ifndef M_WPPower
    #define M_WPPower SOMObject
#endif /* M_WPPower */

/*
 * End of bindings for IDL types.
 */

#define WPPower_MajorVersion 1
#define WPPower_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPPowerNewClass WPPowerc
#pragma linkage(WPPowerc, system)
#define WPPowerClassData WPPowerd
#define WPPowerCClassData WPPowerx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wppower.h>
/*--------------Migration------------*/
#define WPPower_classObj WPPowerClassData.classObject
#define _WPPower WPPower_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK WPPowerNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(WPPowerNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPPowerClassDataStructure {
	SOMClass *classObject;
	somMToken wpChangePowerState;
	somMToken wpSetPowerManagement;
	somMToken wpQueryPowerManagement;
	somMToken wpSetPowerConfirmation;
	somMToken wpQueryPowerConfirmation;
	somMToken wpAddPowerPage;
	somMToken wpAddPowerViewPage;
	somMToken wpSetAutoRefresh;
	somMToken wpQueryAutoRefresh;
	somMToken wpQueryRefreshRate;
	somMToken wpSetRefreshRate;
	somMToken wpPowerPrivate1;
	somMToken wpPowerPrivate2;
	somMToken wpQueryDefStatusView;
	somMToken wpSetDefStatusView;
	somMToken wpAddPowerResumePage;
	somMToken wpPowerPrivate3;
	somMToken wpQueryAPMLevel;
	somMToken wpQueryBIOSPowerManagementSupport;
	somMToken wpSetBIOSPowerManagementSupport;
	somMToken wpQueryOS2PowerManagementSupport;
	somMToken wpSetOS2PowerManagementSupport;
	somMToken wpQueryTimerBasedRequests;
	somMToken wpSetTimerBasedRequests;
	somMToken wpQueryResumeOnRing;
	somMToken wpSetResumeOnRing;
	somMToken wpQueryResumeOnTimer;
	somMToken wpSetResumeOnTimer;
	somMToken wpQueryCapabilities;
	somMToken wpPowerOff;
	somMToken wpSuspend;
	somMToken wpRefreshNotebookPages;
} SOMDLINK WPPowerClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct WPPowerCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK WPPowerCClassData;

/*
 * New and Renew macros for WPPower
 */
#define WPPowerNew() \
   ( _WPPower ? \
	_somNew(_WPPower) \
	: ( WPPowerNewClass(\
		WPPower_MajorVersion, \
		WPPower_MinorVersion),\
	   _somNew(_WPPower)))
#define WPPowerRenew(buf) \
   ( _WPPower ? \
	_somRenew(_WPPower, buf) \
	: ( WPPowerNewClass(\
		WPPower_MajorVersion, \
		WPPower_MinorVersion),\
	   _somRenew(_WPPower, buf)))

/*
 * Override method: wpAddObjectWindowPage
 */
#define WPPower_wpAddObjectWindowPage(somSelf,hwndNotebook) \
	WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)

/*
 * Override method: wpAddSettingsPages
 */
#define WPPower_wpAddSettingsPages(somSelf,hwndNotebook) \
	WPObject_wpAddSettingsPages(somSelf,hwndNotebook)

/*
 * Override method: wpFilterMenu
 */
#define WPPower_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved) \
	WPObject_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved)

/*
 * Override method: wpInitData
 */
#define WPPower_wpInitData(somSelf) \
	WPObject_wpInitData(somSelf)

/*
 * Override method: wpMenuItemHelpSelected
 */
#define WPPower_wpMenuItemHelpSelected(somSelf,MenuId) \
	WPObject_wpMenuItemHelpSelected(somSelf,MenuId)

/*
 * Override method: wpMenuItemSelected
 */
#define WPPower_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
	WPObject_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId)

/*
 * Override method: wpModifyMenu
 */
#define WPPower_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved) \
	WPObject_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved)

/*
 * Override method: wpObjectReady
 */
#define WPPower_wpObjectReady(somSelf,ulCode,refObject) \
	WPObject_wpObjectReady(somSelf,ulCode,refObject)

/*
 * Override method: wpOpen
 */
#define WPPower_wpOpen(somSelf,hwndCnr,ulView,param) \
	WPObject_wpOpen(somSelf,hwndCnr,ulView,param)

/*
 * Override method: wpRestoreState
 */
#define WPPower_wpRestoreState(somSelf,ulReserved) \
	WPObject_wpRestoreState(somSelf,ulReserved)

/*
 * Override method: wpSaveState
 */
#define WPPower_wpSaveState(somSelf) \
	WPObject_wpSaveState(somSelf)

/*
 * Override method: wpSetup
 */
#define WPPower_wpSetup(somSelf,pszSetupString) \
	WPObject_wpSetup(somSelf,pszSetupString)

/*
 * Override method: wpUnInitData
 */
#define WPPower_wpUnInitData(somSelf) \
	WPObject_wpUnInitData(somSelf)

/*
 * Override method: somDefaultInit
 */
#define WPPower_somDefaultInit(somSelf,ctrl) \
	SOMObject_somDefaultInit(somSelf,ctrl)

/*
 * Override method: somDestruct
 */
#define WPPower_somDestruct(somSelf,doFree,ctrl) \
	SOMObject_somDestruct(somSelf,doFree,ctrl)

/*
 * New Method: wpAddPowerPage
 */
typedef ULONG   SOMLINK somTP_WPPower_wpAddPowerPage(WPPower *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPPower_wpAddPowerPage, system)
typedef somTP_WPPower_wpAddPowerPage *somTD_WPPower_wpAddPowerPage;
#define somMD_WPPower_wpAddPowerPage "::WPPower::wpAddPowerPage"
#define WPPower_wpAddPowerPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPPower, wpAddPowerPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddPowerPage
    #if (defined(_wpAddPowerPage) || defined(__wpAddPowerPage))
        #undef _wpAddPowerPage
        #undef __wpAddPowerPage
        #define SOMGD_wpAddPowerPage 1
    #else
        #define _wpAddPowerPage WPPower_wpAddPowerPage
    #endif /* _wpAddPowerPage */
#endif /* SOMGD_wpAddPowerPage */

/*
 * New Method: wpAddPowerResumePage
 */
typedef ULONG   SOMLINK somTP_WPPower_wpAddPowerResumePage(WPPower *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPPower_wpAddPowerResumePage, system)
typedef somTP_WPPower_wpAddPowerResumePage *somTD_WPPower_wpAddPowerResumePage;
#define somMD_WPPower_wpAddPowerResumePage "::WPPower::wpAddPowerResumePage"
#define WPPower_wpAddPowerResumePage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPPower, wpAddPowerResumePage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddPowerResumePage
    #if (defined(_wpAddPowerResumePage) || defined(__wpAddPowerResumePage))
        #undef _wpAddPowerResumePage
        #undef __wpAddPowerResumePage
        #define SOMGD_wpAddPowerResumePage 1
    #else
        #define _wpAddPowerResumePage WPPower_wpAddPowerResumePage
    #endif /* _wpAddPowerResumePage */
#endif /* SOMGD_wpAddPowerResumePage */

/*
 * New Method: wpAddPowerViewPage
 */
typedef ULONG   SOMLINK somTP_WPPower_wpAddPowerViewPage(WPPower *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPPower_wpAddPowerViewPage, system)
typedef somTP_WPPower_wpAddPowerViewPage *somTD_WPPower_wpAddPowerViewPage;
#define somMD_WPPower_wpAddPowerViewPage "::WPPower::wpAddPowerViewPage"
#define WPPower_wpAddPowerViewPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPPower, wpAddPowerViewPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddPowerViewPage
    #if (defined(_wpAddPowerViewPage) || defined(__wpAddPowerViewPage))
        #undef _wpAddPowerViewPage
        #undef __wpAddPowerViewPage
        #define SOMGD_wpAddPowerViewPage 1
    #else
        #define _wpAddPowerViewPage WPPower_wpAddPowerViewPage
    #endif /* _wpAddPowerViewPage */
#endif /* SOMGD_wpAddPowerViewPage */

/*
 * New Method: wpChangePowerState
 */
typedef BOOL   SOMLINK somTP_WPPower_wpChangePowerState(WPPower *somSelf, 
		ULONG ulParm1, 
		ULONG ulParm2);
#pragma linkage(somTP_WPPower_wpChangePowerState, system)
typedef somTP_WPPower_wpChangePowerState *somTD_WPPower_wpChangePowerState;
#define somMD_WPPower_wpChangePowerState "::WPPower::wpChangePowerState"
#define WPPower_wpChangePowerState(somSelf,ulParm1,ulParm2) \
    (SOM_Resolve(somSelf, WPPower, wpChangePowerState) \
	(somSelf,ulParm1,ulParm2))
#ifndef SOMGD_wpChangePowerState
    #if (defined(_wpChangePowerState) || defined(__wpChangePowerState))
        #undef _wpChangePowerState
        #undef __wpChangePowerState
        #define SOMGD_wpChangePowerState 1
    #else
        #define _wpChangePowerState WPPower_wpChangePowerState
    #endif /* _wpChangePowerState */
#endif /* SOMGD_wpChangePowerState */

/*
 * New Method: wpPowerOff
 */
typedef BOOL   SOMLINK somTP_WPPower_wpPowerOff(WPPower *somSelf, 
		BOOL bConfirm);
#pragma linkage(somTP_WPPower_wpPowerOff, system)
typedef somTP_WPPower_wpPowerOff *somTD_WPPower_wpPowerOff;
#define somMD_WPPower_wpPowerOff "::WPPower::wpPowerOff"
#define WPPower_wpPowerOff(somSelf,bConfirm) \
    (SOM_Resolve(somSelf, WPPower, wpPowerOff) \
	(somSelf,bConfirm))
#ifndef SOMGD_wpPowerOff
    #if (defined(_wpPowerOff) || defined(__wpPowerOff))
        #undef _wpPowerOff
        #undef __wpPowerOff
        #define SOMGD_wpPowerOff 1
    #else
        #define _wpPowerOff WPPower_wpPowerOff
    #endif /* _wpPowerOff */
#endif /* SOMGD_wpPowerOff */

/*
 * New Method: wpQueryAPMLevel
 */
typedef ULONG   SOMLINK somTP_WPPower_wpQueryAPMLevel(WPPower *somSelf);
#pragma linkage(somTP_WPPower_wpQueryAPMLevel, system)
typedef somTP_WPPower_wpQueryAPMLevel *somTD_WPPower_wpQueryAPMLevel;
#define somMD_WPPower_wpQueryAPMLevel "::WPPower::wpQueryAPMLevel"
#define WPPower_wpQueryAPMLevel(somSelf) \
    (SOM_Resolve(somSelf, WPPower, wpQueryAPMLevel) \
	(somSelf))
#ifndef SOMGD_wpQueryAPMLevel
    #if (defined(_wpQueryAPMLevel) || defined(__wpQueryAPMLevel))
        #undef _wpQueryAPMLevel
        #undef __wpQueryAPMLevel
        #define SOMGD_wpQueryAPMLevel 1
    #else
        #define _wpQueryAPMLevel WPPower_wpQueryAPMLevel
    #endif /* _wpQueryAPMLevel */
#endif /* SOMGD_wpQueryAPMLevel */

/*
 * New Method: wpQueryAutoRefresh
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryAutoRefresh(WPPower *somSelf);
#pragma linkage(somTP_WPPower_wpQueryAutoRefresh, system)
typedef somTP_WPPower_wpQueryAutoRefresh *somTD_WPPower_wpQueryAutoRefresh;
#define somMD_WPPower_wpQueryAutoRefresh "::WPPower::wpQueryAutoRefresh"
#define WPPower_wpQueryAutoRefresh(somSelf) \
    (SOM_Resolve(somSelf, WPPower, wpQueryAutoRefresh) \
	(somSelf))
#ifndef SOMGD_wpQueryAutoRefresh
    #if (defined(_wpQueryAutoRefresh) || defined(__wpQueryAutoRefresh))
        #undef _wpQueryAutoRefresh
        #undef __wpQueryAutoRefresh
        #define SOMGD_wpQueryAutoRefresh 1
    #else
        #define _wpQueryAutoRefresh WPPower_wpQueryAutoRefresh
    #endif /* _wpQueryAutoRefresh */
#endif /* SOMGD_wpQueryAutoRefresh */

/*
 * New Method: wpQueryBIOSPowerManagementSupport
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryBIOSPowerManagementSupport(WPPower *somSelf, 
		BOOL* pbEnable);
#pragma linkage(somTP_WPPower_wpQueryBIOSPowerManagementSupport, system)
typedef somTP_WPPower_wpQueryBIOSPowerManagementSupport *somTD_WPPower_wpQueryBIOSPowerManagementSupport;
#define somMD_WPPower_wpQueryBIOSPowerManagementSupport "::WPPower::wpQueryBIOSPowerManagementSupport"
#define WPPower_wpQueryBIOSPowerManagementSupport(somSelf,pbEnable) \
    (SOM_Resolve(somSelf, WPPower, wpQueryBIOSPowerManagementSupport) \
	(somSelf,pbEnable))
#ifndef SOMGD_wpQueryBIOSPowerManagementSupport
    #if (defined(_wpQueryBIOSPowerManagementSupport) || defined(__wpQueryBIOSPowerManagementSupport))
        #undef _wpQueryBIOSPowerManagementSupport
        #undef __wpQueryBIOSPowerManagementSupport
        #define SOMGD_wpQueryBIOSPowerManagementSupport 1
    #else
        #define _wpQueryBIOSPowerManagementSupport WPPower_wpQueryBIOSPowerManagementSupport
    #endif /* _wpQueryBIOSPowerManagementSupport */
#endif /* SOMGD_wpQueryBIOSPowerManagementSupport */

/*
 * New Method: wpQueryCapabilities
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryCapabilities(WPPower *somSelf, 
		ULONG* pulBatteryMax, 
		ULONG* pulCapabilities);
#pragma linkage(somTP_WPPower_wpQueryCapabilities, system)
typedef somTP_WPPower_wpQueryCapabilities *somTD_WPPower_wpQueryCapabilities;
#define somMD_WPPower_wpQueryCapabilities "::WPPower::wpQueryCapabilities"
#define WPPower_wpQueryCapabilities(somSelf,pulBatteryMax,pulCapabilities) \
    (SOM_Resolve(somSelf, WPPower, wpQueryCapabilities) \
	(somSelf,pulBatteryMax,pulCapabilities))
#ifndef SOMGD_wpQueryCapabilities
    #if (defined(_wpQueryCapabilities) || defined(__wpQueryCapabilities))
        #undef _wpQueryCapabilities
        #undef __wpQueryCapabilities
        #define SOMGD_wpQueryCapabilities 1
    #else
        #define _wpQueryCapabilities WPPower_wpQueryCapabilities
    #endif /* _wpQueryCapabilities */
#endif /* SOMGD_wpQueryCapabilities */

/*
 * New Method: wpQueryDefStatusView
 */
typedef ULONG   SOMLINK somTP_WPPower_wpQueryDefStatusView(WPPower *somSelf);
#pragma linkage(somTP_WPPower_wpQueryDefStatusView, system)
typedef somTP_WPPower_wpQueryDefStatusView *somTD_WPPower_wpQueryDefStatusView;
#define somMD_WPPower_wpQueryDefStatusView "::WPPower::wpQueryDefStatusView"
#define WPPower_wpQueryDefStatusView(somSelf) \
    (SOM_Resolve(somSelf, WPPower, wpQueryDefStatusView) \
	(somSelf))
#ifndef SOMGD_wpQueryDefStatusView
    #if (defined(_wpQueryDefStatusView) || defined(__wpQueryDefStatusView))
        #undef _wpQueryDefStatusView
        #undef __wpQueryDefStatusView
        #define SOMGD_wpQueryDefStatusView 1
    #else
        #define _wpQueryDefStatusView WPPower_wpQueryDefStatusView
    #endif /* _wpQueryDefStatusView */
#endif /* SOMGD_wpQueryDefStatusView */

/*
 * New Method: wpQueryOS2PowerManagementSupport
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryOS2PowerManagementSupport(WPPower *somSelf, 
		BOOL* pbEnable);
#pragma linkage(somTP_WPPower_wpQueryOS2PowerManagementSupport, system)
typedef somTP_WPPower_wpQueryOS2PowerManagementSupport *somTD_WPPower_wpQueryOS2PowerManagementSupport;
#define somMD_WPPower_wpQueryOS2PowerManagementSupport "::WPPower::wpQueryOS2PowerManagementSupport"
#define WPPower_wpQueryOS2PowerManagementSupport(somSelf,pbEnable) \
    (SOM_Resolve(somSelf, WPPower, wpQueryOS2PowerManagementSupport) \
	(somSelf,pbEnable))
#ifndef SOMGD_wpQueryOS2PowerManagementSupport
    #if (defined(_wpQueryOS2PowerManagementSupport) || defined(__wpQueryOS2PowerManagementSupport))
        #undef _wpQueryOS2PowerManagementSupport
        #undef __wpQueryOS2PowerManagementSupport
        #define SOMGD_wpQueryOS2PowerManagementSupport 1
    #else
        #define _wpQueryOS2PowerManagementSupport WPPower_wpQueryOS2PowerManagementSupport
    #endif /* _wpQueryOS2PowerManagementSupport */
#endif /* SOMGD_wpQueryOS2PowerManagementSupport */

/*
 * New Method: wpQueryPowerConfirmation
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryPowerConfirmation(WPPower *somSelf);
#pragma linkage(somTP_WPPower_wpQueryPowerConfirmation, system)
typedef somTP_WPPower_wpQueryPowerConfirmation *somTD_WPPower_wpQueryPowerConfirmation;
#define somMD_WPPower_wpQueryPowerConfirmation "::WPPower::wpQueryPowerConfirmation"
#define WPPower_wpQueryPowerConfirmation(somSelf) \
    (SOM_Resolve(somSelf, WPPower, wpQueryPowerConfirmation) \
	(somSelf))
#ifndef SOMGD_wpQueryPowerConfirmation
    #if (defined(_wpQueryPowerConfirmation) || defined(__wpQueryPowerConfirmation))
        #undef _wpQueryPowerConfirmation
        #undef __wpQueryPowerConfirmation
        #define SOMGD_wpQueryPowerConfirmation 1
    #else
        #define _wpQueryPowerConfirmation WPPower_wpQueryPowerConfirmation
    #endif /* _wpQueryPowerConfirmation */
#endif /* SOMGD_wpQueryPowerConfirmation */

/*
 * New Method: wpQueryPowerManagement
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryPowerManagement(WPPower *somSelf);
#pragma linkage(somTP_WPPower_wpQueryPowerManagement, system)
typedef somTP_WPPower_wpQueryPowerManagement *somTD_WPPower_wpQueryPowerManagement;
#define somMD_WPPower_wpQueryPowerManagement "::WPPower::wpQueryPowerManagement"
#define WPPower_wpQueryPowerManagement(somSelf) \
    (SOM_Resolve(somSelf, WPPower, wpQueryPowerManagement) \
	(somSelf))
#ifndef SOMGD_wpQueryPowerManagement
    #if (defined(_wpQueryPowerManagement) || defined(__wpQueryPowerManagement))
        #undef _wpQueryPowerManagement
        #undef __wpQueryPowerManagement
        #define SOMGD_wpQueryPowerManagement 1
    #else
        #define _wpQueryPowerManagement WPPower_wpQueryPowerManagement
    #endif /* _wpQueryPowerManagement */
#endif /* SOMGD_wpQueryPowerManagement */

/*
 * New Method: wpQueryRefreshRate
 */
typedef ULONG   SOMLINK somTP_WPPower_wpQueryRefreshRate(WPPower *somSelf);
#pragma linkage(somTP_WPPower_wpQueryRefreshRate, system)
typedef somTP_WPPower_wpQueryRefreshRate *somTD_WPPower_wpQueryRefreshRate;
#define somMD_WPPower_wpQueryRefreshRate "::WPPower::wpQueryRefreshRate"
#define WPPower_wpQueryRefreshRate(somSelf) \
    (SOM_Resolve(somSelf, WPPower, wpQueryRefreshRate) \
	(somSelf))
#ifndef SOMGD_wpQueryRefreshRate
    #if (defined(_wpQueryRefreshRate) || defined(__wpQueryRefreshRate))
        #undef _wpQueryRefreshRate
        #undef __wpQueryRefreshRate
        #define SOMGD_wpQueryRefreshRate 1
    #else
        #define _wpQueryRefreshRate WPPower_wpQueryRefreshRate
    #endif /* _wpQueryRefreshRate */
#endif /* SOMGD_wpQueryRefreshRate */

/*
 * New Method: wpQueryResumeOnRing
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryResumeOnRing(WPPower *somSelf, 
		BOOL* pbEnable);
#pragma linkage(somTP_WPPower_wpQueryResumeOnRing, system)
typedef somTP_WPPower_wpQueryResumeOnRing *somTD_WPPower_wpQueryResumeOnRing;
#define somMD_WPPower_wpQueryResumeOnRing "::WPPower::wpQueryResumeOnRing"
#define WPPower_wpQueryResumeOnRing(somSelf,pbEnable) \
    (SOM_Resolve(somSelf, WPPower, wpQueryResumeOnRing) \
	(somSelf,pbEnable))
#ifndef SOMGD_wpQueryResumeOnRing
    #if (defined(_wpQueryResumeOnRing) || defined(__wpQueryResumeOnRing))
        #undef _wpQueryResumeOnRing
        #undef __wpQueryResumeOnRing
        #define SOMGD_wpQueryResumeOnRing 1
    #else
        #define _wpQueryResumeOnRing WPPower_wpQueryResumeOnRing
    #endif /* _wpQueryResumeOnRing */
#endif /* SOMGD_wpQueryResumeOnRing */

/*
 * New Method: wpQueryResumeOnTimer
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryResumeOnTimer(WPPower *somSelf, 
		BOOL* pbEnable, 
		ULONG* pulYear, 
		ULONG* pulMonth, 
		ULONG* pulDay, 
		ULONG* pulHour, 
		ULONG* pulMinute, 
		ULONG* pulSecond);
#pragma linkage(somTP_WPPower_wpQueryResumeOnTimer, system)
typedef somTP_WPPower_wpQueryResumeOnTimer *somTD_WPPower_wpQueryResumeOnTimer;
#define somMD_WPPower_wpQueryResumeOnTimer "::WPPower::wpQueryResumeOnTimer"
#define WPPower_wpQueryResumeOnTimer(somSelf,pbEnable,pulYear,pulMonth,pulDay,pulHour,pulMinute,pulSecond) \
    (SOM_Resolve(somSelf, WPPower, wpQueryResumeOnTimer) \
	(somSelf,pbEnable,pulYear,pulMonth,pulDay,pulHour,pulMinute,pulSecond))
#ifndef SOMGD_wpQueryResumeOnTimer
    #if (defined(_wpQueryResumeOnTimer) || defined(__wpQueryResumeOnTimer))
        #undef _wpQueryResumeOnTimer
        #undef __wpQueryResumeOnTimer
        #define SOMGD_wpQueryResumeOnTimer 1
    #else
        #define _wpQueryResumeOnTimer WPPower_wpQueryResumeOnTimer
    #endif /* _wpQueryResumeOnTimer */
#endif /* SOMGD_wpQueryResumeOnTimer */

/*
 * New Method: wpQueryTimerBasedRequests
 */
typedef BOOL   SOMLINK somTP_WPPower_wpQueryTimerBasedRequests(WPPower *somSelf, 
		BOOL* pbEnable);
#pragma linkage(somTP_WPPower_wpQueryTimerBasedRequests, system)
typedef somTP_WPPower_wpQueryTimerBasedRequests *somTD_WPPower_wpQueryTimerBasedRequests;
#define somMD_WPPower_wpQueryTimerBasedRequests "::WPPower::wpQueryTimerBasedRequests"
#define WPPower_wpQueryTimerBasedRequests(somSelf,pbEnable) \
    (SOM_Resolve(somSelf, WPPower, wpQueryTimerBasedRequests) \
	(somSelf,pbEnable))
#ifndef SOMGD_wpQueryTimerBasedRequests
    #if (defined(_wpQueryTimerBasedRequests) || defined(__wpQueryTimerBasedRequests))
        #undef _wpQueryTimerBasedRequests
        #undef __wpQueryTimerBasedRequests
        #define SOMGD_wpQueryTimerBasedRequests 1
    #else
        #define _wpQueryTimerBasedRequests WPPower_wpQueryTimerBasedRequests
    #endif /* _wpQueryTimerBasedRequests */
#endif /* SOMGD_wpQueryTimerBasedRequests */

/*
 * New Method: wpRefreshNotebookPages
 */
typedef void   SOMLINK somTP_WPPower_wpRefreshNotebookPages(WPPower *somSelf);
#pragma linkage(somTP_WPPower_wpRefreshNotebookPages, system)
typedef somTP_WPPower_wpRefreshNotebookPages *somTD_WPPower_wpRefreshNotebookPages;
#define somMD_WPPower_wpRefreshNotebookPages "::WPPower::wpRefreshNotebookPages"
#define WPPower_wpRefreshNotebookPages(somSelf) \
    (SOM_Resolve(somSelf, WPPower, wpRefreshNotebookPages) \
	(somSelf))
#ifndef SOMGD_wpRefreshNotebookPages
    #if (defined(_wpRefreshNotebookPages) || defined(__wpRefreshNotebookPages))
        #undef _wpRefreshNotebookPages
        #undef __wpRefreshNotebookPages
        #define SOMGD_wpRefreshNotebookPages 1
    #else
        #define _wpRefreshNotebookPages WPPower_wpRefreshNotebookPages
    #endif /* _wpRefreshNotebookPages */
#endif /* SOMGD_wpRefreshNotebookPages */

/*
 * New Method: wpSetAutoRefresh
 */
typedef void   SOMLINK somTP_WPPower_wpSetAutoRefresh(WPPower *somSelf, 
		BOOL fAutoRefresh);
#pragma linkage(somTP_WPPower_wpSetAutoRefresh, system)
typedef somTP_WPPower_wpSetAutoRefresh *somTD_WPPower_wpSetAutoRefresh;
#define somMD_WPPower_wpSetAutoRefresh "::WPPower::wpSetAutoRefresh"
#define WPPower_wpSetAutoRefresh(somSelf,fAutoRefresh) \
    (SOM_Resolve(somSelf, WPPower, wpSetAutoRefresh) \
	(somSelf,fAutoRefresh))
#ifndef SOMGD_wpSetAutoRefresh
    #if (defined(_wpSetAutoRefresh) || defined(__wpSetAutoRefresh))
        #undef _wpSetAutoRefresh
        #undef __wpSetAutoRefresh
        #define SOMGD_wpSetAutoRefresh 1
    #else
        #define _wpSetAutoRefresh WPPower_wpSetAutoRefresh
    #endif /* _wpSetAutoRefresh */
#endif /* SOMGD_wpSetAutoRefresh */

/*
 * New Method: wpSetBIOSPowerManagementSupport
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSetBIOSPowerManagementSupport(WPPower *somSelf, 
		BOOL bEnable);
#pragma linkage(somTP_WPPower_wpSetBIOSPowerManagementSupport, system)
typedef somTP_WPPower_wpSetBIOSPowerManagementSupport *somTD_WPPower_wpSetBIOSPowerManagementSupport;
#define somMD_WPPower_wpSetBIOSPowerManagementSupport "::WPPower::wpSetBIOSPowerManagementSupport"
#define WPPower_wpSetBIOSPowerManagementSupport(somSelf,bEnable) \
    (SOM_Resolve(somSelf, WPPower, wpSetBIOSPowerManagementSupport) \
	(somSelf,bEnable))
#ifndef SOMGD_wpSetBIOSPowerManagementSupport
    #if (defined(_wpSetBIOSPowerManagementSupport) || defined(__wpSetBIOSPowerManagementSupport))
        #undef _wpSetBIOSPowerManagementSupport
        #undef __wpSetBIOSPowerManagementSupport
        #define SOMGD_wpSetBIOSPowerManagementSupport 1
    #else
        #define _wpSetBIOSPowerManagementSupport WPPower_wpSetBIOSPowerManagementSupport
    #endif /* _wpSetBIOSPowerManagementSupport */
#endif /* SOMGD_wpSetBIOSPowerManagementSupport */

/*
 * New Method: wpSetDefStatusView
 */
typedef void   SOMLINK somTP_WPPower_wpSetDefStatusView(WPPower *somSelf, 
		ULONG ulDefStatus);
#pragma linkage(somTP_WPPower_wpSetDefStatusView, system)
typedef somTP_WPPower_wpSetDefStatusView *somTD_WPPower_wpSetDefStatusView;
#define somMD_WPPower_wpSetDefStatusView "::WPPower::wpSetDefStatusView"
#define WPPower_wpSetDefStatusView(somSelf,ulDefStatus) \
    (SOM_Resolve(somSelf, WPPower, wpSetDefStatusView) \
	(somSelf,ulDefStatus))
#ifndef SOMGD_wpSetDefStatusView
    #if (defined(_wpSetDefStatusView) || defined(__wpSetDefStatusView))
        #undef _wpSetDefStatusView
        #undef __wpSetDefStatusView
        #define SOMGD_wpSetDefStatusView 1
    #else
        #define _wpSetDefStatusView WPPower_wpSetDefStatusView
    #endif /* _wpSetDefStatusView */
#endif /* SOMGD_wpSetDefStatusView */

/*
 * New Method: wpSetOS2PowerManagementSupport
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSetOS2PowerManagementSupport(WPPower *somSelf, 
		BOOL bEnable);
#pragma linkage(somTP_WPPower_wpSetOS2PowerManagementSupport, system)
typedef somTP_WPPower_wpSetOS2PowerManagementSupport *somTD_WPPower_wpSetOS2PowerManagementSupport;
#define somMD_WPPower_wpSetOS2PowerManagementSupport "::WPPower::wpSetOS2PowerManagementSupport"
#define WPPower_wpSetOS2PowerManagementSupport(somSelf,bEnable) \
    (SOM_Resolve(somSelf, WPPower, wpSetOS2PowerManagementSupport) \
	(somSelf,bEnable))
#ifndef SOMGD_wpSetOS2PowerManagementSupport
    #if (defined(_wpSetOS2PowerManagementSupport) || defined(__wpSetOS2PowerManagementSupport))
        #undef _wpSetOS2PowerManagementSupport
        #undef __wpSetOS2PowerManagementSupport
        #define SOMGD_wpSetOS2PowerManagementSupport 1
    #else
        #define _wpSetOS2PowerManagementSupport WPPower_wpSetOS2PowerManagementSupport
    #endif /* _wpSetOS2PowerManagementSupport */
#endif /* SOMGD_wpSetOS2PowerManagementSupport */

/*
 * New Method: wpSetPowerConfirmation
 */
typedef void   SOMLINK somTP_WPPower_wpSetPowerConfirmation(WPPower *somSelf, 
		BOOL fConfirm);
#pragma linkage(somTP_WPPower_wpSetPowerConfirmation, system)
typedef somTP_WPPower_wpSetPowerConfirmation *somTD_WPPower_wpSetPowerConfirmation;
#define somMD_WPPower_wpSetPowerConfirmation "::WPPower::wpSetPowerConfirmation"
#define WPPower_wpSetPowerConfirmation(somSelf,fConfirm) \
    (SOM_Resolve(somSelf, WPPower, wpSetPowerConfirmation) \
	(somSelf,fConfirm))
#ifndef SOMGD_wpSetPowerConfirmation
    #if (defined(_wpSetPowerConfirmation) || defined(__wpSetPowerConfirmation))
        #undef _wpSetPowerConfirmation
        #undef __wpSetPowerConfirmation
        #define SOMGD_wpSetPowerConfirmation 1
    #else
        #define _wpSetPowerConfirmation WPPower_wpSetPowerConfirmation
    #endif /* _wpSetPowerConfirmation */
#endif /* SOMGD_wpSetPowerConfirmation */

/*
 * New Method: wpSetPowerManagement
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSetPowerManagement(WPPower *somSelf, 
		BOOL fPower);
#pragma linkage(somTP_WPPower_wpSetPowerManagement, system)
typedef somTP_WPPower_wpSetPowerManagement *somTD_WPPower_wpSetPowerManagement;
#define somMD_WPPower_wpSetPowerManagement "::WPPower::wpSetPowerManagement"
#define WPPower_wpSetPowerManagement(somSelf,fPower) \
    (SOM_Resolve(somSelf, WPPower, wpSetPowerManagement) \
	(somSelf,fPower))
#ifndef SOMGD_wpSetPowerManagement
    #if (defined(_wpSetPowerManagement) || defined(__wpSetPowerManagement))
        #undef _wpSetPowerManagement
        #undef __wpSetPowerManagement
        #define SOMGD_wpSetPowerManagement 1
    #else
        #define _wpSetPowerManagement WPPower_wpSetPowerManagement
    #endif /* _wpSetPowerManagement */
#endif /* SOMGD_wpSetPowerManagement */

/*
 * New Method: wpSetRefreshRate
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSetRefreshRate(WPPower *somSelf, 
		ULONG ulRefreshRate);
#pragma linkage(somTP_WPPower_wpSetRefreshRate, system)
typedef somTP_WPPower_wpSetRefreshRate *somTD_WPPower_wpSetRefreshRate;
#define somMD_WPPower_wpSetRefreshRate "::WPPower::wpSetRefreshRate"
#define WPPower_wpSetRefreshRate(somSelf,ulRefreshRate) \
    (SOM_Resolve(somSelf, WPPower, wpSetRefreshRate) \
	(somSelf,ulRefreshRate))
#ifndef SOMGD_wpSetRefreshRate
    #if (defined(_wpSetRefreshRate) || defined(__wpSetRefreshRate))
        #undef _wpSetRefreshRate
        #undef __wpSetRefreshRate
        #define SOMGD_wpSetRefreshRate 1
    #else
        #define _wpSetRefreshRate WPPower_wpSetRefreshRate
    #endif /* _wpSetRefreshRate */
#endif /* SOMGD_wpSetRefreshRate */

/*
 * New Method: wpSetResumeOnRing
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSetResumeOnRing(WPPower *somSelf, 
		BOOL bEnable);
#pragma linkage(somTP_WPPower_wpSetResumeOnRing, system)
typedef somTP_WPPower_wpSetResumeOnRing *somTD_WPPower_wpSetResumeOnRing;
#define somMD_WPPower_wpSetResumeOnRing "::WPPower::wpSetResumeOnRing"
#define WPPower_wpSetResumeOnRing(somSelf,bEnable) \
    (SOM_Resolve(somSelf, WPPower, wpSetResumeOnRing) \
	(somSelf,bEnable))
#ifndef SOMGD_wpSetResumeOnRing
    #if (defined(_wpSetResumeOnRing) || defined(__wpSetResumeOnRing))
        #undef _wpSetResumeOnRing
        #undef __wpSetResumeOnRing
        #define SOMGD_wpSetResumeOnRing 1
    #else
        #define _wpSetResumeOnRing WPPower_wpSetResumeOnRing
    #endif /* _wpSetResumeOnRing */
#endif /* SOMGD_wpSetResumeOnRing */

/*
 * New Method: wpSetResumeOnTimer
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSetResumeOnTimer(WPPower *somSelf, 
		BOOL bEnable, 
		ULONG ulYear, 
		ULONG ulMonth, 
		ULONG ulDay, 
		ULONG ulHour, 
		ULONG ulMinute, 
		ULONG ulSecond);
#pragma linkage(somTP_WPPower_wpSetResumeOnTimer, system)
typedef somTP_WPPower_wpSetResumeOnTimer *somTD_WPPower_wpSetResumeOnTimer;
#define somMD_WPPower_wpSetResumeOnTimer "::WPPower::wpSetResumeOnTimer"
#define WPPower_wpSetResumeOnTimer(somSelf,bEnable,ulYear,ulMonth,ulDay,ulHour,ulMinute,ulSecond) \
    (SOM_Resolve(somSelf, WPPower, wpSetResumeOnTimer) \
	(somSelf,bEnable,ulYear,ulMonth,ulDay,ulHour,ulMinute,ulSecond))
#ifndef SOMGD_wpSetResumeOnTimer
    #if (defined(_wpSetResumeOnTimer) || defined(__wpSetResumeOnTimer))
        #undef _wpSetResumeOnTimer
        #undef __wpSetResumeOnTimer
        #define SOMGD_wpSetResumeOnTimer 1
    #else
        #define _wpSetResumeOnTimer WPPower_wpSetResumeOnTimer
    #endif /* _wpSetResumeOnTimer */
#endif /* SOMGD_wpSetResumeOnTimer */

/*
 * New Method: wpSetTimerBasedRequests
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSetTimerBasedRequests(WPPower *somSelf, 
		BOOL bEnable);
#pragma linkage(somTP_WPPower_wpSetTimerBasedRequests, system)
typedef somTP_WPPower_wpSetTimerBasedRequests *somTD_WPPower_wpSetTimerBasedRequests;
#define somMD_WPPower_wpSetTimerBasedRequests "::WPPower::wpSetTimerBasedRequests"
#define WPPower_wpSetTimerBasedRequests(somSelf,bEnable) \
    (SOM_Resolve(somSelf, WPPower, wpSetTimerBasedRequests) \
	(somSelf,bEnable))
#ifndef SOMGD_wpSetTimerBasedRequests
    #if (defined(_wpSetTimerBasedRequests) || defined(__wpSetTimerBasedRequests))
        #undef _wpSetTimerBasedRequests
        #undef __wpSetTimerBasedRequests
        #define SOMGD_wpSetTimerBasedRequests 1
    #else
        #define _wpSetTimerBasedRequests WPPower_wpSetTimerBasedRequests
    #endif /* _wpSetTimerBasedRequests */
#endif /* SOMGD_wpSetTimerBasedRequests */

/*
 * New Method: wpSuspend
 */
typedef BOOL   SOMLINK somTP_WPPower_wpSuspend(WPPower *somSelf, 
		BOOL bConfirm);
#pragma linkage(somTP_WPPower_wpSuspend, system)
typedef somTP_WPPower_wpSuspend *somTD_WPPower_wpSuspend;
#define somMD_WPPower_wpSuspend "::WPPower::wpSuspend"
#define WPPower_wpSuspend(somSelf,bConfirm) \
    (SOM_Resolve(somSelf, WPPower, wpSuspend) \
	(somSelf,bConfirm))
#ifndef SOMGD_wpSuspend
    #if (defined(_wpSuspend) || defined(__wpSuspend))
        #undef _wpSuspend
        #undef __wpSuspend
        #define SOMGD_wpSuspend 1
    #else
        #define _wpSuspend WPPower_wpSuspend
    #endif /* _wpSuspend */
#endif /* SOMGD_wpSuspend */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPPower_wpQueryHandle WPObject_wpQueryHandle
#define WPPower_wpSaveImmediate WPObject_wpSaveImmediate
#define WPPower_wpSetTitle WPObject_wpSetTitle
#define WPPower_wpCopyObject WPObject_wpCopyObject
#define WPPower_wpMoveObject WPObject_wpMoveObject
#define WPPower_wpQueryIcon WPObject_wpQueryIcon
#define WPPower_wpQueryIconData WPObject_wpQueryIconData
#define WPPower_wpSetIconData WPObject_wpSetIconData
#define WPPower_wpDragOver WPObject_wpDragOver
#define WPPower_wpReplaceObject WPObject_wpReplaceObject
#define WPPower_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPPower_wpIdentify WPObject_wpIdentify
#define WPPower_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPPower_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPPower_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPPower_wpAllocMem WPObject_wpAllocMem
#define WPPower_wpAppendObject WPObject_wpAppendObject
#define WPPower_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPPower_wpClose WPObject_wpClose
#define WPPower_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPPower_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPPower_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPPower_wpConfirmDelete WPObject_wpConfirmDelete
#define WPPower_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPPower_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPPower_wpCreateAnother WPObject_wpCreateAnother
#define WPPower_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPPower_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPPower_wpDelete WPObject_wpDelete
#define WPPower_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPPower_wpDisplayHelp WPObject_wpDisplayHelp
#define WPPower_wpDisplayMenu WPObject_wpDisplayMenu
#define WPPower_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPPower_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPPower_wpDrop WPObject_wpDrop
#define WPPower_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPPower_wpEndConversation WPObject_wpEndConversation
#define WPPower_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPPower_wpFindUseItem WPObject_wpFindUseItem
#define WPPower_wpFormatDragItem WPObject_wpFormatDragItem
#define WPPower_wpFree WPObject_wpFree
#define WPPower_wpFreeMem WPObject_wpFreeMem
#define WPPower_wpHide WPObject_wpHide
#define WPPower_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPPower_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPPower_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPPower_wpModifyPopupMenu WPObject_wpModifyPopupMenu
#define WPPower_wpPrintObject WPObject_wpPrintObject
#define WPPower_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPPower_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPPower_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPPower_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPPower_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPPower_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPPower_wpQueryError WPObject_wpQueryError
#define WPPower_wpSetFolder WPObject_wpSetFolder
#define WPPower_wpQueryFolder WPObject_wpQueryFolder
#define WPPower_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPPower_wpQueryStyle WPObject_wpQueryStyle
#define WPPower_wpSetTaskRec WPObject_wpSetTaskRec
#define WPPower_wpFindTaskRec WPObject_wpFindTaskRec
#define WPPower_wpQueryTitle WPObject_wpQueryTitle
#define WPPower_wpRegisterView WPObject_wpRegisterView
#define WPPower_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPPower_wpRender WPObject_wpRender
#define WPPower_wpRenderComplete WPObject_wpRenderComplete
#define WPPower_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPPower_wpRestore WPObject_wpRestore
#define WPPower_wpRestoreData WPObject_wpRestoreData
#define WPPower_wpRestoreLong WPObject_wpRestoreLong
#define WPPower_wpRestoreString WPObject_wpRestoreString
#define WPPower_wpSaveData WPObject_wpSaveData
#define WPPower_wpSaveDeferred WPObject_wpSaveDeferred
#define WPPower_wpSaveLong WPObject_wpSaveLong
#define WPPower_wpSaveString WPObject_wpSaveString
#define WPPower_wpScanSetupString WPObject_wpScanSetupString
#define WPPower_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPPower_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPPower_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPPower_wpSetDefaultView WPObject_wpSetDefaultView
#define WPPower_wpSetError WPObject_wpSetError
#define WPPower_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPPower_wpSetupOnce WPObject_wpSetupOnce
#define WPPower_wpSetIcon WPObject_wpSetIcon
#define WPPower_wpSetMinWindow WPObject_wpSetMinWindow
#define WPPower_wpModifyStyle WPObject_wpModifyStyle
#define WPPower_wpSwitchTo WPObject_wpSwitchTo
#define WPPower_wpViewObject WPObject_wpViewObject
#define WPPower_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPPower_wpUnlockObject WPObject_wpUnlockObject
#define WPPower_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPPower_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPPower_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPPower_wpIsDeleteable WPObject_wpIsDeleteable
#define WPPower_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPPower_wpSetObjectID WPObject_wpSetObjectID
#define WPPower_wpQueryObjectID WPObject_wpQueryObjectID
#define WPPower_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPPower_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPPower_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPPower_wpFindViewItem WPObject_wpFindViewItem
#define WPPower_wpLockObject WPObject_wpLockObject
#define WPPower_wpIsLocked WPObject_wpIsLocked
#define WPPower_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPPower_wpWaitForClose WPObject_wpWaitForClose
#define WPPower_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPPower_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPPower_wpSetStyle WPObject_wpSetStyle
#define WPPower_somInit SOMObject_somInit
#define WPPower_somUninit SOMObject_somUninit
#define WPPower_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPPower_somDefaultAssign SOMObject_somDefaultAssign
#define WPPower_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPPower_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPPower_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPPower_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPPower_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPPower_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPPower_somFree SOMObject_somFree
#define WPPower_somGetClass SOMObject_somGetClass
#define WPPower_somGetClassName SOMObject_somGetClassName
#define WPPower_somGetSize SOMObject_somGetSize
#define WPPower_somIsA SOMObject_somIsA
#define WPPower_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPPower_somRespondsTo SOMObject_somRespondsTo
#define WPPower_somDispatch SOMObject_somDispatch
#define WPPower_somClassDispatch SOMObject_somClassDispatch
#define WPPower_somCastObj SOMObject_somCastObj
#define WPPower_somResetObj SOMObject_somResetObj
#define WPPower_somDispatchV SOMObject_somDispatchV
#define WPPower_somDispatchL SOMObject_somDispatchL
#define WPPower_somDispatchA SOMObject_somDispatchA
#define WPPower_somDispatchD SOMObject_somDispatchD
#define WPPower_somPrintSelf SOMObject_somPrintSelf
#define WPPower_somDumpSelf SOMObject_somDumpSelf
#define WPPower_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPPower_h */

#ifndef SOM_M_WPPower_h
#define SOM_M_WPPower_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef M_WPPower
#define M_WPPower SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */


/*
 * End of bindings for IDL types.
 */

#define M_WPPower_MajorVersion 1
#define M_WPPower_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPPowerNewClass WPPowerc
#pragma linkage(WPPowerc, system)
#define M_WPPowerClassData WPPowerd
#define M_WPPowerCClassData WPPowerx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPPower_classObj M_WPPowerClassData.classObject
#define _M_WPPower M_WPPower_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK M_WPPowerNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(M_WPPowerNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPPowerClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPPowerClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct M_WPPowerCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK M_WPPowerCClassData;

/*
 * New and Renew macros for M_WPPower
 */
#define M_WPPowerNew() \
   ( _M_WPPower ? \
	_somNew(_M_WPPower) \
	: ( M_WPPowerNewClass(\
		M_WPPower_MajorVersion, \
		M_WPPower_MinorVersion),\
	   _somNew(_M_WPPower)))
#define M_WPPowerRenew(buf) \
   ( _M_WPPower ? \
	_somRenew(_M_WPPower, buf) \
	: ( M_WPPowerNewClass(\
		M_WPPower_MajorVersion, \
		M_WPPower_MinorVersion),\
	   _somRenew(_M_WPPower, buf)))

/*
 * Override method: wpclsInitData
 */
#define M_WPPower_wpclsInitData(somSelf) \
	M_WPObject_wpclsInitData(somSelf)

/*
 * Override method: wpclsQueryDefaultHelp
 */
#define M_WPPower_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
	M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)

/*
 * Override method: wpclsQueryDefaultView
 */
#define M_WPPower_wpclsQueryDefaultView(somSelf) \
	M_WPObject_wpclsQueryDefaultView(somSelf)

/*
 * Override method: wpclsQueryIconData
 */
#define M_WPPower_wpclsQueryIconData(somSelf,pIconInfo) \
	M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)

/*
 * Override method: wpclsQueryStyle
 */
#define M_WPPower_wpclsQueryStyle(somSelf) \
	M_WPObject_wpclsQueryStyle(somSelf)

/*
 * Override method: wpclsQueryTitle
 */
#define M_WPPower_wpclsQueryTitle(somSelf) \
	M_WPObject_wpclsQueryTitle(somSelf)

/*
 * Override method: wpclsUnInitData
 */
#define M_WPPower_wpclsUnInitData(somSelf) \
	M_WPObject_wpclsUnInitData(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPPower_wpclsQuerySetting M_WPAbstract_wpclsQuerySetting
#define M_WPPower_wpclsSetSetting M_WPAbstract_wpclsSetSetting
#define M_WPPower_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPPower_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPPower_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPPower_wpclsNew M_WPObject_wpclsNew
#define M_WPPower_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPPower_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPPower_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPPower_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPPower_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPPower_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPPower_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPPower_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPPower_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPPower_wpclsSetError M_WPObject_wpclsSetError
#define M_WPPower_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPPower_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPPower_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPPower_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPPower_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPPower_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPPower_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPPower_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPPower_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPPower_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPPower_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPPower_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPPower_somUninit SOMObject_somUninit
#define M_WPPower_somClassReady SOMClass_somClassReady
#define M_WPPower_somNew SOMClass_somNew
#define M_WPPower_somRenew SOMClass_somRenew
#define M_WPPower__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPPower__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPPower__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPPower__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPPower_somNewNoInit SOMClass_somNewNoInit
#define M_WPPower_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPPower_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPPower_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPPower_somAllocate SOMClass_somAllocate
#define M_WPPower_somDeallocate SOMClass_somDeallocate
#define M_WPPower__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPPower__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPPower_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPPower_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPPower_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPPower_somInitClass SOMClass_somInitClass
#define M_WPPower_somInitMIClass SOMClass_somInitMIClass
#define M_WPPower_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPPower_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPPower_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPPower_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPPower_somGetClassData SOMClass_somGetClassData
#define M_WPPower_somSetClassData SOMClass_somSetClassData
#define M_WPPower_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPPower_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPPower_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPPower_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPPower_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPPower_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPPower_somGetMethodData SOMClass_somGetMethodData
#define M_WPPower_somGetRdStub SOMClass_somGetRdStub
#define M_WPPower_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPPower_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPPower_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPPower_somGetName SOMClass_somGetName
#define M_WPPower_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPPower_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPPower_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPPower_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPPower_somGetParent SOMClass_somGetParent
#define M_WPPower_somGetParents SOMClass_somGetParents
#define M_WPPower_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPPower_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPPower_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPPower_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPPower_somFindMethod SOMClass_somFindMethod
#define M_WPPower_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPPower_somFindSMethod SOMClass_somFindSMethod
#define M_WPPower_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPPower_somLookupMethod SOMClass_somLookupMethod
#define M_WPPower_somCheckVersion SOMClass_somCheckVersion
#define M_WPPower_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPPower_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPPower_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPPower_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPPower_somDefaultInit SOMObject_somDefaultInit
#define M_WPPower_somDestruct SOMObject_somDestruct
#define M_WPPower_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPPower_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPPower_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPPower_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPPower_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPPower_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPPower_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPPower_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPPower_somInit SOMObject_somInit
#define M_WPPower_somFree SOMObject_somFree
#define M_WPPower_somGetClass SOMObject_somGetClass
#define M_WPPower_somGetClassName SOMObject_somGetClassName
#define M_WPPower_somGetSize SOMObject_somGetSize
#define M_WPPower_somIsA SOMObject_somIsA
#define M_WPPower_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPPower_somRespondsTo SOMObject_somRespondsTo
#define M_WPPower_somDispatch SOMObject_somDispatch
#define M_WPPower_somClassDispatch SOMObject_somClassDispatch
#define M_WPPower_somCastObj SOMObject_somCastObj
#define M_WPPower_somResetObj SOMObject_somResetObj
#define M_WPPower_somDispatchV SOMObject_somDispatchV
#define M_WPPower_somDispatchL SOMObject_somDispatchL
#define M_WPPower_somDispatchA SOMObject_somDispatchA
#define M_WPPower_somDispatchD SOMObject_somDispatchD
#define M_WPPower_somPrintSelf SOMObject_somPrintSelf
#define M_WPPower_somDumpSelf SOMObject_somDumpSelf
#define M_WPPower_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPPower_h */
