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.
 
 
 
 
 
 

37 lines
1.0 KiB

// External.h : Declaration of the CMarsExternal
#ifndef __MARSEXTERNAL_H_
#define __MARSEXTERNAL_H_
/////////////////////////////////////////////////////////////////////////////
// CMarsExternal
class CMarsExternal :
public CMarsPanelSubObject,
public MarsIDispatchImpl<IMarsExternal, &IID_IMarsExternal>
{
friend CMarsPanel;
CMarsExternal(CMarsPanel *pParent, CMarsWindow *pMarsWindow);
virtual ~CMarsExternal() {}
HRESULT DoPassivate();
public:
STDMETHOD_(ULONG, AddRef)();
STDMETHOD_(ULONG, Release)();
STDMETHOD(QueryInterface)(REFIID iid, void ** ppvObject);
// IMarsExternal
STDMETHOD(put_singleButtonMouse)(VARIANT_BOOL bVal);
STDMETHOD(get_singleButtonMouse)(VARIANT_BOOL *pbVal);
STDMETHOD(get_panels)(IMarsPanelCollection **ppPanels);
STDMETHOD(get_places)(IMarsPlaceCollection **ppPlaces);
STDMETHOD(get_window)(IMarsWindowOM **ppWindow);
protected:
CComClassPtr<CMarsWindow> m_spMarsWindow;
};
#endif //__MARSEXTERNAL_H_