OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
Voice2BuddyMFCDlg.h
1// Voice2BuddyMFCDlg.h : header file
2//
3
4#if !defined(AFX_VOICE2BUDDYMFCDLG_H__F4BA3DE6_2C65_4B7D_A1BC_A9C3BAF53DEE__INCLUDED_)
5#define AFX_VOICE2BUDDYMFCDLG_H__F4BA3DE6_2C65_4B7D_A1BC_A9C3BAF53DEE__INCLUDED_
6
7#if _MSC_VER > 1000
8#pragma once
9#endif // _MSC_VER > 1000
10
12// CVoice2BuddyMFCDlg dialog
13#include "../../gp/gp.h"
14#include "SetupDlg.h"
15
16class CVoice2BuddyMFCDlg : public CDialog
17{
18 // Non MFC
19public:
20 GPConnection m_GP;
21 BOOL m_Initialized;
22 BOOL m_Connected;
23 unsigned int m_NNCookie;
24 GPProfile m_InvitedPlayer; // the last player we invited
25 GPProfile m_MyProfileId; // the local player's profile id
26
27 VoiceSetupInfo m_SetupInfo;
28
29 void DoLogin(const CString& theEmail, const CString& theNickname, const CString& thePassword);
30
31
32// Construction
33public:
34 CVoice2BuddyMFCDlg(CWnd* pParent = NULL); // standard constructor
35
36// Dialog Data
37 //{{AFX_DATA(CVoice2BuddyMFCDlg)
38 enum { IDD = IDD_VOICE2BUDDYMFC_DIALOG };
39 CButton m_SetupButton;
40 CButton m_VoiceChatButton;
41 CListBox m_BuddyList;
42 //}}AFX_DATA
43
44 // ClassWizard generated virtual function overrides
45 //{{AFX_VIRTUAL(CVoice2BuddyMFCDlg)
46 protected:
47 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
48 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
49 //}}AFX_VIRTUAL
50
51// Implementation
52protected:
53 HICON m_hIcon;
54
55 // Generated message map functions
56 //{{AFX_MSG(CVoice2BuddyMFCDlg)
57 virtual BOOL OnInitDialog();
58 afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
59 afx_msg void OnPaint();
60 afx_msg HCURSOR OnQueryDragIcon();
61 afx_msg void OnSetup();
62 afx_msg void OnVoiceChat();
63 afx_msg void OnExit();
64 afx_msg void OnTimer(UINT nIDEvent);
65 afx_msg void OnDestroy();
66 afx_msg void OnSelchangeBuddylist();
67 //}}AFX_MSG
68 DECLARE_MESSAGE_MAP()
69};
70
71//{{AFX_INSERT_LOCATION}}
72// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
73
74#endif // !defined(AFX_VOICE2BUDDYMFCDLG_H__F4BA3DE6_2C65_4B7D_A1BC_A9C3BAF53DEE__INCLUDED_)
Definition SetupDlg.h:20