You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
class CCifMode : public ICifMode, public CCifEntry
|
|
{
|
|
public:
|
|
CCifMode(LPCSTR pszID, CCifFile *);
|
|
~CCifMode();
|
|
|
|
DWORD GetCurrentPriority() { return 0; }
|
|
// ICifMode interface
|
|
// for properties
|
|
// for properties
|
|
STDMETHOD(GetID)(THIS_ LPSTR pszID, DWORD dwSize);
|
|
STDMETHOD(GetDescription)(THIS_ LPSTR pszDesc, DWORD dwSize);
|
|
STDMETHOD(GetDetails)(THIS_ LPSTR pszDetails, DWORD dwSize);
|
|
|
|
STDMETHOD(EnumComponents)(THIS_ IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
|
|
|
|
};
|
|
|
|
class CCifRWMode : public ICifRWMode, public CCifMode
|
|
{
|
|
public:
|
|
STDMETHOD(GetID)(THIS_ LPSTR pszID, DWORD dwSize);
|
|
STDMETHOD(GetDescription)(THIS_ LPSTR pszDesc, DWORD dwSize);
|
|
STDMETHOD(GetDetails)(THIS_ LPSTR pszDetails, DWORD dwSize);
|
|
|
|
STDMETHOD(EnumComponents)(THIS_ IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
|
|
|
|
// ICifRWMode interface
|
|
CCifRWMode(LPCSTR pszID, CCifFile *);
|
|
~CCifRWMode();
|
|
|
|
STDMETHOD(SetDescription)(THIS_ LPCSTR pszDesc);
|
|
STDMETHOD(SetDetails)(THIS_ LPCSTR pszDetails);
|
|
};
|