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.
37 lines
1.1 KiB
37 lines
1.1 KiB
#ifndef _CDLINFO_INCLUDED
|
|
#define _CDLINFO_INCLUDED
|
|
|
|
class CCodeDownloadInfo : public ICodeDownloadInfo
|
|
{
|
|
public:
|
|
// IUnknown methods
|
|
STDMETHODIMP QueryInterface(REFIID iid, void **ppvObj);
|
|
STDMETHODIMP_(ULONG) AddRef(void);
|
|
STDMETHODIMP_(ULONG) Release(void);
|
|
|
|
// ICodeDownloadInfo methods
|
|
STDMETHODIMP GetCodeBase(LPWSTR *szCodeBase);
|
|
STDMETHODIMP SetCodeBase(LPCWSTR szCodeBase);
|
|
|
|
STDMETHODIMP GetClassID(CLSID *clsid);
|
|
STDMETHODIMP SetClassID(CLSID clsid);
|
|
|
|
STDMETHODIMP SetMajorVersion(ULONG ulVersion);
|
|
STDMETHODIMP GetMajorVersion(ULONG *pulVersion);
|
|
|
|
STDMETHODIMP SetMinorVersion(ULONG ulVersion);
|
|
STDMETHODIMP GetMinorVersion(ULONG *pulVersion);
|
|
|
|
public:
|
|
CCodeDownloadInfo();
|
|
virtual ~CCodeDownloadInfo();
|
|
|
|
private:
|
|
LPWSTR _szCodeBase;
|
|
DWORD _cRefs;
|
|
ULONG _ulMajorVersion;
|
|
ULONG _ulMinorVersion;
|
|
CLSID _clsid;
|
|
};
|
|
|
|
#endif
|