/* Copyright (c) 1992 Colin Jensen.  All Rights Reserved. */


/*
 * This file was generated by the SOM Compiler.
 * FileName: ..\..\ibmh\wpbitmap.h.
 * Generated using:
 *     SOM Precompiler spc: 1.22
 *     SOM Emitter emith: 1.11
 */

/*
 * 
 *  Module Header
 * 
 *  Module Name: WPBITMAP
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1991, 1992
 * 
 */


#ifndef wpbitmap_h
#define wpbitmap_h


#include <som.h>

/*
 * Define the class name as an object type
 */
#ifndef WPBitmap
#define WPBitmap SOMAny
#endif
#include "wpdataf.h"

#define WPBitmap_MajorVersion 1
#define WPBitmap_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPBitmapNewClass wpbmpc
#pragma linkage(wpbmpc, system)
#define WPBitmapClassData wpbmpd
#define WPBitmapCClassData wpbmpx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPBitmap_classObj WPBitmapClassData.classObject
#define _WPBitmap WPBitmap_classObj

/*
 * New and Renew macros for WPBitmap
 */
#define _WPBitmapNew() (_somNew(WPBitmapClassData.classObject))
#define WPBitmapNew() \
	( WPBitmapClassData.classObject \
		? _WPBitmapNew() \
		: ( WPBitmapNewClass(WPBitmap_MajorVersion, WPBitmap_MinorVersion), _WPBitmapNew() ) )
#define WPBitmapRenew(buf) \
	( _somRenew(WPBitmapClassData.classObject, buf) )

/*
 * Override method: wpSetup
 */
#define WPBitmap_wpSetup(somSelf,pszSetupString) \
	WPObject_wpSetup(somSelf,pszSetupString)

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMAny * SOMLINK WPBitmapNewClass(integer4 scemajorVersion,
		integer4 sceminorVersion);
#pragma linkage(WPBitmapNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPBitmapClassDataStructure {
	SOMAny *classObject;
} WPBitmapClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct WPBitmapCClassDataStructure {
	somMethodTab *parentMtab;
	somDToken instanceDataToken;
} WPBitmapCClassData;

#endif       /* wpbitmap_h */

/*
 * This file was generated by the SOM Compiler.
 * FileName: ..\..\ibmh\wpbitmap.h.
 * Generated using:
 *     SOM Precompiler spc: 1.22
 *     SOM Emitter emith: 1.11
 */

#ifndef wpbitmap_mh
#define wpbitmap_mh


/*
 * Define the class name as an object type
 */
#ifndef M_WPBitmap
#define M_WPBitmap SOMAny
#endif

#define M_WPBitmap_MajorVersion 1
#define M_WPBitmap_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPBitmapNewClass wpbmpc
#pragma linkage(wpbmpc, system)
#define M_WPBitmapClassData wpbmpd
#define M_WPBitmapCClassData wpbmpx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPBitmap_classObj M_WPBitmapClassData.classObject
#define _M_WPBitmap M_WPBitmap_classObj

/*
 * New and Renew macros for M_WPBitmap
 */
#define _M_WPBitmapNew() (_somNew(M_WPBitmapClassData.classObject))
#define M_WPBitmapNew() \
	( M_WPBitmapClassData.classObject \
		? _M_WPBitmapNew() \
		: ( M_WPBitmapNewClass(M_WPBitmap_MajorVersion, M_WPBitmap_MinorVersion), _M_WPBitmapNew() ) )
#define M_WPBitmapRenew(buf) \
	( _somRenew(M_WPBitmapClassData.classObject, buf) )

/*
 * Override method: wpclsQueryInstanceFilter
 */
#define M_WPBitmap_wpclsQueryInstanceFilter(somSelf) \
	M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)

/*
 * Override method: wpclsQueryInstanceType
 */
#define M_WPBitmap_wpclsQueryInstanceType(somSelf) \
	M_WPFileSystem_wpclsQueryInstanceType(somSelf)

/*
 * Override method: wpclsInitData
 */
#define M_WPBitmap_wpclsInitData(somSelf) \
	M_WPObject_wpclsInitData(somSelf)

/*
 * Override method: wpclsQueryTitle
 */
#define M_WPBitmap_wpclsQueryTitle(somSelf) \
	M_WPObject_wpclsQueryTitle(somSelf)

/*
 * Override method: wpclsQueryDefaultHelp
 */
#define M_WPBitmap_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
	M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMAny * SOMLINK M_WPBitmapNewClass(integer4 scemajorVersion,
		integer4 sceminorVersion);
#pragma linkage(M_WPBitmapNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPBitmapClassDataStructure {
	SOMAny *classObject;
} M_WPBitmapClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct M_WPBitmapCClassDataStructure {
	somMethodTab *parentMtab;
	somDToken instanceDataToken;
} M_WPBitmapCClassData;

#endif       /* wpbitmap_h */
