/* Copyright (c) 1992 Colin Jensen.  All Rights Reserved. */


/*
 * This file was generated by the SOM Compiler.
 * FileName: ..\..\ibmh\wpsystem.h.
 * Generated using:
 *     SOM Precompiler spc: 1.22
 *     SOM Emitter emith: 1.11
 */

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


#ifndef wpsystem_h
#define wpsystem_h


#include <som.h>

/*
 * Define the class name as an object type
 */
#ifndef WPSystem
#define WPSystem SOMAny
#endif
#include "wpabs.h"

#define WPSystem_MajorVersion 1
#define WPSystem_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPSystemNewClass WPsysc
#pragma linkage(WPsysc, system)
#define WPSystemClassData WPsysd
#define WPSystemCClassData WPsysx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPSystem_classObj WPSystemClassData.classObject
#define _WPSystem WPSystem_classObj

/*
 * New and Renew macros for WPSystem
 */
#define _WPSystemNew() (_somNew(WPSystemClassData.classObject))
#define WPSystemNew() \
	( WPSystemClassData.classObject \
		? _WPSystemNew() \
		: ( WPSystemNewClass(WPSystem_MajorVersion, WPSystem_MinorVersion), _WPSystemNew() ) )
#define WPSystemRenew(buf) \
	( _somRenew(WPSystemClassData.classObject, buf) )

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

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

/*
 * Override method: wpFilterPopupMenu
 */
#define WPSystem_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
	WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)

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

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

/*
 * New Method: wpAddSystemWindowPage
 */
typedef ULONG    SOMLINK somTP_WPSystem_wpAddSystemWindowPage(WPSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPSystem_wpAddSystemWindowPage, system)
typedef somTP_WPSystem_wpAddSystemWindowPage *somTD_WPSystem_wpAddSystemWindowPage;
#define somMD_WPSystem_wpAddSystemWindowPage "----"
#define WPSystem_wpAddSystemWindowPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSystem, wpAddSystemWindowPage) \
	(somSelf,hwndNotebook))
#define _wpAddSystemWindowPage WPSystem_wpAddSystemWindowPage

/*
 * New Method: wpAddSystemLogoPage
 */
typedef ULONG    SOMLINK somTP_WPSystem_wpAddSystemLogoPage(WPSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPSystem_wpAddSystemLogoPage, system)
typedef somTP_WPSystem_wpAddSystemLogoPage *somTD_WPSystem_wpAddSystemLogoPage;
#define somMD_WPSystem_wpAddSystemLogoPage "----"
#define WPSystem_wpAddSystemLogoPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSystem, wpAddSystemLogoPage) \
	(somSelf,hwndNotebook))
#define _wpAddSystemLogoPage WPSystem_wpAddSystemLogoPage

/*
 * New Method: wpAddSystemPrintScreenPage
 */
typedef ULONG    SOMLINK somTP_WPSystem_wpAddSystemPrintScreenPage(WPSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPSystem_wpAddSystemPrintScreenPage, system)
typedef somTP_WPSystem_wpAddSystemPrintScreenPage *somTD_WPSystem_wpAddSystemPrintScreenPage;
#define somMD_WPSystem_wpAddSystemPrintScreenPage "----"
#define WPSystem_wpAddSystemPrintScreenPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSystem, wpAddSystemPrintScreenPage) \
	(somSelf,hwndNotebook))
#define _wpAddSystemPrintScreenPage WPSystem_wpAddSystemPrintScreenPage

/*
 * New Method: wpAddSystemConfirmationPage
 */
typedef ULONG    SOMLINK somTP_WPSystem_wpAddSystemConfirmationPage(WPSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPSystem_wpAddSystemConfirmationPage, system)
typedef somTP_WPSystem_wpAddSystemConfirmationPage *somTD_WPSystem_wpAddSystemConfirmationPage;
#define somMD_WPSystem_wpAddSystemConfirmationPage "----"
#define WPSystem_wpAddSystemConfirmationPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSystem, wpAddSystemConfirmationPage) \
	(somSelf,hwndNotebook))
