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

  1. // External.h : Declaration of the CMarsExternal
  2. #ifndef __MARSEXTERNAL_H_
  3. #define __MARSEXTERNAL_H_
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CMarsExternal
  6. class CMarsExternal :
  7. public CMarsPanelSubObject,
  8. public MarsIDispatchImpl<IMarsExternal, &IID_IMarsExternal>
  9. {
  10. friend CMarsPanel;
  11. CMarsExternal(CMarsPanel *pParent, CMarsWindow *pMarsWindow);
  12. virtual ~CMarsExternal() {}
  13. HRESULT DoPassivate();
  14. public:
  15. STDMETHOD_(ULONG, AddRef)();
  16. STDMETHOD_(ULONG, Release)();
  17. STDMETHOD(QueryInterface)(REFIID iid, void ** ppvObject);
  18. // IMarsExternal
  19. STDMETHOD(put_singleButtonMouse)(VARIANT_BOOL bVal);
  20. STDMETHOD(get_singleButtonMouse)(VARIANT_BOOL *pbVal);
  21. STDMETHOD(get_panels)(IMarsPanelCollection **ppPanels);
  22. STDMETHOD(get_places)(IMarsPlaceCollection **ppPlaces);
  23. STDMETHOD(get_window)(IMarsWindowOM **ppWindow);
  24. protected:
  25. CComClassPtr<CMarsWindow> m_spMarsWindow;
  26. };
  27. #endif //__MARSEXTERNAL_H_