home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ibmodf.zip
/
OPEND_HH.ZIP
/
WPFSYS.HH
< prev
next >
Wrap
Text File
|
1995-04-24
|
8KB
|
202 lines
#ifndef _DTS_HH_INCLUDED_wpfsys
#define _DTS_HH_INCLUDED_wpfsys
/* Start Interface WPFileSystem */
// This file was generated by the IBM "DirectToSOM" emitter for C++ (V1.71)
// Generated at 04/13/95 11:51:27 EDT
#include <som.hh>
#pragma SOMAsDefault(on)
class SOMClass;
#pragma SOMAsDefault(pop)
#pragma SOMAsDefault(on)
class SOMObject;
#pragma SOMAsDefault(pop)
#pragma SOMAsDefault(on)
class WPFolder;
#pragma SOMAsDefault(pop)
#pragma SOMAsDefault(on)
class M_WPObject;
#pragma SOMAsDefault(pop)
#pragma SOMAsDefault(on)
class WPObject;
#pragma SOMAsDefault(pop)
#pragma SOMAsDefault(on)
class M_WPFileSystem;
#pragma SOMAsDefault(pop)
#include <wpobject.hh>
#pragma SOMNonDTS(on)
#pragma SOMAsDefault(on)
class WPFileSystem : public WPObject {
#pragma SOMClassName(*, "WPFileSystem")
#pragma SOMNoMangling(*)
#pragma SOMNoDataDirect(*)
#pragma SOMNonDTS(*)
#pragma SOMClassName (WPFileSystem, "WPFileSystem")
// #pragma SOMMetaClass (WPFileSystem, "M_WPFileSystem") aj: fixed per Brian Thomson: don't use SOM name, use C++ name (unquoted)
#pragma SOMMetaClass (WPFileSystem, M_WPFileSystem)
#pragma SOMClassVersion (WPFileSystem, 1, 2)
#pragma SOMCallstyle (oidl)
#pragma SOMAsDefault(off)
#pragma SOMAsDefault(pop)
public :
virtual BOOL wpSetRealName(PSZ pszName);
virtual BOOL wpSetType(PSZ pszTypes, PFEA2LIST pfeal);
virtual PSZ wpQueryType();
virtual BOOL wpSetAttr(ULONG attrFile);
virtual ULONG wpQueryAttr();
virtual ULONG wpAddFile1Page(HWND hwndNotebook);
virtual ULONG wpAddFile2Page(HWND hwndNotebook);
virtual ULONG wpAddFile3Page(HWND hwndNotebook);
virtual ULONG wpAddFileMenuPage(HWND hwndNotebook);
virtual ULONG wpQueryCreation(FDATE* fdate, FTIME* ftime);
virtual ULONG wpQueryLastAccess(FDATE* fdate, FTIME* ftime);
virtual ULONG wpQueryLastWrite(FDATE* fdate, FTIME* ftime);
virtual ULONG wpQueryFileSize();
virtual ULONG wpQueryEASize();
virtual ULONG wpSetDateInfo(FILEFINDBUF4* pstFileFindBuf);
virtual ULONG wpSetFileSizeInfo(ULONG cbFileSize, ULONG cbEASize);
virtual BOOL wpRefresh(ULONG ulView, PVOID pReserved);
virtual ULONG wpQueryRefreshFlags();
virtual BOOL wpSetRefreshFlags(ULONG ulRefreshFlags);
virtual BOOL wpPrintPlainTextFile(PPRINTDEST pPrintDest);
virtual BOOL wpSetTitleAndRenameFile(PSZ pszNewTitle, ULONG fConfirmations);
virtual ULONG wpConfirmRenameFileWithExt();
virtual ULONG wpVerifyUpdateAccess();
virtual BOOL wpAddUserItemsToPopupMenu(HWND hwndMenu, HWND hwndCnr,
ULONG iPosition);
virtual BOOL wpIsDiskSwapped();
virtual BOOL wpQueryRealName(PSZ pszFilename, PULONG pcb,
BOOL fQualified);
virtual PSZ wpQueryFilename(PSZ pszFilename, BOOL fQualified);
virtual WPFileSystem* wpQueryDisk();
virtual ULONG wpQueryDateInfo(FILEFINDBUF4* pstFileFindBuf);
virtual ULONG wpConfirmKeepAssoc();
virtual void wpUnInitData();
virtual HOBJECT wpQueryHandle();
virtual BOOL wpSaveImmediate();
virtual ULONG wpFilterPopupMenu(ULONG ulFlags, HWND hwndCnr,
BOOL fMultiSelect);
virtual BOOL wpSetTitle(PSZ pszNewTitle);
virtual HWND wpViewObject(HWND hwndCnr, ULONG ulView, ULONG param);
virtual BOOL wpSwitchTo(ULONG View);
virtual BOOL wpAddSettingsPages(HWND hwndNotebook);
virtual WPObject* wpCopyObject(WPFolder* Folder, BOOL fLock);
virtual WPObject* wpCreateFromTemplate(WPFolder* folder,
BOOL fLock);
virtual BOOL wpMoveObject(WPFolder* Folder);
virtual HPOINTER wpQueryIcon();
virtual ULONG wpQueryIconData(PICONINFO pIconInfo);
virtual BOOL wpSetIconData(PICONINFO pIconInfo);
virtual ULONG wpQueryDetailsData(PVOID* ppDetailsData, PULONG pcp);
virtual BOOL wpModifyPopupMenu(HWND hwndMenu, HWND hwndCnr,
ULONG iPosition);
virtual BOOL wpSaveState();
virtual BOOL wpRestoreState(ULONG ulReserved);
virtual BOOL wpMenuItemSelected(HWND hwndFrame, ULONG ulMenuId);
virtual HWND wpOpen(HWND hwndCnr, ULONG ulView, ULONG param);
virtual MRESULT wpDraggedOverObject(WPObject* DraggedOverObject);
virtual BOOL wpDroppedOnObject(WPObject* DroppedOnObject);
virtual BOOL wpFormatDragItem(PDRAGITEM pdrgItem);
virtual ULONG wpQueryNameClashOptions(ULONG menuID);
virtual BOOL32 wpAppendObject(WPObject* targetObject, BOOL32 fMove);
virtual BOOL32 wpReplaceObject(WPObject* targetObject, BOOL32 fMove);
virtual ULONG wpQueryStyle();
virtual BOOL wpSetStyle(ULONG ulNewStyle);
virtual BOOL wpDoesObjectMatch(PVOID pvoidExtendedCriteria);
#pragma SOMReleaseOrder ( \
"wpSetRealName", \
*, \
"wpSetType", \
"wpQueryType", \
"wpSetAttr", \
"wpQueryAttr", \
"wpQueryFilename", \
"wpAddFile1Page", \
"wpAddFile2Page", \
"wpAddFile3Page", \
"wpAddFileMenuPage", \
"wpQueryCreation", \
"wpQueryLastAccess", \
"wpQueryLastWrite", \
"wpQueryFileSize", \
"wpQueryEASize", \
"wpSetDateInfo", \
"wpSetFileSizeInfo", \
"wpRefresh", \
"wpPrintPlainTextFile", \
"wpSetRefreshFlags", \
"wpQueryRefreshFlags", \
*, \
"wpSetTitleAndRenameFile", \
"wpConfirmRenameFileWithExt", \
"wpConfirmKeepAssoc", \
*, \
"wpQueryDisk", \
"wpQueryDateInfo", \
*, \
*, \
"wpQueryRealName", \
"wpVerifyUpdateAccess", \
"wpAddUserItemsToPopupMenu", \
*, \
"wpIsDiskSwapped", \
*)
};
#pragma SOMAsDefault(pop)
#pragma SOMNonDTS(pop)
/* End WPFileSystem */
/* Start Interface M_WPFileSystem */
#include <wpobject.hh>
#include <somcls.hh>
#pragma SOMNonDTS(on)
#pragma SOMAsDefault(on)
class M_WPFileSystem : public M_WPObject {
#pragma SOMClassName(*, "M_WPFileSystem")
#pragma SOMNoMangling(*)
#pragma SOMNoDataDirect(*)
#pragma SOMNonDTS(*)
#pragma SOMClassVersion (M_WPFileSystem, 1, 2)
#pragma SOMCallstyle (oidl)
#pragma SOMAsDefault(off)
#pragma SOMAsDefault(pop)
public :
virtual WPObject* wpclsQueryAwakeObject(PSZ pszInputPath);
virtual WPObject* wpclsFileSysExists(SOMAny* Folder, PSZ pszFilename,
ULONG attrFile);
virtual WPObject* wpclsQueryObjectFromPath(PSZ pszFQPath);
virtual PSZ wpclsQueryInstanceType();
virtual PSZ wpclsQueryInstanceFilter();
virtual void wpclsInitData();
virtual PSZ wpclsQueryTitle();
virtual ULONG wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo,
PULONG pSize);
virtual void wpclsQuerySearchInfo(M_WPObject** ClassExtended,
M_WPObject** ClassCreate,
PULONG pulClassCriteriaSize);
virtual BOOL wpclsQueryExtendedCriteria(PSZ pszName, ULONG ulSearchType,
PVOID pvoidExtendedCriteria);
virtual WPObject* wpclsNew(PSZ pszTitle, PSZ pszSetupEnv,
WPFolder* Folder, BOOL fLock);
#pragma SOMReleaseOrder ( \
"wpclsQueryInstanceType", \
"wpclsQueryInstanceFilter", \
"wpclsQueryObjectFromPath", \
"wpclsQueryAwakeObject", \
"wpclsFileSysExists")
};
#pragma SOMAsDefault(pop)
#pragma SOMNonDTS(pop)
/* End M_WPFileSystem */
#endif /* _DTS_HH_INCLUDED_wpfsys */