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


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

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


#ifndef wpdrives_h
#define wpdrives_h


#include <som.h>

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

#define WPDrives_MajorVersion 1
#define WPDrives_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPDrivesNewClass wpdrvc
#pragma linkage(wpdrvc, system)
#define WPDrivesClassData wpdrvd
#define WPDrivesCClassData wpdrvx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPDrives_classObj WPDrivesClassData.classObject
#define _WPDrives WPDrives_classObj

/*
 * New and Renew macros for WPDrives
 */
#define _WPDrivesNew() (_somNew(WPDrivesClassData.classObject))
#define WPDrivesNew() \
	( WPDrivesClassData.classObject \
		? _WPDrivesNew() \
		: ( WPDrivesNewClass(WPDrives_MajorVersion, WPDrives_MinorVersion), _WPDrivesNew() ) )
#define WPDrivesRenew(buf) \
	( _somRenew(WPDrivesClassData.classObject, buf) )

/*
 * Override method: wpMenuItemSelected
 */
#define WPDrives_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
	WPObject_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId)

/*
 * Override method: wpModifyPopupMenu
 */
#define WPDrives_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
	WPObject_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition)

/*
 * Override method: wpMenuItemHelpSelected
 */
#define WPDrives_wpMenuItemHelpSelected(somSelf,MenuId) \
	WPObject_wpMenuItemHelpSelected(somSelf,MenuId)

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

/*
 * Override method: wpPopulate
 */
#define WPDrives_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly) \
	WPFolder_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPDrivesClassDataStructure {
	SOMAny *classObject;
} WPDrivesClassData;

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

#endif       /* wpdrives_h */

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

#ifndef wpdrives_mh
#define wpdrives_mh


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

#define M_WPDrives_MajorVersion 1
#define M_WPDrives_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPDrivesNewClass wpdrvc
#pragma linkage(wpdrvc, system)
#define M_WPDrivesClassData wpdrvd
#define M_WPDrivesCClassData wpdrvx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPDrives_classObj M_WPDrivesClassData.classObject
#define _M_WPDrives M_WPDrives_classObj

/*
 * New and Renew macros for M_WPDrives
 */
#define _M_WPDrivesNew() (_somNew(M_WPDrivesClassData.classObject))
#define M_WPDrivesNew() \
	( M_WPDrivesClassData.classObject \
		? _M_WPDrivesNew() \
		: ( M_WPDrivesNewClass(M_WPDrives_MajorVersion, M_WPDrives_MinorVersion), _M_WPDrivesNew() ) )
#define M_WPDrivesRenew(buf) \
	( _somRenew(M_WPDrivesClassData.classObject, buf) )

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPDrivesClassDataStructure {
	SOMAny *classObject;
} M_WPDrivesClassData;

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

#endif       /* wpdrives_h */
