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


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

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


#ifndef wprootf_h
#define wprootf_h


#include <som.h>

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

#define WPRootFolder_MajorVersion 1
#define WPRootFolder_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPRootFolderNewClass wprfc
#pragma linkage(wprfc, system)
#define WPRootFolderClassData wprfd
#define WPRootFolderCClassData wprfx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPRootFolder_classObj WPRootFolderClassData.classObject
#define _WPRootFolder WPRootFolder_classObj

/*
 * New and Renew macros for WPRootFolder
 */
#define _WPRootFolderNew() (_somNew(WPRootFolderClassData.classObject))
#define WPRootFolderNew() \
	( WPRootFolderClassData.classObject \
		? _WPRootFolderNew() \
		: ( WPRootFolderNewClass(WPRootFolder_MajorVersion, WPRootFolder_MinorVersion), _WPRootFolderNew() ) )
#define WPRootFolderRenew(buf) \
	( _somRenew(WPRootFolderClassData.classObject, buf) )

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

/*
 * Override method: wpSetTitle
 */
#define WPRootFolder_wpSetTitle(somSelf,pszNewTitle) \
	WPObject_wpSetTitle(somSelf,pszNewTitle)

/*
 * Override method: wpOpen
 */
#define WPRootFolder_wpOpen(somSelf,hwndCnr,ulView,param) \
	WPObject_wpOpen(somSelf,hwndCnr,ulView,param)

/*
 * Override method: wpSaveState
 */
#define WPRootFolder_wpSaveState(somSelf) \
	WPObject_wpSaveState(somSelf)

/*
 * Override method: wpRestoreState
 */
#define WPRootFolder_wpRestoreState(somSelf,ulReserved) \
	WPObject_wpRestoreState(somSelf,ulReserved)

/*
 * Override method: wpAddFile1Page
 */
#define WPRootFolder_wpAddFile1Page(somSelf,hwndNotebook) \
	WPFileSystem_wpAddFile1Page(somSelf,hwndNotebook)

/*
 * Override method: wpAddFile2Page
 */
#define WPRootFolder_wpAddFile2Page(somSelf,hwndNotebook) \
	WPFileSystem_wpAddFile2Page(somSelf,hwndNotebook)

/*
 * Override method: wpAddFile3Page
 */
#define WPRootFolder_wpAddFile3Page(somSelf,hwndNotebook) \
	WPFileSystem_wpAddFile3Page(somSelf,hwndNotebook)

/*
 * Override method: wpSetDefaultView
 */
#define WPRootFolder_wpSetDefaultView(somSelf,ulView) \
	WPObject_wpSetDefaultView(somSelf,ulView)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPRootFolderClassDataStructure {
	SOMAny *classObject;
	somMToken wpSetViewTitle;
} WPRootFolderClassData;

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

#endif       /* wprootf_h */

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

#ifndef wprootf_mh
#define wprootf_mh


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

#define M_WPRootFolder_MajorVersion 1
#define M_WPRootFolder_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPRootFolderNewClass wprfc
#pragma linkage(wprfc, system)
#define M_WPRootFolderClassData wprfd
#define M_WPRootFolderCClassData wprfx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPRootFolder_classObj M_WPRootFolderClassData.classObject
#define _M_WPRootFolder M_WPRootFolder_classObj

/*
 * New and Renew macros for M_WPRootFolder
 */
#define _M_WPRootFolderNew() (_somNew(M_WPRootFolderClassData.classObject))
#define M_WPRootFolderNew() \
	( M_WPRootFolderClassData.classObject \
		? _M_WPRootFolderNew() \
		: ( M_WPRootFolderNewClass(M_WPRootFolder_MajorVersion, M_WPRootFolder_MinorVersion), _M_WPRootFolderNew() ) )
#define M_WPRootFolderRenew(buf) \
	( _somRenew(M_WPRootFolderClassData.classObject, buf) )

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

/*
 * Override method: wpclsInitData
 */
#define M_WPRootFolder_wpclsInitData(somSelf) \
	M_WPObject_wpclsInitData(somSelf)

/*
 * Override method: wpclsUnInitData
 */
#define M_WPRootFolder_wpclsUnInitData(somSelf) \
	M_WPObject_wpclsUnInitData(somSelf)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPRootFolderClassDataStructure {
	SOMAny *classObject;
} M_WPRootFolderClassData;

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

#endif       /* wprootf_h */
