GME  13
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
CPartBrowserDataSource Class Reference

#include <PartBrowserOLEData.h>

Inheritance diagram for CPartBrowserDataSource:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CPartBrowserDataSource (IMgaProject *p)
 ~CPartBrowserDataSource ()
void SetNodes (IMgaFCOs *fcos)
void SetFolders (IMgaFolders *objs)
void SetMetaRole (IMgaMetaRole *metaRole)
void SetAnnotations (IMgaRegNodes *regs)
void CacheDescriptor (CPartBrowserDataDescriptor *desc)
void DelayXMLDump ()

Static Public Member Functions

static bool IsGmeNativeDataAvailable (COleDataObject *pDataObject, IMgaProject *project)
static bool IsXMLDataAvailable (COleDataObject *pDataObject)
static bool ParseXMLData (COleDataObject *pDataObject, IMgaObject *target, bool merge)
static CComPtr< IGMEOLEAppget_GME (CComObjPtr< IMgaProject > project)

Static Public Attributes

static CLIPFORMAT cfGMEDesc = (CLIPFORMAT)(RegisterClipboardFormat(_T("GME Descriptor")))
static int myData = 0

Protected Member Functions

HGLOBAL CreateDescriptor (CPartBrowserDataDescriptor *desc)
virtual BOOL OnRenderFileData (LPFORMATETC lpFormatEtc, CFile *pFile)
afx_msg LPDISPATCH DispGetData ()
afx_msg void DispSetData (LPDISPATCH newValue)
afx_msg LPDISPATCH DispGetFolders ()
afx_msg void DispSetFolders (LPDISPATCH newValue)
afx_msg LPDISPATCH DispGetRegistryData ()
afx_msg void DispSetRegistryData (LPDISPATCH newValue)
afx_msg LPDISPATCH DispGetProject ()
afx_msg void DispSetProject (LPDISPATCH newValue)
STDMETHOD() get_Data (IUnknown **p)
STDMETHOD() get_Folders (IUnknown **p)
STDMETHOD() get_RegistryData (IUnknown **p)
STDMETHOD() get_Project (IUnknown **p)

Protected Attributes

CComPtr< IMgaProjectproject
CComPtr< IUnknown > data
CComPtr< IUnknown > folders
CComPtr< IUnknown > regdata

Detailed Description

Definition at line 38 of file PartBrowserOLEData.h.


Constructor & Destructor Documentation

Definition at line 41 of file PartBrowserOLEData.h.

Definition at line 49 of file PartBrowserOLEData.h.


Member Function Documentation

Definition at line 327 of file PartBrowserOLEData.cpp.

Definition at line 333 of file PartBrowserOLEData.cpp.

Definition at line 344 of file PartBrowserOLEData.cpp.

LPDISPATCH CPartBrowserDataSource::DispGetData ( ) [protected]

Definition at line 592 of file PartBrowserOLEData.cpp.

LPDISPATCH CPartBrowserDataSource::DispGetFolders ( ) [protected]

Definition at line 607 of file PartBrowserOLEData.cpp.

LPDISPATCH CPartBrowserDataSource::DispGetProject ( ) [protected]

Definition at line 637 of file PartBrowserOLEData.cpp.

LPDISPATCH CPartBrowserDataSource::DispGetRegistryData ( ) [protected]

Definition at line 622 of file PartBrowserOLEData.cpp.

void CPartBrowserDataSource::DispSetData ( LPDISPATCH  newValue) [protected]

Definition at line 602 of file PartBrowserOLEData.cpp.

void CPartBrowserDataSource::DispSetFolders ( LPDISPATCH  newValue) [protected]

Definition at line 617 of file PartBrowserOLEData.cpp.

void CPartBrowserDataSource::DispSetProject ( LPDISPATCH  newValue) [protected]

Definition at line 647 of file PartBrowserOLEData.cpp.

void CPartBrowserDataSource::DispSetRegistryData ( LPDISPATCH  newValue) [protected]

Definition at line 632 of file PartBrowserOLEData.cpp.

STDMETHOD() CPartBrowserDataSource::get_Data ( IUnknown **  p) [protected]
STDMETHOD() CPartBrowserDataSource::get_Folders ( IUnknown **  p) [protected]

Definition at line 571 of file PartBrowserOLEData.cpp.

STDMETHOD() CPartBrowserDataSource::get_Project ( IUnknown **  p) [protected]
STDMETHOD() CPartBrowserDataSource::get_RegistryData ( IUnknown **  p) [protected]
bool CPartBrowserDataSource::IsGmeNativeDataAvailable ( COleDataObject *  pDataObject,
IMgaProject project 
) [static]

Definition at line 187 of file PartBrowserOLEData.cpp.

bool CPartBrowserDataSource::IsXMLDataAvailable ( COleDataObject *  pDataObject) [static]

Definition at line 207 of file PartBrowserOLEData.cpp.

BOOL CPartBrowserDataSource::OnRenderFileData ( LPFORMATETC  lpFormatEtc,
CFile *  pFile 
) [protected, virtual]

Reimplemented in CPartBrowserClosureDataSource.

Definition at line 353 of file PartBrowserOLEData.cpp.

bool CPartBrowserDataSource::ParseXMLData ( COleDataObject *  pDataObject,
IMgaObject target,
bool  merge = false 
) [static]

Definition at line 214 of file PartBrowserOLEData.cpp.

void CPartBrowserDataSource::SetAnnotations ( IMgaRegNodes *  regs) [inline]

Definition at line 65 of file PartBrowserOLEData.h.

void CPartBrowserDataSource::SetFolders ( IMgaFolders *  objs) [inline]

Definition at line 63 of file PartBrowserOLEData.h.

void CPartBrowserDataSource::SetMetaRole ( IMgaMetaRole metaRole) [inline]

Definition at line 64 of file PartBrowserOLEData.h.

void CPartBrowserDataSource::SetNodes ( IMgaFCOs *  fcos) [inline]

Definition at line 62 of file PartBrowserOLEData.h.


Member Data Documentation

CLIPFORMAT CPartBrowserDataSource::cfGMEDesc = (CLIPFORMAT)(RegisterClipboardFormat(_T("GME Descriptor"))) [static]

Definition at line 58 of file PartBrowserOLEData.h.

CComPtr<IUnknown> CPartBrowserDataSource::data [protected]

Definition at line 53 of file PartBrowserOLEData.h.

CComPtr<IUnknown> CPartBrowserDataSource::folders [protected]

Definition at line 54 of file PartBrowserOLEData.h.

Definition at line 59 of file PartBrowserOLEData.h.

Definition at line 52 of file PartBrowserOLEData.h.

CComPtr<IUnknown> CPartBrowserDataSource::regdata [protected]

Definition at line 55 of file PartBrowserOLEData.h.


The documentation for this class was generated from the following files: