forked from xLightsSequencer/xLights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExtraIPsDialog.h
64 lines (51 loc) · 1.71 KB
/
ExtraIPsDialog.h
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
#pragma once
/***************************************************************
* This source files comes from the xLights project
* https://www.xlights.org
* https://github.com/xLightsSequencer/xLights
* See the github commit history for a record of contributing
* developers.
* Copyright claimed based on commit dates recorded in Github
* License: https://github.com/xLightsSequencer/xLights/blob/master/License.txt
**************************************************************/
//(*Headers(ExtraIPsDialog)
#include <wx/button.h>
#include <wx/dialog.h>
#include <wx/listctrl.h>
#include <wx/sizer.h>
//*)
#include "ScheduleOptions.h"
class ExtraIPsDialog: public wxDialog
{
std::list<ExtraIP*>* _extraIPs;
void EditSelected();
void ValidateWindow();
public:
ExtraIPsDialog(wxWindow* parent, std::list<ExtraIP*>* extraIPs, wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
virtual ~ExtraIPsDialog();
//(*Declarations(ExtraIPsDialog)
wxButton* Button_Add;
wxButton* Button_Close;
wxButton* Button_Delete;
wxButton* Button_Edit;
wxListView* ListView1;
//*)
protected:
//(*Identifiers(ExtraIPsDialog)
static const long ID_LISTVIEW1;
static const long ID_BUTTON2;
static const long ID_BUTTON3;
static const long ID_BUTTON4;
static const long ID_BUTTON1;
//*)
private:
//(*Handlers(ExtraIPsDialog)
void OnButton_AddClick(wxCommandEvent& event);
void OnButton_EditClick(wxCommandEvent& event);
void OnButton_DeleteClick(wxCommandEvent& event);
void OnButton_CloseClick(wxCommandEvent& event);
void OnListView1ItemActivated(wxListEvent& event);
void OnListView1ItemSelect(wxListEvent& event);
//*)
DECLARE_EVENT_TABLE()
};