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.

49 lines
1.1 KiB

  1. // File: confman.h
  2. #ifndef _CONFMAN_H_
  3. #define _CONFMAN_H_
  4. #include "SDKInternal.h"
  5. class CConfMan : public RefCount, public INmManagerNotify
  6. {
  7. protected:
  8. static CConfMan * m_pConfMan;
  9. public:
  10. static CConfMan * GetInstance() {return m_pConfMan;}
  11. static BOOL FCreate(INmManager2 *pManager);
  12. static VOID Destroy();
  13. static INmManager2 * GetNmManager();
  14. static VOID AllowAV(BOOL fAllowAV);
  15. private:
  16. INmManager2 * m_pManager;
  17. DWORD m_dwCookie;
  18. VOID CleanUp(void);
  19. INmManager2 * GetINmManager() {return m_pManager;}
  20. public:
  21. CConfMan::CConfMan(INmManager2 *pManager);
  22. CConfMan::~CConfMan();
  23. VOID CheckIca();
  24. //
  25. // IUnknown methods:
  26. //
  27. STDMETHODIMP_(ULONG) AddRef(void);
  28. STDMETHODIMP_(ULONG) Release(void);
  29. STDMETHODIMP QueryInterface(REFIID riid, PVOID *ppvObj);
  30. //
  31. // INmManagerNotify methods:
  32. //
  33. STDMETHODIMP NmUI(CONFN uNotify);
  34. STDMETHODIMP ConferenceCreated(INmConference *pConference);
  35. STDMETHODIMP CallCreated(INmCall *pCall);
  36. };
  37. #endif /* _CONFMAN_H_ */