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
40 lines
1.1 KiB
#ifndef __DARAPP_H_
|
|
#define __DARAPP_H_
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDarwinPublishedApp
|
|
class CDarwinPublishedApp : public IPublishedApp
|
|
{
|
|
public:
|
|
// Constructor for Darwin Apps
|
|
CDarwinPublishedApp(MANAGEDAPPLICATION * ppdi);
|
|
~CDarwinPublishedApp();
|
|
|
|
// *** IUnknown Methods
|
|
virtual STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj);
|
|
virtual STDMETHODIMP_(ULONG) AddRef(void) ;
|
|
virtual STDMETHODIMP_(ULONG) Release(void);
|
|
|
|
// *** IShellApp
|
|
STDMETHODIMP GetAppInfo(PAPPINFODATA pai);
|
|
STDMETHODIMP GetPossibleActions(DWORD * pdwActions);
|
|
STDMETHODIMP GetSlowAppInfo(PSLOWAPPINFO psai);
|
|
STDMETHODIMP GetCachedSlowAppInfo(PSLOWAPPINFO psai);
|
|
STDMETHODIMP IsInstalled(void);
|
|
|
|
// *** IPublishedApp
|
|
STDMETHODIMP Install(LPSYSTEMTIME pftInstall);
|
|
STDMETHODIMP GetPublishedAppInfo(PPUBAPPINFO ppai);
|
|
STDMETHODIMP Unschedule(void);
|
|
|
|
protected:
|
|
|
|
LONG _cRef;
|
|
DWORD _dwAction;
|
|
|
|
// Specific info on this Darwin App
|
|
MANAGEDAPPLICATION _ma;
|
|
};
|
|
|
|
#endif //__DARAPP_H_
|