3 /// Dialog class to handle modem functionality
7 Copyright (C) 2012-2013, Net Direct Inc. (http://www.netdirect.ca/)
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRYDESKTOP_MODEM_DLG_H__
23 #define __BARRYDESKTOP_MODEM_DLG_H__
29 // begin wxGlade: ::dependencies
33 // begin wxGlade: ::extracode
40 class ModemDlg
: public wxDialog
43 // begin wxGlade: ModemDlg::ids
47 // begin wxGlade: ModemDlg::methods
48 void set_properties();
53 // begin wxGlade: ModemDlg::attributes
54 wxStaticBox
* sizer_5_staticbox
;
55 wxStaticBox
* sizer_1_staticbox
;
56 wxStaticText
* label_2
;
57 wxStaticText
* device_label
;
58 wxListBox
* list_box_1
;
59 wxStaticText
* label_1
;
60 wxTextCtrl
* text_ctrl_1
;
63 wxSizer
*bottom_buttons
;
67 ModemDlg(wxWindow
* parent
, const std::vector
<std::string
> &peers
,
68 const std::string
&default_peer
,
69 const Barry::Pin
&pin
);
71 std::string
GetPeerName() const;
72 std::string
GetPassword() const;
74 static void DoModem(wxWindow
*parent
, const Barry::Pin
&pin
);
75 }; // wxGlade: end class