FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
API-Examples/windows/APIExample/APIExample/APIExampleDlg.h at master · conan1150/API-Examples · GitHub
conan1150
/
API-Examples
Public
forked from
AgoraIO/API-Examples
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
API-Examples
/
windows
/
APIExample
/
APIExample
/
APIExampleDlg.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
133 lines (116 loc) · 5 KB
Breadcrumbs
API-Examples
/
windows
/
APIExample
/
APIExample
/
APIExampleDlg.h
Copy path
File metadata and controls
133 lines (116 loc) · 5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
//
APIExampleDlg.h : header file
//
#
pragma
once
#
include
"
Basic/LiveBroadcasting/CLiveBroadcastingDlg.h
"
#
include
"
Advanced/RTMPStream/AgoraRtmpStreaming.h
"
#
include
"
Advanced/VideoMetadata/CAgoraMetaDataDlg.h
"
#
include
"
Advanced/ScreenShare/AgoraScreenCapture.h
"
#
include
"
Advanced/CustomAudioCapture/CAgoraCaptureAudioDlg.h
"
#
include
"
Advanced/CustomVideoCapture/CAgoraCaptureVideoDlg.h
"
#
include
"
Advanced/Beauty/CAgoraBeautyDlg.h
"
#
include
"
Advanced/AudioProfile/CAgoraAudioProfile.h
"
#
include
"
Advanced/BeautyAudio/CAgoraBeautyAudio.h
"
#
include
"
Advanced/AudioMixing/CAgoraAudioMixingDlg.h
"
#
include
"
Advanced/OriginalVideo/CAgoraOriginalVideoDlg.h
"
#
include
"
Advanced/OriginalAudio/CAgoraOriginalAudioDlg.h
"
#
include
"
Advanced/CustomEncrypt/CAgoraCustomEncryptDlg.h
"
#
include
"
Advanced/mediaPlayer/CAgoraMediaPlayer.h
"
#
include
"
Advanced/VideoProfile/CAgoraVideoProfileDlg.h
"
#
include
"
Advanced/MediaEncrypt/CAgoraMediaEncryptDlg.h
"
#
include
"
Advanced/MediaIOCustomVideoCaptrue/CAgoraMediaIOVideoCaptureDlg.h
"
#
include
"
Advanced/AudioEffect/CAgoraEffectDlg.h
"
#
include
"
Advanced/MultiChannel/CAgoraMultiChannelDlg.h
"
#
include
"
Advanced/PreCallTest/CAgoraPreCallTestDlg.h
"
#
include
"
Advanced/AudioVolume/CAgoraAudioVolumeDlg.h
"
#
include
"
Advanced/ReportInCall/CAgoraReportInCallDlg.h
"
#
include
"
Advanced/RegionConn/CAgoraRegionConnDlg.h
"
#
include
"
Advanced/CrossChannel/CAgoraCrossChannelDlg.h
"
#
include
"
Advanced/MultiVideoSource/CAgoraMutilVideoSourceDlg.h
"
#
include
<
vector
>
#
include
<
map
>
const
int
MAIN_AREA_BOTTOM
=
15
;
//
CAPIExampleDlg dialog
class
CAPIExampleDlg
:
public
CDialogEx
{
//
Construction
public:
CAPIExampleDlg
(CWnd* pParent =
nullptr
);
//
standard constructor
//
Dialog Data
#
ifdef
AFX_DESIGN_TIME
enum
{
IDD
=
IDD_APIEXAMPLE_DIALOG
};
#
endif
protected:
virtual
void
DoDataExchange
(CDataExchange* pDX);
//
DDX/DDV support
//
Implementation
protected:
HICON
m_hIcon;
//
Generated message map functions
virtual
BOOL
OnInitDialog
();
afx_msg
void
OnSysCommand
(
UINT
nID,
LPARAM
lParam);
afx_msg
void
OnPaint
();
afx_msg
HCURSOR
OnQueryDragIcon
();
DECLARE_MESSAGE_MAP
()
public:
afx_msg
void
OnBnClickedButtonFaq
();
afx_msg
void
OnBnClickedButtonRegister
();
afx_msg
void
OnBnClickedButtonDemo
();
afx_msg
LRESULT
OnEIDJoinLeaveChannel
(
WPARAM
wParam,
LPARAM
lParam);
private:
void
InitSceneDialog
();
void
InitSceneList
();
void
InitCtrlText
();
HTREEITEM
GetHitItem
(
NMHDR
*pNMHDR);
void
ReleaseScene
(CTreeCtrl& treeScene,
HTREEITEM
& hSelectItem);
void
CreateScene
(CTreeCtrl& treeScene, CString selectedText);
CLiveBroadcastingDlg *m_pLiveBroadcasting =
nullptr
;
CAgoraRtmpStreamingDlg *m_pRtmpStreamingDlg =
nullptr
;
CAgoraMetaDataDlg *m_pVideoSEIDlg =
nullptr
;
CAgoraScreenCapture *m_pScreenCap =
nullptr
;
CAgoraCaptureVideoDlg *m_pCaputreVideoDlg =
nullptr
;
CAgoraMediaIOVideoCaptureDlg*m_pMediaIOVideoDlg =
nullptr
;
CAgoraCaptureAduioDlg *m_pCaptureAudioDlg =
nullptr
;
CAgoraBeautyDlg *m_pBeautyDlg =
nullptr
;
CAgoraAudioProfile *m_pAudioProfileDlg =
nullptr
;
CAgoraBeautyAudio *m_pBeautyAudio =
nullptr
;
CAgoraAudioMixingDlg *m_pAudioMixingDlg =
nullptr
;
CAgoraOriginalVideoDlg *m_pOriginalVideoDlg =
nullptr
;
CAgoraOriginalAudioDlg *m_pOriginalAudioDlg =
nullptr
;
CAgoraCustomEncryptDlg *m_pCustomEncryptDlg =
nullptr
;
CAgoraMediaPlayer *m_pmediaPlayerDlg =
nullptr
;
CAgoraVideoProfileDlg *m_pVideoProfileDlg =
nullptr
;
CAgoraMediaEncryptDlg *m_pMediaEncryptDlg =
nullptr
;
CAgoraEffectDlg *m_pAudioEffectDlg =
nullptr
;
CAgoraMultiChannelDlg *m_pMultiChannelDlg =
nullptr
;
CAgoraPreCallTestDlg *m_pPerCallTestDlg =
nullptr
;
CAgoraAudioVolumeDlg *m_pAudioVolumeDlg =
nullptr
;
CAgoraReportInCallDlg *m_pReportInCallDlg =
nullptr
;
CAgoraRegionConnDlg *m_pRegionConnDlg =
nullptr
;
CAgoraCrossChannelDlg *m_pCrossChannelDlg =
nullptr
;
CAgoraMutilVideoSourceDlg *m_pMultiVideoSourceDlg =
nullptr
;
CString m_preSelectedItemText = _T(
"
"
);
std::vector<CString> m_vecBasic, m_vecAdvanced;
CString m_curSelectedItemText = _T(
"
"
);
BOOL
m_bJoinChannel =
FALSE
;
public:
CStatic m_staMainArea;
CTreeCtrl m_lstBasicScene;
CTreeCtrl m_lstAdvanced;
afx_msg
void
OnClickListBasic
(
NMHDR
*pNMHDR,
LRESULT
*pResult);
afx_msg
void
OnSelchangedListAdvanced
(
NMHDR
*pNMHDR,
LRESULT
*pResult);
afx_msg
void
OnClickListAdvanced
(
NMHDR
*pNMHDR,
LRESULT
*pResult);
afx_msg
void
OnSelchangedListBasic
(
NMHDR
*pNMHDR,
LRESULT
*pResult);
afx_msg
void
OnSelchangingListBasic
(
NMHDR
*pNMHDR,
LRESULT
*pResult);
afx_msg
void
OnSelchangingListAdvanced
(
NMHDR
*pNMHDR,
LRESULT
*pResult);
CStatic m_stalstInfo;
afx_msg
void
OnBnClickedButtonDocumentWebsite
();
CStatic m_staAdvancedScene;
CStatic m_grpBasicScene;
CButton m_btnDemoWebSite;
CButton m_btnRegister;
CButton m_btnFAQ;
CButton m_btnDocWebsite;
CStatic m_grpDoc;
virtual
BOOL
PreTranslateMessage
(
MSG
* pMsg);
afx_msg
void
OnDestroy
();
afx_msg
void
OnClose
();
};
Back
|
FazBrowse Home
|
New Git URL