AVDConfDlg.h
上传用户:tuheem
上传日期:2007-05-01
资源大小:21889k
文件大小:2k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. // AVDConfDlg.h : header file
  2. //
  3. #if !defined(AFX_AVDCONFDLG_H__8AA2F9CB_82AD_4A1F_B960_5727AC5C12EE__INCLUDED_)
  4. #define AFX_AVDCONFDLG_H__8AA2F9CB_82AD_4A1F_B960_5727AC5C12EE__INCLUDED_
  5. #include "RTCEvents.h" // Added by ClassView
  6. #include "AVDlg.h" // Added by ClassView
  7. #include "MessageDlg.h" // Added by ClassView
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CAVDConfDlg dialog
  13. class CAVDConfDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CAVDConfDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CAVDConfDlg)
  20. enum { IDD = IDD_AVDCONF_DIALOG };
  21. CButton m_cWhiteboard;
  22. CButton m_cMessaging;
  23. CButton m_cTuning;
  24. CButton m_cMakeCall;
  25. CButton m_cAppCall;
  26. //}}AFX_DATA
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CAVDConfDlg)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);
  31. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. HICON m_hIcon;
  36. // Generated message map functions
  37. //{{AFX_MSG(CAVDConfDlg)
  38. virtual BOOL OnInitDialog();
  39. afx_msg void OnPaint();
  40. afx_msg HCURSOR OnQueryDragIcon();
  41. afx_msg void OnMakecall();
  42. afx_msg void OnAppcall();
  43. afx_msg void OnTuning();
  44. afx_msg void OnMessenging();
  45. afx_msg void OnMessaging();
  46. virtual void OnOK();
  47. virtual void OnCancel();
  48. afx_msg void OnAboutbox();
  49. afx_msg void OnWhiteboard();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. private:
  53. HRESULT OnRTCMessagingEvent (IRTCMessagingEvent *pEvent);
  54. CMessageDlg m_cMessageDlg;
  55. CAVDlg m_AVDlg;
  56. HRESULT AddSession(IRTCSession *pSession, RTC_SESSION_TYPE enType);
  57. IRTCParticipant * m_Participant;
  58. HRESULT MakeCall(RTC_SESSION_TYPE enType, BSTR bstrURI);
  59. void OnRTCClientEvent(IRTCClientEvent *pEvent);
  60. void OnRTCIntensityEvent(IRTCIntensityEvent *pEvent);
  61. void OnRTCMediaEvent(IRTCMediaEvent *pEvent);
  62. void OnRTCSessionStateChangeEvent(IRTCSessionStateChangeEvent *pEvent);
  63. HRESULT OnRTCEvent (UINT message, WPARAM wParam, LPARAM lParam);
  64. CRTCEvents * m_pEvents;
  65. IRTCClient * m_pClient;
  66. HRESULT InitRTCClient();
  67. };
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  70. #endif // !defined(AFX_AVDCONFDLG_H__8AA2F9CB_82AD_4A1F_B960_5727AC5C12EE__INCLUDED_)