home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ibmodf.zip
/
OPEND_HH.ZIP
/
WPOBJECT.HH
< prev
Wrap
Text File
|
1995-04-24
|
19KB
|
465 lines
#ifndef _DTS_HH_INCLUDED_wpobject
#define _DTS_HH_INCLUDED_wpobject
/* Start Interface WPObject */
// This file was generated by the IBM "DirectToSOM" emitter for C++ (V1.71)
// Generated at 04/13/95 11:51:57 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)
#include <somobj.hh>
#pragma SOMNonDTS(on)
#pragma SOMAsDefault(on)
class WPObject : public SOMObject {
#pragma SOMClassName(*, "WPObject")
#pragma SOMNoMangling(*)
#pragma SOMNoDataDirect(*)
#pragma SOMNonDTS(*)
#pragma SOMClassName (WPObject, "WPObject")
// #pragma SOMMetaClass (WPObject, "M_WPObject") aj: fixed per Brian Thomson: don't use SOM name, use C++ name (unquoted)
#pragma SOMMetaClass (WPObject, M_WPObject)
#pragma SOMClassVersion (WPObject, 1, 2)
#pragma SOMCallstyle (oidl)
#pragma SOMAsDefault(off)
#pragma SOMAsDefault(pop)
public :
virtual ULONG wpAddObjectGeneralPage(HWND hwndNotebook);
virtual ULONG wpAddObjectGeneralPage2(HWND hwndNotebook);
virtual ULONG wpAddObjectWindowPage(HWND hwndNotebook);
virtual BOOL wpAddSettingsPages(HWND hwndNotebook);
virtual BOOL wpAddToObjUseList(PUSEITEM pUseItem);
virtual PBYTE wpAllocMem(ULONG cbBytes, PULONG prc);
virtual BOOL32 wpAppendObject(WPObject* targetObject, BOOL32 fMove);
virtual BOOL wpAssertObjectMutexSem();
virtual BOOL wpClose();
virtual PMINIRECORDCORE wpCnrInsertObject(HWND hwndCnr,
PPOINTL pptlIcon,
PMINIRECORDCORE preccParent,
PRECORDINSERT pRecInsert);
virtual BOOL wpCnrRemoveObject(HWND hwndCnr);
virtual BOOL wpCnrSetEmphasis(ULONG ulEmphasisAttr, BOOL fTurnOn);
virtual ULONG wpConfirmDelete(ULONG fConfirmations);
virtual ULONG wpConfirmObjectTitle(WPFolder* Folder, WPObject** ppDuplicate,
PSZ pszTitle, ULONG cbTitle,
ULONG menuID);
virtual void wpCopiedFromTemplate();
virtual WPObject* wpCopyObject(WPFolder* Folder, BOOL fLock);
virtual WPObject* wpCreateAnother(PSZ pszTitle, PSZ pszSetupEnv,
WPFolder* Folder);
virtual WPObject* wpCreateFromTemplate(WPFolder* folder,
BOOL fLock);
virtual WPObject* wpCreateShadowObject(WPFolder* Folder,
BOOL fLock);
virtual ULONG wpDelete(ULONG fConfirmations);
virtual BOOL wpDeleteFromObjUseList(PUSEITEM pUseItem);
virtual BOOL wpDisplayHelp(ULONG HelpPanelId, PSZ HelpLibrary);
virtual HWND wpDisplayMenu(HWND hwndOwner, HWND hwndClient,
POINTL* ptlPopupPt, ULONG ulMenuType,
ULONG ulReserved);
virtual BOOL wpDoesObjectMatch(PVOID pvoidExtendedCriteria);
virtual MRESULT wpDraggedOverObject(WPObject* DraggedOverObject);
virtual MRESULT wpDragOver(HWND hwndCnr, PDRAGINFO pdrgInfo);
virtual MRESULT wpDrop(HWND hwndCnr, PDRAGINFO pdrgInfo,
PDRAGITEM pdrgItem);
virtual BOOL wpDroppedOnObject(WPObject* DroppedOnObject);
virtual MRESULT wpEndConversation(ULONG ulItemID, ULONG flResult);
virtual ULONG wpFilterPopupMenu(ULONG ulFlags, HWND hwndCnr,
BOOL fMultiSelect);
virtual PUSEITEM wpFindUseItem(ULONG type, PUSEITEM pCurrentItem);
virtual BOOL wpFormatDragItem(PDRAGITEM pdrgItem);
virtual BOOL wpFree();
virtual BOOL wpFreeMem(PBYTE pByte);
virtual BOOL wpHide();
virtual void wpInitData();
virtual BOOL wpInsertPopupMenuItems(HWND hwndMenu, ULONG iPosition,
HMODULE hmod, ULONG MenuID,
ULONG SubMenuID);
virtual ULONG wpInsertSettingsPage(HWND hwndNotebook, PPAGEINFO ppageinfo);
virtual BOOL wpMenuItemHelpSelected(ULONG MenuId);
virtual BOOL wpMenuItemSelected(HWND hwndFrame, ULONG ulMenuId);
virtual BOOL wpModifyPopupMenu(HWND hwndMenu, HWND hwndCnr,
ULONG iPosition);
virtual BOOL wpMoveObject(WPFolder* Folder);
virtual HWND wpOpen(HWND hwndCnr, ULONG ulView, ULONG param);
virtual BOOL wpPrintObject(PPRINTDEST pPrintDest, ULONG ulReserved);
virtual ULONG wpQueryConcurrentView();
virtual ULONG wpQueryButtonAppearance();
virtual ULONG wpQueryConfirmations();
virtual BOOL wpQueryDefaultHelp(PULONG pHelpPanelId, PSZ HelpLibrary);
virtual ULONG wpQueryDefaultView();
virtual ULONG wpQueryDetailsData(PVOID* ppDetailsData, PULONG pcp);
virtual ULONG wpQueryError();
virtual BOOL wpSetFolder(WPObject* container);
virtual WPObject* wpQueryFolder();
virtual HPOINTER wpQueryIcon();
virtual ULONG wpQueryIconData(PICONINFO pIconInfo);
virtual ULONG wpQueryMinWindow();
virtual ULONG wpQueryNameClashOptions(ULONG menuID);
virtual ULONG wpQueryStyle();
virtual BOOL32 wpSetTaskRec(PTASKREC pNew, PTASKREC pOld);
virtual PTASKREC wpFindTaskRec();
virtual PSZ wpQueryTitle();
virtual BOOL wpRegisterView(HWND hwndFrame, PSZ pszViewTitle);
virtual ULONG wpReleaseObjectMutexSem();
virtual MRESULT wpRender(PDRAGTRANSFER pdxfer);
virtual MRESULT wpRenderComplete(PDRAGTRANSFER pdxfer, ULONG ulResult);
virtual BOOL32 wpReplaceObject(WPObject* targetObject, BOOL32 fMove);
virtual ULONG wpRequestObjectMutexSem(ULONG ulTimeout);
virtual BOOL wpRestore();
virtual BOOL wpRestoreData(PSZ pszClass, ULONG ulKey, PBYTE pValue,
PULONG pcbValue);
virtual BOOL wpRestoreLong(PSZ pszClass, ULONG ulKey, PULONG pulValue);
virtual BOOL wpRestoreState(ULONG ulReserved);
virtual BOOL wpRestoreString(PSZ pszClass, ULONG ulKey,
PSZ pszValue, PULONG pcbValue);
virtual BOOL wpSaveData(PSZ pszClass, ULONG ulKey, PBYTE pValue,
ULONG cbValue);
virtual BOOL wpSaveImmediate();
virtual BOOL wpSaveDeferred();
virtual BOOL wpSaveLong(PSZ pszClass, ULONG ulKey, ULONG ulValue);
virtual BOOL wpSaveState();
virtual BOOL wpSaveString(PSZ pszClass, ULONG ulKey, PSZ pszValue);
virtual BOOL wpScanSetupString(PSZ pszSetupString, PSZ pszKey,
PSZ pszValue, PULONG pcbValue);
virtual void wpSetConcurrentView(ULONG ulCCView);
virtual void wpSetButtonAppearance(ULONG ulButtonType);
virtual BOOL wpSetDefaultHelp(ULONG HelpPanelId, PSZ HelpLibrary);
virtual BOOL wpSetDefaultView(ULONG ulView);
virtual BOOL wpSetError(ULONG ulErrorId);
virtual BOOL wpSetIconHandle(HPOINTER hptrNewIcon);
virtual USHORT wpQueryScreenGroupID(USHORT usPrevSgId);
virtual BOOL wpSetupOnce(PSZ pszSetupString);
virtual BOOL wpSetIcon(HPOINTER hptrNewIcon);
virtual BOOL wpSetIconData(PICONINFO pIconInfo);
virtual void wpSetMinWindow(ULONG ulMinWindow);
virtual BOOL wpSetStyle(ULONG ulNewStyle);
virtual BOOL wpModifyStyle(ULONG ulStyleFlags, ULONG ulStyleMask);
virtual BOOL wpSetTitle(PSZ pszNewTitle);
virtual BOOL wpSetup(PSZ pszSetupString);
virtual BOOL wpSwitchTo(ULONG View);
virtual void wpUnInitData();
virtual HWND wpViewObject(HWND hwndCnr, ULONG ulView, ULONG param);
virtual ULONG wpQueryTrueStyle();
virtual HOBJECT wpQueryHandle();
virtual BOOL wpUnlockObject();
virtual void wpObjectReady(ULONG ulCode, WPObject* refObject);
virtual BOOL wpIsObjectInitialized();
virtual WPObject* wpCreateShadowObjectExt(WPFolder* Folder,
BOOL fLock, PSZ pszSetup,
M_WPObject* shadowClass);
virtual BOOL wpCnrDeleteUseItem(HWND hwndCnr);
virtual BOOL wpIsDeleteable();
virtual PMINIRECORDCORE wpQueryCoreRecord();
virtual BOOL wpSetObjectID(PSZ pszObjectID);
virtual PSZ wpQueryObjectID();
virtual BOOL wpSetDefaultIconPos(PPOINTL pPointl);
virtual BOOL wpQueryDefaultIconPos(PPOINTL pPointl);
virtual void wpCnrRefreshDetails();
virtual PVIEWITEM wpFindViewItem(ULONG flViews, PVIEWITEM pCurrentItem);
virtual void wpLockObject();
virtual BOOL wpIsLocked();
virtual PULONG wpQueryContainerFlagPtr();
virtual ULONG wpWaitForClose(LHANDLE lhView, ULONG ulViews,
long lTimeOut, BOOL bAutoClose);
WPObject();
virtual ~WPObject();
#pragma SOMReleaseOrder ( \
"wpSetTitle", \
"wpQueryTitle", \
"wpSetStyle", \
"wpQueryStyle", \
"wpSetIcon", \
"wpQueryIcon", \
"wpSetFolder", \
"wpQueryFolder", \
*, \
*, \
"wpSetDefaultView", \
"wpQueryDefaultView", \
*, \
"wpSaveState", \
*, \
*, \
"wpSaveLong", \
"wpSaveString", \
"wpSaveData", \
*, \
"wpRestoreState", \
*, \
*, \
"wpRestoreLong", \
"wpRestoreString", \
"wpRestoreData", \
*, \
"wpAllocMem", \
"wpFreeMem", \
"wpAddToObjUseList", \
"wpDeleteFromObjUseList", \
"wpFindUseItem", \
"wpSwitchTo", \
*, \
"wpFilterPopupMenu", \
"wpModifyPopupMenu", \
"wpMenuItemSelected", \
"wpFormatDragItem", \
"wpDrop", \
"wpDragOver", \
"wpRender", \
"wpEndConversation", \
*, \
*, \
*, \
"wpFree", \
"wpCopiedFromTemplate", \
"wpAddSettingsPages", \
"wpAddObjectGeneralPage", \
"wpDisplayHelp", \
"wpMenuItemHelpSelected", \
"wpInsertSettingsPage", \
"wpInsertPopupMenuItems", \
*, \
*, \
*, \
*, \
"wpCnrInsertObject", \
"wpCnrRemoveObject", \
"wpInitData", \
"wpUnInitData", \
"wpSetup", \
"wpScanSetupString", \
"wpSaveImmediate", \
"wpOpen", \
"wpClose", \
"wpHide", \
"wpRestore", \
"wpSetIconData", \
"wpQueryIconData", \
*, \
"wpDelete", \
"wpConfirmDelete", \
*, \
*, \
*, \
"wpRegisterView", \
*, \
"wpSetDefaultHelp", \
"wpQueryDefaultHelp", \
"wpDoesObjectMatch", \
"wpCnrRefreshDetails", \
"wpSetError", \
"wpQueryError", \
"wpDraggedOverObject", \
"wpDroppedOnObject", \
"wpSetDefaultIconPos", \
"wpQueryDefaultIconPos", \
*, \
*, \
"wpSetObjectID", \
"wpQueryObjectID", \
"wpIsDeleteable", \
"wpQueryHandle", \
"wpSaveDeferred", \
"wpAddObjectWindowPage", \
"wpQueryConcurrentView", \
"wpSetConcurrentView", \
"wpQueryMinWindow", \
"wpSetMinWindow", \
"wpViewObject", \
"wpQueryButtonAppearance", \
"wpSetButtonAppearance", \
"wpQueryConfirmations", \
"wpCnrSetEmphasis", \
"wpQueryCoreRecord", \
"wpFindViewItem", \
"wpCreateFromTemplate", \
"wpQueryTrueStyle", \
"wpAssertObjectMutexSem", \
"wpReleaseObjectMutexSem", \
"wpRequestObjectMutexSem", \
"wpCreateAnother", \
"wpCreateShadowObject", \
"wpCopyObject", \
"wpMoveObject", \
"wpLockObject", \
"wpUnlockObject", \
"wpIsLocked", \
"wpRenderComplete", \
"wpQueryDetailsData", \
"wpPrintObject", \
*, \
"wpSetTaskRec", \
*, \
"wpModifyStyle", \
*, \
"wpFindTaskRec", \
"wpAppendObject", \
"wpReplaceObject", \
"wpQueryNameClashOptions", \
"wpConfirmObjectTitle", \
*, \
"wpQueryContainerFlagPtr", \
*, \
*, \
*, \
"wpCnrDeleteUseItem", \
"wpObjectReady", \
"wpIsObjectInitialized", \
"wpCreateShadowObjectExt", \
"wpSetIconHandle", \
*, \
*, \
"wpDisplayMenu", \
"wpWaitForClose", \
"wpQueryScreenGroupID", \
"wpSetupOnce", \
"wpAddObjectGeneralPage2", \
*, \
*)
};
#pragma SOMAsDefault(pop)
#pragma SOMNonDTS(pop)
/* End WPObject */
/* Start Interface M_WPObject */
#include <somcls.hh>
#include <somcls.hh>
#pragma SOMNonDTS(on)
#pragma SOMAsDefault(on)
class M_WPObject : public SOMClass {
#pragma SOMClassName(*, "M_WPObject")
#pragma SOMNoMangling(*)
#pragma SOMNoDataDirect(*)
#pragma SOMNonDTS(*)
#pragma SOMClassVersion (M_WPObject, 1, 2)
#pragma SOMCallstyle (oidl)
#pragma SOMAsDefault(off)
#pragma SOMAsDefault(pop)
public :
virtual BOOL wpclsCreateDefaultTemplates(WPObject* Folder);
virtual void wpclsInitData();
virtual WPObject* wpclsMakeAwake(PSZ pszTitle, ULONG ulStyle,
HPOINTER hptrIcon, POBJDATA pObjData,
WPFolder* Folder, ULONG ulUser);
virtual WPObject* wpclsNew(PSZ pszTitle, PSZ pszSetupEnv,
WPFolder* Folder, BOOL fLock);
virtual BOOL wpclsQueryDefaultHelp(PULONG pHelpPanelId,
PSZ pszHelpLibrary);
virtual ULONG wpclsQueryDefaultView();
virtual PCLASSDETAILS wpclsQueryDetails();
virtual ULONG wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo,
PULONG pSize);
virtual BOOL wpclsQueryExtendedCriteria(PSZ pszName, ULONG ulSearchType,
PVOID pvoidExtendedCriteria);
virtual WPObject* wpclsQueryFolder(PSZ pszLocation, BOOL fLock);
virtual HPOINTER wpclsQueryIcon();
virtual void wpclsQuerySearchInfo(M_WPObject** ClassExtended,
M_WPObject** ClassCreate,
PULONG pulClassCriteriaSize);
virtual ULONG wpclsQueryStyle();
virtual PSZ wpclsQueryTitle();
virtual void wpclsUnInitData();
virtual BOOL wpclsFindObjectFirst(PCLASS pClassList, PHFIND phFind,
PSZ pszTitle, WPFolder* Folder,
BOOL fSubfolders, PVOID pExtendedCriteria,
POBJECT pBuffer, PULONG pCount);
virtual BOOL wpclsFindObjectNext(HFIND hFind, POBJECT pBuffer,
PULONG pCount);
virtual BOOL wpclsFindObjectEnd(HFIND hFind);
virtual BOOL wpclsSetError(ULONG ulErrorId);
virtual ULONG wpclsQueryError();
virtual BOOL wpclsQuerySettingsPageSize(PSIZEL pSizl);
virtual ULONG wpclsQueryIconData(PICONINFO pIconInfo);
virtual WPObject* wpclsQueryObject(HOBJECT hObject);
virtual ULONG wpclsQueryButtonAppearance();
virtual void wpclsDecUsage();
virtual void wpclsIncUsage();
virtual BOOL wpclsInsertMultipleObjects(HWND hwndCnr, PPOINTL pptlIcon,
PVOID* pObjectArray,
PVOID pRecordParent,
ULONG NumRecords);
virtual WPObject* wpclsFindOneObject(HWND hwndOwner, PSZ pszFindParams);
virtual BOOL wpclsSetSettingsPageSize(PSIZEL pSizl);
virtual BOOL wpclsSetIconData(PICONINFO pIconInfo);
virtual BOOL wpclsSetIcon(HPOINTER hptrNewIcon);
virtual WPObject* wpclsObjectFromHandle(HOBJECT hObject);
virtual BOOL wpclsRemoveObjects(HWND hwndCnr, PVOID* pRecordArray,
ULONG NumRecords, BOOL RemoveAll);
virtual ~M_WPObject();
virtual void somClassReady();
virtual SOMObject* somNew();
virtual SOMObject* somRenew(void* obj);
#pragma SOMReleaseOrder ( \
"wpclsInitData", \
"wpclsUnInitData", \
*, \
"wpclsMakeAwake", \
"wpclsIncUsage", \
"wpclsDecUsage", \
"wpclsQueryTitle", \
"wpclsQueryIcon", \
"wpclsQueryDefaultHelp", \
"wpclsQueryStyle", \
"wpclsQueryDetailsInfo", \
"wpclsQueryDefaultView", \
"wpclsQueryDetails", \
"wpclsQuerySearchInfo", \
"wpclsQueryExtendedCriteria", \
"wpclsCreateDefaultTemplates", \
*, \
"wpclsFindObjectFirst", \
"wpclsFindObjectNext", \
"wpclsFindObjectEnd", \
*, \
"wpclsSetError", \
"wpclsQueryError", \
"wpclsQuerySettingsPageSize", \
"wpclsSetSettingsPageSize", \
"wpclsQueryIconData", \
"wpclsSetIcon", \
"wpclsSetIconData", \
"wpclsQueryObject", \
"wpclsObjectFromHandle", \
*, \
*, \
*, \
*, \
*, \
"wpclsQueryButtonAppearance", \
"wpclsNew", \
"wpclsQueryFolder", \
*, \
*, \
"wpclsRemoveObjects", \
"wpclsInsertMultipleObjects", \
*, \
"wpclsFindOneObject", \
*)
};
#pragma SOMAsDefault(pop)
#pragma SOMNonDTS(pop)
/* End M_WPObject */
#endif /* _DTS_HH_INCLUDED_wpobject */