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


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

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


#ifndef wpcmdf_h
#define wpcmdf_h


#include <som.h>

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

#define WPCommandFile_MajorVersion 1
#define WPCommandFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPCommandFileNewClass wpcmdc
#pragma linkage(wpcmdc, system)
#define WPCommandFileClassData wpcmdd
#define WPCommandFileCClassData wpcmdx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPCommandFile_classObj WPCommandFileClassData.classObject
#define _WPCommandFile WPCommandFile_classObj

/*
 * New and Renew macros for WPCommandFile
 */
#define _WPCommandFileNew() (_somNew(WPCommandFileClassData.classObject))
#define WPCommandFileNew() \
	( WPCommandFileClassData.classObject \
		? _WPCommandFileNew() \
		: ( WPCommandFileNewClass(WPCommandFile_MajorVersion, WPCommandFile_MinorVersion), _WPCommandFileNew() ) )
#define WPCommandFileRenew(buf) \
	( _somRenew(WPCommandFileClassData.classObject, buf) )

/*
 * Override method: wpPrintObject
 */
#define WPCommandFile_wpPrintObject(somSelf,pPrintDest,ulReserved) \
	WPObject_wpPrintObject(somSelf,pPrintDest,ulReserved)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPCommandFileClassDataStructure {
	SOMAny *classObject;
} WPCommandFileClassData;

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

#endif       /* wpcmdf_h */

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

#ifndef wpcmdf_mh
#define wpcmdf_mh


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

#define M_WPCommandFile_MajorVersion 1
#define M_WPCommandFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPCommandFileNewClass wpcmdc
#pragma linkage(wpcmdc, system)
#define M_WPCommandFileClassData wpcmdd
#define M_WPCommandFileCClassData wpcmdx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPCommandFile_classObj M_WPCommandFileClassData.classObject
#define _M_WPCommandFile M_WPCommandFile_classObj

/*
 * New and Renew macros for M_WPCommandFile
 */
#define _M_WPCommandFileNew() (_somNew(M_WPCommandFileClassData.classObject))
#define M_WPCommandFileNew() \
	( M_WPCommandFileClassData.classObject \
		? _M_WPCommandFileNew() \
		: ( M_WPCommandFileNewClass(M_WPCommandFile_MajorVersion, M_WPCommandFile_MinorVersion), _M_WPCommandFileNew() ) )
#define M_WPCommandFileRenew(buf) \
	( _somRenew(M_WPCommandFileClassData.classObject, buf) )

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

/*
 * Override method: wpclsQueryInstanceFilter
 */
#define M_WPCommandFile_wpclsQueryInstanceFilter(somSelf) \
	M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)

/*
 * Override method: wpclsQueryInstanceType
 */
#define M_WPCommandFile_wpclsQueryInstanceType(somSelf) \
	M_WPFileSystem_wpclsQueryInstanceType(somSelf)

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPCommandFileClassDataStructure {
	SOMAny *classObject;
} M_WPCommandFileClassData;

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

#endif       /* wpcmdf_h */
