-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCreateSessionDlgImpl.cpp
More file actions
70 lines (57 loc) · 1.25 KB
/
Copy pathCreateSessionDlgImpl.cpp
File metadata and controls
70 lines (57 loc) · 1.25 KB
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
#include "CreateSessionDlgImpl.h"
CreateSessionDlgImpl::CreateSessionDlgImpl( wxWindow* parent )
:
CreateSessionDlg( parent )
{
}
///
/// Getter Functions
///
wxString CreateSessionDlgImpl::GetHostname()
{
return m_textHostname->GetLineText(0);
}
wxString CreateSessionDlgImpl::GetPort()
{
return m_textServicePort->GetLineText(0);
}
wxString CreateSessionDlgImpl::GetAmiId()
{
return m_textAmiId->GetLineText(0);
}
wxString CreateSessionDlgImpl::GetAmiPw()
{
return m_textAmiSecret->GetLineText(0);
}
wxString CreateSessionDlgImpl::GetExten()
{
return m_textExten->GetLineText(0);
}
///
/// Setter Funtions
///
void CreateSessionDlgImpl::SetHostname(const wxString& str)
{
m_textHostname->Clear();
m_textHostname->AppendText(str);
}
void CreateSessionDlgImpl::SetPort(const wxString& str)
{
m_textServicePort->Clear();
m_textServicePort->AppendText(str);
}
void CreateSessionDlgImpl::SetAmiId(const wxString& str)
{
m_textAmiId->Clear();
m_textAmiId->AppendText(str);
}
void CreateSessionDlgImpl::SetAmiPw(const wxString& str)
{
m_textAmiSecret->Clear();
m_textAmiSecret->AppendText(str);
}
void CreateSessionDlgImpl::SetExten(const wxString& str)
{
m_textExten->Clear();
m_textExten->AppendText(str);
}