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.

55 lines
2.2 KiB

  1. // AVGenNtfy.h : Declaration of the CAVGeneralNotification
  2. #ifndef __AVGENERALNOTIFICATION_H_
  3. #define __AVGENERALNOTIFICATION_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CAVGeneralNotification
  7. class ATL_NO_VTABLE CAVGeneralNotification :
  8. public CComObjectRootEx<CComMultiThreadModel>,
  9. public CComCoClass<CAVGeneralNotification, &CLSID_AVGeneralNotification>,
  10. public IAVGeneralNotification,
  11. public IConnectionPointContainerImpl<CAVGeneralNotification>,
  12. public IConnectionPointImpl<CAVGeneralNotification, &IID_IGeneralNotification>
  13. {
  14. public:
  15. CAVGeneralNotification()
  16. {
  17. }
  18. DECLARE_REGISTRY_RESOURCEID(IDR_AVGENERALNOTIFICATION)
  19. BEGIN_COM_MAP(CAVGeneralNotification)
  20. COM_INTERFACE_ENTRY(IAVGeneralNotification)
  21. COM_INTERFACE_ENTRY_IMPL(IConnectionPointContainer)
  22. END_COM_MAP()
  23. BEGIN_CONNECTION_POINT_MAP(CAVGeneralNotification)
  24. CONNECTION_POINT_ENTRY(IID_IGeneralNotification)
  25. END_CONNECTION_POINT_MAP()
  26. // IAVGeneralNotification
  27. public:
  28. STDMETHOD(fire_SelectConfParticipant)(IParticipant *pParticipant);
  29. STDMETHOD(fire_DeleteAllConfParticipants)();
  30. STDMETHOD(fire_UpdateConfParticipant)(MyUpdateType nType, IParticipant *pParticipant, BSTR bstrText);
  31. STDMETHOD(fire_UpdateConfRootItem)(BSTR bstrNewText);
  32. STDMETHOD(fire_AddSpeedDial)(BSTR bstrName, BSTR bstrAddress, CallManagerMedia cmm);
  33. STDMETHOD(fire_NotifySiteServerStateChange)(BSTR bstrName, ServerState nState);
  34. STDMETHOD(fire_RemoveSiteServer)(BSTR bstrName);
  35. STDMETHOD(fire_AddSiteServer)(BSTR bstrName);
  36. STDMETHOD(fire_ResolveAddressEx)(BSTR bstrAddress, long lAddressType, DialerMediaType nMedia, DialerLocationType nLoctaion, BSTR *pbstrName, BSTR *pbstrAddress, BSTR *pbstrUser1, BSTR *pbstrUser2);
  37. STDMETHOD(fire_AddUser)(BSTR bstrName, BSTR bstrAddress, BSTR bstrPhoneNumber);
  38. STDMETHOD(fire_ClearUserList)();
  39. STDMETHOD(fire_ResolveAddress)(BSTR bstrAddress, BSTR *pbstrName, BSTR *pbstrUser1, BSTR *pbstrUser2);
  40. STDMETHOD(Term)();
  41. STDMETHOD(Init)();
  42. // ConnectionPointFiring
  43. STDMETHOD(fire_IsReminderSet)(BSTR bstrServer, BSTR bstrName);
  44. };
  45. #endif //__AVGENERALNOTIFICATION_H_