#define _wpAddSystemConfirmationPage WPSystem_wpAddSystemConfirmationPage

/*
 * New Method: wpAddTitleConfirmationPage
 */
typedef ULONG    SOMLINK somTP_WPSystem_wpAddTitleConfirmationPage(WPSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPSystem_wpAddTitleConfirmationPage, system)
typedef somTP_WPSystem_wpAddTitleConfirmationPage *somTD_WPSystem_wpAddTitleConfirmationPage;
#define somMD_WPSystem_wpAddTitleConfirmationPage "----"
#define WPSystem_wpAddTitleConfirmationPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSystem, wpAddTitleConfirmationPage) \
	(somSelf,hwndNotebook))
#define _wpAddTitleConfirmationPage WPSystem_wpAddTitleConfirmationPage

/*
 * New Method: wpAddSystemScreenPage
 */
typedef ULONG    SOMLINK somTP_WPSystem_wpAddSystemScreenPage(WPSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPSystem_wpAddSystemScreenPage, system)
typedef somTP_WPSystem_wpAddSystemScreenPage *somTD_WPSystem_wpAddSystemScreenPage;
#define somMD_WPSystem_wpAddSystemScreenPage "----"
#define WPSystem_wpAddSystemScreenPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSystem, wpAddSystemScreenPage) \
	(somSelf,hwndNotebook))
#define _wpAddSystemScreenPage WPSystem_wpAddSystemScreenPage

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMAny * SOMLINK WPSystemNewClass(integer4 scemajorVersion,
		integer4 sceminorVersion);
#pragma linkage(WPSystemNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPSystemClassDataStructure {
	SOMAny *classObject;
	somMToken wpAddSystemWindowPage;
	somMToken wpAddSystemLogoPage;
	somMToken wpAddSystemPrintScreenPage;
	somMToken wpAddSystemConfirmationPage;
	somMToken wpAddTitleConfirmationPage;
	somMToken wpAddSystemScreenPage;
} WPSystemClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct WPSystemCClassDataStructure {
	somMethodTab *parentMtab;
	somDToken instanceDataToken;
} WPSystemCClassData;

#endif       /* wpsystem_h */

/*
 * This file was generated by the SOM Compiler.
 * FileName: ..\..\ibmh\wpsystem.h.
 * Generated using:
 *     SOM Precompiler spc: 1.22
 *     SOM Emitter emith: 1.11
 */

#ifndef wpsystem_mh
#define wpsystem_mh


/*
 * Define the class name as an object type
 */
#ifndef M_WPSystem
#define M_WPSystem SOMAny
#endif

#define M_WPSystem_MajorVersion 1
#define M_WPSystem_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPSystemNewClass WPsysc
#pragma linkage(WPsysc, system)
#define M_WPSystemClassData WPsysd
#define M_WPSystemCClassData WPsysx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPSystem_classObj M_WPSystemClassData.classObject
#define _M_WPSystem M_WPSystem_classObj

/*
 * New and Renew macros for M_WPSystem
 */
#define _M_WPSystemNew() (_somNew(M_WPSystemClassData.classObject))
#define M_WPSystemNew() \
	( M_WPSystemClassData.classObject \
		? _M_WPSystemNew() \
		: ( M_WPSystemNewClass(M_WPSystem_MajorVersion, M_WPSystem_MinorVersion), _M_WPSystemNew() ) )
#define M_WPSystemRenew(buf) \
	( _somRenew(M_WPSystemClassData.classObject, buf) )

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

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

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

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

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

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMAny * SOMLINK M_WPSystemNewClass(integer4 scemajorVersion,
		integer4 sceminorVersion);
#pragma linkage(M_WPSystemNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPSystemClassDataStructure {
	SOMAny *classObject;
} M_WPSystemClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct M_WPSystemCClassDataStructure {
	somMethodTab *parentMtab;
	somDToken instanceDataToken;
} M_WPSystemCClassData;

#endif       /* wpsystem_h */
