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

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


#ifndef wpshred_h
#define wpshred_h


#include <som.h>

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

#define WPShredder_MajorVersion 1
#define WPShredder_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPShredderNewClass WPShredc
#pragma linkage(WPShredc, system)
#define WPShredderClassData WPShredd
#define WPShredderCClassData WPShredx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPShredder_classObj WPShredderClassData.classObject
#define _WPShredder WPShredder_classObj

/*
 * New and Renew macros for WPShredder
 */
#define _WPShredderNew() (_somNew(WPShredderClassData.classObject))
#define WPShredderNew() \
	( WPShredderClassData.classObject \
		? _WPShredderNew() \
		: ( WPShredderNewClass(WPShredder_MajorVersion, WPShredder_MinorVersion), _WPShredderNew() ) )
#define WPShredderRenew(buf) \
	( _somRenew(WPShredderClassData.classObject, buf) )

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

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

/*
 * Override method: wpDragOver
 */
#define WPShredder_wpDragOver(somSelf,hwndCnr,pdrgInfo) \
	WPObject_wpDragOver(somSelf,hwndCnr,pdrgInfo)

/*
 * Override method: wpDrop
 */
#define WPShredder_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
	WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPShredderClassDataStructure {
	SOMAny *classObject;
} WPShredderClassData;

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

#endif       /* wpshred_h */

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

#ifndef wpshred_mh
#define wpshred_mh


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

#define M_WPShredder_MajorVersion 1
#define M_WPShredder_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPShredderNewClass WPShredc
#pragma linkage(WPShredc, system)
#define M_WPShredderClassData WPShredd
#define M_WPShredderCClassData WPShredx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPShredder_classObj M_WPShredderClassData.classObject
#define _M_WPShredder M_WPShredder_classObj

/*
 * New and Renew macros for M_WPShredder
 */
#define _M_WPShredderNew() (_somNew(M_WPShredderClassData.classObject))
#define M_WPShredderNew() \
	( M_WPShredderClassData.classObject \
		? _M_WPShredderNew() \
		: ( M_WPShredderNewClass(M_WPShredder_MajorVersion, M_WPShredder_MinorVersion), _M_WPShredderNew() ) )
#define M_WPShredderRenew(buf) \
	( _somRenew(M_WPShredderClassData.classObject, buf) )

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPShredderClassDataStructure {
	SOMAny *classObject;
} M_WPShredderClassData;

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

#endif       /* wpshred_h */
