GME
13
|
#include <GMEOLEData.h>
Public Member Functions | |
CGMEDataSource (IMgaProject *p) | |
~CGMEDataSource () | |
void | SetNodes (IMgaFCOs *fcos) |
void | SetFolders (IMgaFolders *objs) |
void | SetMetaRole (IMgaMetaRole *metaRole) |
void | SetAnnotations (IMgaRegNodes *regs) |
void | CacheDescriptor (CGMEDataDescriptor *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 (CGMEDataDescriptor *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 36 of file GMEOLEData.h.
CGMEDataSource::CGMEDataSource | ( | IMgaProject * | p | ) | [inline] |
Definition at line 39 of file GMEOLEData.h.
CGMEDataSource::~CGMEDataSource | ( | ) | [inline] |
Definition at line 47 of file GMEOLEData.h.
void CGMEDataSource::CacheDescriptor | ( | CGMEDataDescriptor * | desc | ) |
Definition at line 348 of file GMEOLEData.cpp.
HGLOBAL CGMEDataSource::CreateDescriptor | ( | CGMEDataDescriptor * | desc | ) | [protected] |
Definition at line 354 of file GMEOLEData.cpp.
void CGMEDataSource::DelayXMLDump | ( | ) |
Definition at line 365 of file GMEOLEData.cpp.
LPDISPATCH CGMEDataSource::DispGetData | ( | ) | [protected] |
Definition at line 615 of file GMEOLEData.cpp.
LPDISPATCH CGMEDataSource::DispGetFolders | ( | ) | [protected] |
Definition at line 630 of file GMEOLEData.cpp.
LPDISPATCH CGMEDataSource::DispGetProject | ( | ) | [protected] |
Definition at line 660 of file GMEOLEData.cpp.
LPDISPATCH CGMEDataSource::DispGetRegistryData | ( | ) | [protected] |
Definition at line 645 of file GMEOLEData.cpp.
void CGMEDataSource::DispSetData | ( | LPDISPATCH | newValue | ) | [protected] |
Definition at line 625 of file GMEOLEData.cpp.
void CGMEDataSource::DispSetFolders | ( | LPDISPATCH | newValue | ) | [protected] |
Definition at line 640 of file GMEOLEData.cpp.
void CGMEDataSource::DispSetProject | ( | LPDISPATCH | newValue | ) | [protected] |
Definition at line 670 of file GMEOLEData.cpp.
void CGMEDataSource::DispSetRegistryData | ( | LPDISPATCH | newValue | ) | [protected] |
Definition at line 655 of file GMEOLEData.cpp.
STDMETHOD() CGMEDataSource::get_Data | ( | IUnknown ** | p | ) | [protected] |
STDMETHOD() CGMEDataSource::get_Folders | ( | IUnknown ** | p | ) | [protected] |
CComPtr< IGMEOLEApp > CGMEDataSource::get_GME | ( | CComObjPtr< IMgaProject > | project | ) | [static] |
Definition at line 594 of file GMEOLEData.cpp.
STDMETHOD() CGMEDataSource::get_Project | ( | IUnknown ** | p | ) | [protected] |
STDMETHOD() CGMEDataSource::get_RegistryData | ( | IUnknown ** | p | ) | [protected] |
bool CGMEDataSource::IsGmeNativeDataAvailable | ( | COleDataObject * | pDataObject, |
IMgaProject * | project | ||
) | [static] |
Definition at line 190 of file GMEOLEData.cpp.
bool CGMEDataSource::IsXMLDataAvailable | ( | COleDataObject * | pDataObject | ) | [static] |
Definition at line 224 of file GMEOLEData.cpp.
BOOL CGMEDataSource::OnRenderFileData | ( | LPFORMATETC | lpFormatEtc, |
CFile * | pFile | ||
) | [protected, virtual] |
Reimplemented in CGMEClosureDataSource.
Definition at line 374 of file GMEOLEData.cpp.
bool CGMEDataSource::ParseXMLData | ( | COleDataObject * | pDataObject, |
IMgaObject * | target, | ||
bool | merge = false |
||
) | [static] |
Definition at line 231 of file GMEOLEData.cpp.
void CGMEDataSource::SetAnnotations | ( | IMgaRegNodes * | regs | ) | [inline] |
Definition at line 63 of file GMEOLEData.h.
void CGMEDataSource::SetFolders | ( | IMgaFolders * | objs | ) | [inline] |
Definition at line 61 of file GMEOLEData.h.
void CGMEDataSource::SetMetaRole | ( | IMgaMetaRole * | metaRole | ) | [inline] |
Definition at line 62 of file GMEOLEData.h.
void CGMEDataSource::SetNodes | ( | IMgaFCOs * | fcos | ) | [inline] |
Definition at line 60 of file GMEOLEData.h.
CLIPFORMAT CGMEDataSource::cfGMEDesc = (CLIPFORMAT)(RegisterClipboardFormat(_T("GME Descriptor"))) [static] |
Definition at line 56 of file GMEOLEData.h.
CComPtr<IUnknown> CGMEDataSource::data [protected] |
Definition at line 51 of file GMEOLEData.h.
CComPtr<IUnknown> CGMEDataSource::folders [protected] |
Definition at line 52 of file GMEOLEData.h.
int CGMEDataSource::myData = 0 [static] |
Definition at line 57 of file GMEOLEData.h.
CComPtr<IMgaProject> CGMEDataSource::project [protected] |
Definition at line 50 of file GMEOLEData.h.
CComPtr<IUnknown> CGMEDataSource::regdata [protected] |
Definition at line 53 of file GMEOLEData.h.