GME
13
|
#include <PartBrowserOLEData.h>
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< IGMEOLEApp > | get_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< IMgaProject > | project |
CComPtr< IUnknown > | data |
CComPtr< IUnknown > | folders |
CComPtr< IUnknown > | regdata |
Definition at line 38 of file PartBrowserOLEData.h.
CPartBrowserDataSource::CPartBrowserDataSource | ( | IMgaProject * | p | ) | [inline] |
Definition at line 41 of file PartBrowserOLEData.h.
CPartBrowserDataSource::~CPartBrowserDataSource | ( | ) | [inline] |
Definition at line 49 of file PartBrowserOLEData.h.
Definition at line 327 of file PartBrowserOLEData.cpp.
HGLOBAL CPartBrowserDataSource::CreateDescriptor | ( | CPartBrowserDataDescriptor * | desc | ) | [protected] |
Definition at line 333 of file PartBrowserOLEData.cpp.
void CPartBrowserDataSource::DelayXMLDump | ( | ) |
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] |
CComPtr< IGMEOLEApp > CPartBrowserDataSource::get_GME | ( | CComObjPtr< IMgaProject > | project | ) | [static] |
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.
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.
int CPartBrowserDataSource::myData = 0 [static] |
Definition at line 59 of file PartBrowserOLEData.h.
CComPtr<IMgaProject> CPartBrowserDataSource::project [protected] |
Definition at line 52 of file PartBrowserOLEData.h.
CComPtr<IUnknown> CPartBrowserDataSource::regdata [protected] |
Definition at line 55 of file PartBrowserOLEData.h.