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.
41 lines
1.3 KiB
41 lines
1.3 KiB
class CCifGroup : public ICifGroup, public CCifEntry
|
|
{
|
|
public:
|
|
CCifGroup(LPCSTR pszID, UINT uGrpNum, CCifFile *);
|
|
~CCifGroup();
|
|
|
|
// ICifGroup interface
|
|
// for properties
|
|
STDMETHOD(GetID)(LPSTR pszID, DWORD dwSize);
|
|
STDMETHOD(GetDescription)(LPSTR pszDesc, DWORD dwSize);
|
|
STDMETHOD_(DWORD, GetPriority)();
|
|
|
|
STDMETHOD(EnumComponents)(IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
|
|
|
|
// access to state
|
|
STDMETHOD_(DWORD, GetInstallQueueState)();
|
|
STDMETHOD_(DWORD, GetCurrentPriority)();
|
|
|
|
protected:
|
|
UINT _uGrpNum;
|
|
};
|
|
|
|
class CCifRWGroup : public ICifRWGroup, public CCifGroup
|
|
{
|
|
public:
|
|
CCifRWGroup(LPCSTR pszID, UINT uGrpNum, CCifFile *);
|
|
~CCifRWGroup();
|
|
|
|
// ICifGroup interface
|
|
// for properties
|
|
STDMETHOD(GetID)(LPSTR pszID, DWORD dwSize);
|
|
STDMETHOD(GetDescription)(LPSTR pszDesc, DWORD dwSize);
|
|
STDMETHOD_(DWORD, GetPriority)();
|
|
STDMETHOD(EnumComponents)(IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
|
|
// access to state
|
|
STDMETHOD_(DWORD, GetCurrentPriority)();
|
|
|
|
STDMETHOD(SetDescription)(THIS_ LPCSTR pszDesc);
|
|
STDMETHOD(SetPriority)(THIS_ DWORD);
|
|
STDMETHOD(SetDetails)(THIS_ LPCSTR pszDetails);
|
|
};
|