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.
29 lines
832 B
29 lines
832 B
#ifndef __APPPUB_H_
|
|
#define __APPPUB_H_
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDarwinAppPublisher
|
|
class CDarwinAppPublisher : public IAppPublisher
|
|
{
|
|
public:
|
|
CDarwinAppPublisher();
|
|
|
|
// *** IUnknown Methods
|
|
virtual STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj);
|
|
virtual STDMETHODIMP_(ULONG) AddRef(void) ;
|
|
virtual STDMETHODIMP_(ULONG) Release(void);
|
|
|
|
// *** IAppPublisher
|
|
STDMETHODIMP GetNumberOfCategories(DWORD * pdwCat);
|
|
STDMETHODIMP GetCategories(APPCATEGORYINFOLIST * pAppCategoryList);
|
|
STDMETHODIMP GetNumberOfApps(DWORD * pdwApps);
|
|
STDMETHODIMP EnumApps(GUID * pAppCategoryId, IEnumPublishedApps ** ppepa);
|
|
|
|
protected:
|
|
|
|
virtual ~CDarwinAppPublisher();
|
|
|
|
UINT _cRef;
|
|
};
|
|
|
|
#endif //__APPPUB_H_
|