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

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


#ifndef wpctry_h
#define wpctry_h


#include <som.h>

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

#define WPCountry_MajorVersion 1
#define WPCountry_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPCountryNewClass WPcouc
#pragma linkage(WPcouc, system)
#define WPCountryClassData WPcoud
#define WPCountryCClassData WPcoux
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPCountry_classObj WPCountryClassData.classObject
#define _WPCountry WPCountry_classObj

/*
 * New and Renew macros for WPCountry
 */
#define _WPCountryNew() (_somNew(WPCountryClassData.classObject))
#define WPCountryNew() \
	( WPCountryClassData.classObject \
		? _WPCountryNew() \
		: ( WPCountryNewClass(WPCountry_MajorVersion, WPCountry_MinorVersion), _WPCountryNew() ) )
#define WPCountryRenew(buf) \
	( _somRenew(WPCountryClassData.classObject, buf) )

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

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

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

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

/*
 * New Method: wpAddCountryTimePage
 */
typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryTimePage(WPCountry *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPCountry_wpAddCountryTimePage, system)
typedef somTP_WPCountry_wpAddCountryTimePage *somTD_WPCountry_wpAddCountryTimePage;
#define somMD_WPCountry_wpAddCountryTimePage "----"
#define WPCountry_wpAddCountryTimePage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPCountry, wpAddCountryTimePage) \
	(somSelf,hwndNotebook))
#define _wpAddCountryTimePage WPCountry_wpAddCountryTimePage

/*
 * New Method: wpAddCountryDatePage
 */
typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryDatePage(WPCountry *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPCountry_wpAddCountryDatePage, system)
typedef somTP_WPCountry_wpAddCountryDatePage *somTD_WPCountry_wpAddCountryDatePage;
#define somMD_WPCountry_wpAddCountryDatePage "----"
#define WPCountry_wpAddCountryDatePage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPCountry, wpAddCountryDatePage) \
	(somSelf,hwndNotebook))
#define _wpAddCountryDatePage WPCountry_wpAddCountryDatePage

/*
 * New Method: wpAddCountryNumbersPage
 */
typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryNumbersPage(WPCountry *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPCountry_wpAddCountryNumbersPage, system)
typedef somTP_WPCountry_wpAddCountryNumbersPage *somTD_WPCountry_wpAddCountryNumbersPage;
#define somMD_WPCountry_wpAddCountryNumbersPage "----"
#define WPCountry_wpAddCountryNumbersPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPCountry, wpAddCountryNumbersPage) \
	(somSelf,hwndNotebook))
#define _wpAddCountryNumbersPage WPCountry_wpAddCountryNumbersPage

/*
 * New Method: wpAddCountryPage
 */
typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryPage(WPCountry *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPCountry_wpAddCountryPage, system)
typedef somTP_WPCountry_wpAddCountryPage *somTD_WPCountry_wpAddCountryPage;
#define somMD_WPCountry_wpAddCountryPage "----"
#define WPCountry_wpAddCountryPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPCountry, wpAddCountryPage) \
	(somSelf,hwndNotebook))
#define _wpAddCountryPage WPCountry_wpAddCountryPage

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPCountryClassDataStructure {
	SOMAny *classObject;
	somMToken wpAddCountryTimePage;
	somMToken wpAddCountryDatePage;
	somMToken withdrawn;
	somMToken wpAddCountryPage;
	somMToken wpAddCountryNumbersPage;
} WPCountryClassData;

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

#endif       /* wpctry_h */

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

#ifndef wpctry_mh
#define wpctry_mh


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

#define M_WPCountry_MajorVersion 1
#define M_WPCountry_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPCountryNewClass WPcouc
#pragma linkage(WPcouc, system)
#define M_WPCountryClassData WPcoud
#define M_WPCountryCClassData WPcoux
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPCountry_classObj M_WPCountryClassData.classObject
#define _M_WPCountry M_WPCountry_classObj

/*
 * New and Renew macros for M_WPCountry
 */
#define _M_WPCountryNew() (_somNew(M_WPCountryClassData.classObject))
#define M_WPCountryNew() \
	( M_WPCountryClassData.classObject \
		? _M_WPCountryNew() \
		: ( M_WPCountryNewClass(M_WPCountry_MajorVersion, M_WPCountry_MinorVersion), _M_WPCountryNew() ) )
#define M_WPCountryRenew(buf) \
	( _somRenew(M_WPCountryClassData.classObject, buf) )

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPCountryClassDataStructure {
	SOMAny *classObject;
} M_WPCountryClassData;

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

#endif       /* wpctry_h */
