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


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

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


#ifndef wptemps_h
#define wptemps_h


#include <som.h>

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

#define WPTemplates_MajorVersion 1
#define WPTemplates_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPTemplatesNewClass WPTplFdrc
#pragma linkage(WPTplFdrc, system)
#define WPTemplatesClassData WPTplFdrd
#define WPTemplatesCClassData WPTplFdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPTemplates_classObj WPTemplatesClassData.classObject
#define _WPTemplates WPTemplates_classObj

/*
 * New and Renew macros for WPTemplates
 */
#define _WPTemplatesNew() (_somNew(WPTemplatesClassData.classObject))
#define WPTemplatesNew() \
	( WPTemplatesClassData.classObject \
		? _WPTemplatesNew() \
		: ( WPTemplatesNewClass(WPTemplates_MajorVersion, WPTemplates_MinorVersion), _WPTemplatesNew() ) )
#define WPTemplatesRenew(buf) \
	( _somRenew(WPTemplatesClassData.classObject, buf) )

/*
 * Override method: wpPopulate
 */
#define WPTemplates_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly) \
	WPFolder_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly)

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPTemplatesClassDataStructure {
	SOMAny *classObject;
} WPTemplatesClassData;

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

#endif       /* wptemps_h */

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

#ifndef wptemps_mh
#define wptemps_mh


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

#define M_WPTemplates_MajorVersion 1
#define M_WPTemplates_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPTemplatesNewClass WPTplFdrc
#pragma linkage(WPTplFdrc, system)
#define M_WPTemplatesClassData WPTplFdrd
#define M_WPTemplatesCClassData WPTplFdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPTemplates_classObj M_WPTemplatesClassData.classObject
#define _M_WPTemplates M_WPTemplates_classObj

/*
 * New and Renew macros for M_WPTemplates
 */
#define _M_WPTemplatesNew() (_somNew(M_WPTemplatesClassData.classObject))
#define M_WPTemplatesNew() \
	( M_WPTemplatesClassData.classObject \
		? _M_WPTemplatesNew() \
		: ( M_WPTemplatesNewClass(M_WPTemplates_MajorVersion, M_WPTemplates_MinorVersion), _M_WPTemplatesNew() ) )
#define M_WPTemplatesRenew(buf) \
	( _somRenew(M_WPTemplatesClassData.classObject, buf) )

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPTemplatesClassDataStructure {
	SOMAny *classObject;
} M_WPTemplatesClassData;

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

#endif       /* wptemps_h */
