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

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


#ifndef wpspneed_h
#define wpspneed_h


#include <som.h>

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

#define WPSpecialNeeds_MajorVersion 1
#define WPSpecialNeeds_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPSpecialNeedsNewClass wpspnc
#pragma linkage(wpspnc, system)
#define WPSpecialNeedsClassData wpspnd
#define WPSpecialNeedsCClassData wpspnx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPSpecialNeeds_classObj WPSpecialNeedsClassData.classObject
#define _WPSpecialNeeds WPSpecialNeeds_classObj

/*
 * New and Renew macros for WPSpecialNeeds
 */
#define _WPSpecialNeedsNew() (_somNew(WPSpecialNeedsClassData.classObject))
#define WPSpecialNeedsNew() \
	( WPSpecialNeedsClassData.classObject \
		? _WPSpecialNeedsNew() \
		: ( WPSpecialNeedsNewClass(WPSpecialNeeds_MajorVersion, WPSpecialNeeds_MinorVersion), _WPSpecialNeedsNew() ) )
#define WPSpecialNeedsRenew(buf) \
	( _somRenew(WPSpecialNeedsClassData.classObject, buf) )

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPSpecialNeedsClassDataStructure {
	SOMAny *classObject;
} WPSpecialNeedsClassData;

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

#endif       /* wpspneed_h */

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

#ifndef wpspneed_mh
#define wpspneed_mh


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

#define M_WPSpecialNeeds_MajorVersion 1
#define M_WPSpecialNeeds_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPSpecialNeedsNewClass wpspnc
#pragma linkage(wpspnc, system)
#define M_WPSpecialNeedsClassData wpspnd
#define M_WPSpecialNeedsCClassData wpspnx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPSpecialNeeds_classObj M_WPSpecialNeedsClassData.classObject
#define _M_WPSpecialNeeds M_WPSpecialNeeds_classObj

/*
 * New and Renew macros for M_WPSpecialNeeds
 */
#define _M_WPSpecialNeedsNew() (_somNew(M_WPSpecialNeedsClassData.classObject))
#define M_WPSpecialNeedsNew() \
	( M_WPSpecialNeedsClassData.classObject \
		? _M_WPSpecialNeedsNew() \
		: ( M_WPSpecialNeedsNewClass(M_WPSpecialNeeds_MajorVersion, M_WPSpecialNeeds_MinorVersion), _M_WPSpecialNeedsNew() ) )
#define M_WPSpecialNeedsRenew(buf) \
	( _somRenew(M_WPSpecialNeedsClassData.classObject, buf) )

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPSpecialNeedsClassDataStructure {
	SOMAny *classObject;
} M_WPSpecialNeedsClassData;

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

#endif       /* wpspneed_h */
