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


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

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


#ifndef wpsound_h
#define wpsound_h


#include <som.h>

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

#define WPSound_MajorVersion 1
#define WPSound_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPSoundNewClass WPsouc
#pragma linkage(WPsouc, system)
#define WPSoundClassData WPsoud
#define WPSoundCClassData WPsoux
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPSound_classObj WPSoundClassData.classObject
#define _WPSound WPSound_classObj

/*
 * New and Renew macros for WPSound
 */
#define _WPSoundNew() (_somNew(WPSoundClassData.classObject))
#define WPSoundNew() \
	( WPSoundClassData.classObject \
		? _WPSoundNew() \
		: ( WPSoundNewClass(WPSound_MajorVersion, WPSound_MinorVersion), _WPSoundNew() ) )
#define WPSoundRenew(buf) \
	( _somRenew(WPSoundClassData.classObject, buf) )

/*
 * Override method: wpAddSettingsPages
 */
#define WPSound_wpAddSettingsPages(somSelf,hwndNotebook) \
	WPObject_wpAddSettingsPages(somSelf,hwndNotebook)

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

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

/*
 * New Method: wpAddSoundWarningBeepPage
 */
typedef ULONG    SOMLINK somTP_WPSound_wpAddSoundWarningBeepPage(WPSound *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_WPSound_wpAddSoundWarningBeepPage, system)
typedef somTP_WPSound_wpAddSoundWarningBeepPage *somTD_WPSound_wpAddSoundWarningBeepPage;
#define somMD_WPSound_wpAddSoundWarningBeepPage "----"
#define WPSound_wpAddSoundWarningBeepPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSound, wpAddSoundWarningBeepPage) \
	(somSelf,hwndNotebook))
#define _wpAddSoundWarningBeepPage WPSound_wpAddSoundWarningBeepPage

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPSoundClassDataStructure {
	SOMAny *classObject;
	somMToken wpAddSoundWarningBeepPage;
} WPSoundClassData;

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

#endif       /* wpsound_h */

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

#ifndef wpsound_mh
#define wpsound_mh


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

#define M_WPSound_MajorVersion 1
#define M_WPSound_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPSoundNewClass WPsouc
#pragma linkage(WPsouc, system)
#define M_WPSoundClassData WPsoud
#define M_WPSoundCClassData WPsoux
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPSound_classObj M_WPSoundClassData.classObject
#define _M_WPSound M_WPSound_classObj

/*
 * New and Renew macros for M_WPSound
 */
#define _M_WPSoundNew() (_somNew(M_WPSoundClassData.classObject))
#define M_WPSoundNew() \
	( M_WPSoundClassData.classObject \
		? _M_WPSoundNew() \
		: ( M_WPSoundNewClass(M_WPSound_MajorVersion, M_WPSound_MinorVersion), _M_WPSoundNew() ) )
#define M_WPSoundRenew(buf) \
	( _somRenew(M_WPSoundClassData.classObject, buf) )

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPSoundClassDataStructure {
	SOMAny *classObject;
} M_WPSoundClassData;

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

#endif       /* wpsound_h */
