-
Notifications
You must be signed in to change notification settings - Fork 1
/
directory.h
96 lines (69 loc) · 2.61 KB
/
directory.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
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
//----------------------------------------------------------------------------------------
// Name: directory.h
// Purpose: Describes directory dialog
// Author: Michael Van Donselaar
// Modified by:
// Created: 2003
// Copyright: (c) Michael Van Donselaar ( [email protected] )
// Licence: GPL
//----------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------
// Begin single inclusion of this .h file condition
//----------------------------------------------------------------------------------------
#ifndef _DIRECTORY_H_
#define _DIRECTORY_H_
//----------------------------------------------------------------------------------------
// GCC interface
//----------------------------------------------------------------------------------------
#if defined(__GNUG__) && ! defined(__APPLE__)
#pragma interface "directory.h"
#endif
//----------------------------------------------------------------------------------------
// Headers
//----------------------------------------------------------------------------------------
#include "app.h"
class DirectoryDialog : public wxDialog
{
public:
DirectoryDialog( wxWindow* parent );
wxListCtrl *OTList;
wxListCtrl *PhoneList;
wxListCtrl *AccountList;
private:
void Show(void);
wxNotebook *DirectoryNotebook;
void OnAddOTList(wxCommandEvent &event);
void OnRemoveOTList(wxCommandEvent &event);
void OnDialOTList(wxCommandEvent &event);
void OnDialOTListActivatedEvent(wxListEvent &event);
void OnAddPhoneList(wxCommandEvent &event);
void OnRemovePhoneList(wxCommandEvent &event);
void OnDialPhoneList(wxCommandEvent &event);
void OnDialPhoneListActivatedEvent(wxListEvent &event);
DECLARE_EVENT_TABLE()
};
class AddOTListDialog : public wxDialog
{
public:
AddOTListDialog( wxWindow* parent, wxString selection );
wxSpinCtrl *OTNo;
wxTextCtrl *Name;
wxTextCtrl *Extension;
private:
void OnAdd(wxCommandEvent &event);
DECLARE_EVENT_TABLE()
};
class AddPhoneListDialog : public wxDialog
{
public:
AddPhoneListDialog( wxWindow* parent, wxString selection );
wxTextCtrl *Name;
wxTextCtrl *Extension;
wxTextCtrl *RingTone;
private:
void OnAdd(wxCommandEvent &event);
void OnBrowse(wxCommandEvent &event);
void OnPreviewRingTone(wxCommandEvent &event);
DECLARE_EVENT_TABLE()
};
#endif //_DIRECTORY_H_