AVDConfDlg.h
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:2k
源码类别:
VC书籍
开发平台:
Visual C++
- // AVDConfDlg.h : header file
- //
- #if !defined(AFX_AVDCONFDLG_H__8AA2F9CB_82AD_4A1F_B960_5727AC5C12EE__INCLUDED_)
- #define AFX_AVDCONFDLG_H__8AA2F9CB_82AD_4A1F_B960_5727AC5C12EE__INCLUDED_
- #include "RTCEvents.h" // Added by ClassView
- #include "AVDlg.h" // Added by ClassView
- #include "MessageDlg.h" // Added by ClassView
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CAVDConfDlg dialog
- class CAVDConfDlg : public CDialog
- {
- // Construction
- public:
- CAVDConfDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CAVDConfDlg)
- enum { IDD = IDD_AVDCONF_DIALOG };
- CButton m_cWhiteboard;
- CButton m_cMessaging;
- CButton m_cTuning;
- CButton m_cMakeCall;
- CButton m_cAppCall;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAVDConfDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
- virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CAVDConfDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnMakecall();
- afx_msg void OnAppcall();
- afx_msg void OnTuning();
- afx_msg void OnMessenging();
- afx_msg void OnMessaging();
- virtual void OnOK();
- virtual void OnCancel();
- afx_msg void OnAboutbox();
- afx_msg void OnWhiteboard();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- HRESULT OnRTCMessagingEvent (IRTCMessagingEvent *pEvent);
- CMessageDlg m_cMessageDlg;
- CAVDlg m_AVDlg;
- HRESULT AddSession(IRTCSession *pSession, RTC_SESSION_TYPE enType);
- IRTCParticipant * m_Participant;
- HRESULT MakeCall(RTC_SESSION_TYPE enType, BSTR bstrURI);
- void OnRTCClientEvent(IRTCClientEvent *pEvent);
- void OnRTCIntensityEvent(IRTCIntensityEvent *pEvent);
- void OnRTCMediaEvent(IRTCMediaEvent *pEvent);
- void OnRTCSessionStateChangeEvent(IRTCSessionStateChangeEvent *pEvent);
- HRESULT OnRTCEvent (UINT message, WPARAM wParam, LPARAM lParam);
- CRTCEvents * m_pEvents;
- IRTCClient * m_pClient;
- HRESULT InitRTCClient();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_AVDCONFDLG_H__8AA2F9CB_82AD_4A1F_B960_5727AC5C12EE__INCLUDED_)