Leaked source code of windows server 2003
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

  1. #ifndef __APPPUB_H_
  2. #define __APPPUB_H_
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CDarwinAppPublisher
  5. class CDarwinAppPublisher : public IAppPublisher
  6. {
  7. public:
  8. CDarwinAppPublisher();
  9. // *** IUnknown Methods
  10. virtual STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj);
  11. virtual STDMETHODIMP_(ULONG) AddRef(void) ;
  12. virtual STDMETHODIMP_(ULONG) Release(void);
  13. // *** IAppPublisher
  14. STDMETHODIMP GetNumberOfCategories(DWORD * pdwCat);
  15. STDMETHODIMP GetCategories(APPCATEGORYINFOLIST * pAppCategoryList);
  16. STDMETHODIMP GetNumberOfApps(DWORD * pdwApps);
  17. STDMETHODIMP EnumApps(GUID * pAppCategoryId, IEnumPublishedApps ** ppepa);
  18. protected:
  19. virtual ~CDarwinAppPublisher();
  20. UINT _cRef;
  21. };
  22. #endif //__APPPUB_H_