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.

41 lines
1.2 KiB

  1. // coming soon: new deskbar (old deskbar moved to browbar base class)
  2. #ifndef DESKBAR_H_
  3. #define DESKBAR_H_
  4. #include "dockbar.h"
  5. #ifndef NOCDESKBAR
  6. class CDeskBar : public CDockingBar
  7. , public IRestrict
  8. {
  9. public:
  10. // *** IUnknown ***
  11. virtual STDMETHODIMP_(ULONG) AddRef(void) { return CDockingBar::AddRef(); }
  12. virtual STDMETHODIMP_(ULONG) Release(void) { return CDockingBar::Release(); }
  13. virtual STDMETHODIMP QueryInterface(REFIID riid, LPVOID * ppvObj);
  14. // *** IPersistStreamInit ***
  15. virtual STDMETHODIMP GetClassID(CLSID *pClassID);
  16. // *** IServiceProvider methods ***
  17. virtual STDMETHODIMP QueryService(REFGUID guidService, REFIID riid, LPVOID* ppvObj);
  18. // *** IRestrict ***
  19. virtual STDMETHODIMP IsRestricted(const GUID * pguidID, DWORD dwRestrictAction, VARIANT * pvarArgs, DWORD * pdwRestrictionResult);
  20. CDeskBar();
  21. protected:
  22. BITBOOL _fRestrictionsInited :1; // Have we read in the restrictions?
  23. BITBOOL _fRestrictDDClose :1; // Restrict: Add, Close, Drag & Drop
  24. BITBOOL _fRestrictMove :1; // Restrict: Move
  25. };
  26. #endif
  27. class CDeskBarPropertyBag : public CDockingBarPropertyBag
  28. {
  29. };
  30. #endif