OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
VoiceSessionDlg.h
1#if !defined(AFX_VOICESESSIONDLG_H__4D78C45C_9CB3_4F4B_81DF_8BF65316598E__INCLUDED_)
2#define AFX_VOICESESSIONDLG_H__4D78C45C_9CB3_4F4B_81DF_8BF65316598E__INCLUDED_
3
4#if _MSC_VER > 1000
5#pragma once
6#endif // _MSC_VER > 1000
7// VoiceSessionDlg.h : header file
8//
9
11// CVoiceSessionDlg dialog
12#include "SetupDlg.h"
13#include "../../gt2/gt2.h"
14#include "../../natneg/natneg.h"
15
16class CVoiceSessionDlg : public CDialog
17{
18public:
19 int m_NNCookie; // used to connect the two buddies
20 BOOL m_IsHost; // TRUE = I invited the buddy, FALSE = Buddy invited me
21
22 VoiceSetupInfo m_SetupInfo; // device info
23
24 GT2Socket m_Socket;
25 GT2Connection m_Connection;
26 unsigned int m_RemoteAddr; // IP addr of the buddy (used for identification)
27
28 // MFC STUFF BELOW
29
30// Construction
31public:
32 CVoiceSessionDlg(CWnd* pParent = NULL); // standard constructor
33
34// Dialog Data
35 //{{AFX_DATA(CVoiceSessionDlg)
36 enum { IDD = IDD_SESSION };
37 CStatic m_RemoteSpeaking;
38 CStatic m_LocalSpeaking;
39 CString m_DisplayText;
40 //}}AFX_DATA
41
42
43// Overrides
44 // ClassWizard generated virtual function overrides
45 //{{AFX_VIRTUAL(CVoiceSessionDlg)
46 public:
47 virtual BOOL DestroyWindow();
48 protected:
49 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
50 //}}AFX_VIRTUAL
51
52// Implementation
53protected:
54
55 // Generated message map functions
56 //{{AFX_MSG(CVoiceSessionDlg)
57 afx_msg void OnTimer(UINT nIDEvent);
58 virtual BOOL OnInitDialog();
59 //}}AFX_MSG
60 DECLARE_MESSAGE_MAP()
61};
62
63//{{AFX_INSERT_LOCATION}}
64// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
65
66#endif // !defined(AFX_VOICESESSIONDLG_H__4D78C45C_9CB3_4F4B_81DF_8BF65316598E__INCLUDED_)
Definition SetupDlg.h:20