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.

40 lines
1.1 KiB

  1. #ifndef __DARAPP_H_
  2. #define __DARAPP_H_
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CDarwinPublishedApp
  5. class CDarwinPublishedApp : public IPublishedApp
  6. {
  7. public:
  8. // Constructor for Darwin Apps
  9. CDarwinPublishedApp(MANAGEDAPPLICATION * ppdi);
  10. ~CDarwinPublishedApp();
  11. // *** IUnknown Methods
  12. virtual STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj);
  13. virtual STDMETHODIMP_(ULONG) AddRef(void) ;
  14. virtual STDMETHODIMP_(ULONG) Release(void);
  15. // *** IShellApp
  16. STDMETHODIMP GetAppInfo(PAPPINFODATA pai);
  17. STDMETHODIMP GetPossibleActions(DWORD * pdwActions);
  18. STDMETHODIMP GetSlowAppInfo(PSLOWAPPINFO psai);
  19. STDMETHODIMP GetCachedSlowAppInfo(PSLOWAPPINFO psai);
  20. STDMETHODIMP IsInstalled(void);
  21. // *** IPublishedApp
  22. STDMETHODIMP Install(LPSYSTEMTIME pftInstall);
  23. STDMETHODIMP GetPublishedAppInfo(PPUBAPPINFO ppai);
  24. STDMETHODIMP Unschedule(void);
  25. protected:
  26. LONG _cRef;
  27. DWORD _dwAction;
  28. // Specific info on this Darwin App
  29. MANAGEDAPPLICATION _ma;
  30. };
  31. #endif //__DARAPP_H_