~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to clientgui/Events.h

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Berkeley Open Infrastructure for Network Computing
2
 
// http://boinc.berkeley.edu
3
 
// Copyright (C) 2005 University of California
4
 
//
5
 
// This is free software; you can redistribute it and/or
6
 
// modify it under the terms of the GNU Lesser General Public
7
 
// License as published by the Free Software Foundation;
8
 
// either version 2.1 of the License, or (at your option) any later version.
9
 
//
10
 
// This software is distributed in the hope that it will be useful,
11
 
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
 
// See the GNU Lesser General Public License for more details.
14
 
//
15
 
// To view the GNU Lesser General Public License visit
16
 
// http://www.gnu.org/copyleft/lesser.html
17
 
// or write to the Free Software Foundation, Inc.,
18
 
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19
 
 
20
 
 
21
 
#ifndef _EVENTS_H_
22
 
#define _EVENTS_H_
23
 
 
24
 
#define ID_ADVANCEDFRAME                        6000
25
 
#define ID_STATUSBAR                            6001
26
 
#define ID_FRAMENOTEBOOK                        6002
27
 
#define ID_REFRESHSTATETIMER                    6003
28
 
#define ID_FRAMERENDERTIMER                     6004
29
 
#define ID_FRAMETASKRENDERTIMER                 6005
30
 
#define ID_FRAMELISTRENDERTIMER                 6006
31
 
#define ID_DOCUMENTPOLLTIMER                    6007
32
 
#define ID_SIMPLEFRAMERENDERTIMER               6008
33
 
#define ID_ALERTPOLLTIMER                       6009
34
 
#define ID_FILEACTIVITYRUNALWAYS                6010
35
 
#define ID_FILEACTIVITYRUNBASEDONPREPERENCES    6011
36
 
#define ID_FILEACTIVITYSUSPEND                  6012
37
 
#define ID_FILENETWORKRUNALWAYS                 6013
38
 
#define ID_FILENETWORKRUNBASEDONPREPERENCES     6014
39
 
#define ID_FILENETWORKSUSPEND                   6015
40
 
#define ID_COMMANDSRETRYCOMMUNICATIONS          6016
41
 
#define ID_FILERUNBENCHMARKS                    6017
42
 
#define ID_FILESELECTCOMPUTER                   6018
43
 
#define ID_PROJECTSATTACHACCOUNTMANAGER         6019
44
 
#define ID_PROJECTSATTACHPROJECT                6020
45
 
#define ID_READ_PREFS                                                   6021
46
 
#define ID_READ_CONFIG                                                  6022
47
 
#define ID_OPTIONSOPTIONS                       6023
48
 
#define ID_HELPBOINCWEBSITE                     6024
49
 
#define ID_HELPBOINCMANAGER                     6025
50
 
#define ID_TOOLSAMUPDATENOW                     6026
51
 
#define ID_ADVANCEDAMDEFECT                     6027
52
 
#define ID_OPENWEBSITE                          6028
53
 
#define ID_FILESWITCHGUI                        6029
54
 
#define ID_REFRESHMESSAGESTIMER                 6030
55
 
#define ID_ACTIVITYMENUSEPARATOR                6031
56
 
#define ID_FILECLOSEWINDOW                      6032
57
 
#define ID_ADVPREFSDLG                                                  6033
58
 
#define ID_SHUTDOWNCORECLIENT                   6034
59
 
#define ID_HELPBOINC                            6035
60
 
#define ID_VIEWACCESSIBLE                       6036
61
 
#define ID_VIEWGRID                             6037
62
 
#define ID_SIMPLEFRAME                          6100
63
 
#define ID_SIMPLEMESSAGECHECKTIMER              6101
64
 
#define ID_SIMPLE_ATTACHTOPROJECT               6600
65
 
#define ID_SIMPLE_HELP                          6601
66
 
#define ID_SIMPLE_MESSAGES                      6602
67
 
#define ID_SIMPLE_MESSAGES_ALERT                6603
68
 
#define ID_SIMPLE_SUSPEND                       6604
69
 
#define ID_SIMPLE_RESUME                        6605
70
 
#define ID_SIMPLE_PREFERENCES                   6606
71
 
#define ID_SIMPLE_MESSAGESVIEW                  6607
72
 
#define ID_SIMPLE_SYNCHRONIZE                   6608
73
 
#define ID_TB_TIMER                             6800
74
 
#define ID_TB_SUSPEND                           6801
75
 
#define ID_LIST_BASE                            7000
76
 
#define ID_LIST_PROJECTSVIEW                    7000
77
 
#define ID_LIST_WORKVIEW                        7001
78
 
#define ID_LIST_TRANSFERSVIEW                   7002
79
 
#define ID_LIST_MESSAGESVIEW                    7003
80
 
#define ID_LIST_RESOURCEUTILIZATIONVIEW         7004
81
 
#define ID_LIST_STATISTICSVIEW                  7005
82
 
#define ID_LIST_RESOURCEUTILIZATIONVIEWTOTAL    7006
83
 
#define ID_LIST_WORKGRIDVIEW                    7007
84
 
#define ID_LIST_TRANSFERSGRIDVIEW               7008
85
 
#define ID_LIST_PROJECTSGRIDVIEW                7009
86
 
#define ID_LIST_MESSAGESGRIDVIEW                7010
87
 
#define ID_TASK_BASE                            8000
88
 
#define ID_TASK_PROJECTSVIEW                    8000
89
 
#define ID_TASK_WORKVIEW                        8001
90
 
#define ID_TASK_TRANSFERSVIEW                   8002
91
 
#define ID_TASK_MESSAGESVIEW                    8003
92
 
#define ID_TASK_STATISTICSVIEW                  8004
93
 
#define ID_TASK_RESOURCEUTILIZATIONVIEW         8005
94
 
#define ID_TASK_WORKGRIDVIEW                    8006
95
 
#define ID_TASK_TRANSFERSGRIDVIEW               8007
96
 
#define ID_TASK_PROJECTSGRIDVIEW                8008
97
 
#define ID_TASK_MESSAGESGRIDVIEW                8009
98
 
#define ID_TASK_PROJECT_UPDATE                  9000
99
 
#define ID_TASK_PROJECT_SUSPEND                 9002
100
 
#define ID_TASK_PROJECT_RESUME                  9003
101
 
#define ID_TASK_PROJECT_NONEWWORK               9004
102
 
#define ID_TASK_PROJECT_ALLOWNEWWORK            9005
103
 
#define ID_TASK_PROJECT_RESET                   9006
104
 
#define ID_TASK_PROJECT_DETACH                  9007
105
 
#define ID_TASK_PROJECT_WEB_PROJDEF_MIN         9100
106
 
#define ID_TASK_PROJECT_WEB_PROJDEF_MAX         9150
107
 
#define ID_TASK_WORK_SUSPEND                    9200
108
 
#define ID_TASK_WORK_RESUME                     9201
109
 
#define ID_TASK_WORK_SHOWGRAPHICS               9202
110
 
#define ID_TASK_WORK_ABORT                      9203
111
 
#define ID_TASK_TRANSFERS_RETRYNOW              9300
112
 
#define ID_TASK_TRANSFERS_ABORT                 9301
113
 
#define ID_TASK_MESSAGES_COPYALL                9400
114
 
#define ID_TASK_MESSAGES_COPYSELECTED           9401
115
 
#define ID_TASK_STATISTICS_USERTOTAL            9500
116
 
#define ID_TASK_STATISTICS_USERAVERAGE          9501
117
 
#define ID_TASK_STATISTICS_HOSTTOTAL            9502
118
 
#define ID_TASK_STATISTICS_HOSTAVERAGE          9503
119
 
#define ID_TASK_STATISTICS_NEXTPROJECT          9601
120
 
#define ID_TASK_STATISTICS_PREVPROJECT          9602
121
 
#define ID_TASK_STATISTICS_MODEVIEW0            9610
122
 
#define ID_TASK_STATISTICS_MODEVIEW1            9611
123
 
#define ID_TASK_STATISTICS_MODEVIEW2            9612
124
 
#define ID_ANYDIALOG                            10000
125
 
#endif
126
 
 
 
1
// This file is part of BOINC.
 
2
// http://boinc.berkeley.edu
 
3
// Copyright (C) 2008 University of California
 
4
//
 
5
// BOINC is free software; you can redistribute it and/or modify it
 
6
// under the terms of the GNU Lesser General Public License
 
7
// as published by the Free Software Foundation,
 
8
// either version 3 of the License, or (at your option) any later version.
 
9
//
 
10
// BOINC is distributed in the hope that it will be useful,
 
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
13
// See the GNU Lesser General Public License for more details.
 
14
//
 
15
// You should have received a copy of the GNU Lesser General Public License
 
16
// along with BOINC.  If not, see <http://www.gnu.org/licenses/>.
 
17
 
 
18
 
 
19
#ifndef _EVENTS_H_
 
20
#define _EVENTS_H_
 
21
 
 
22
// Common Events across GUIs
 
23
#define ID_CLOSEWINDOW                          6100
 
24
#define ID_CHANGEGUI                            6101
 
25
#define ID_OPENWEBSITE                          6102
 
26
#define ID_OPENBOINCMANAGER                     6103
 
27
#define ID_PERIODICRPCTIMER                     6104
 
28
#define ID_DOCUMENTPOLLTIMER                    6105
 
29
#define ID_ALERTPOLLTIMER                       6106
 
30
#define ID_REFRESHSTATETIMER                    6107
 
31
#define ID_WIZARDATTACH                         6108
 
32
#define ID_WIZARDUPDATE                         6109
 
33
#define ID_WIZARDDETACH                         6110
 
34
 
 
35
 
 
36
//
 
37
// Advanced GUI
 
38
//
 
39
 
 
40
// Advanced Frame
 
41
#define ID_ADVANCEDFRAME                        6000
 
42
#define ID_STATUSBAR                            6001
 
43
#define ID_FRAMENOTEBOOK                        6002
 
44
#define ID_FRAMERENDERTIMER                     6004
 
45
#define ID_FRAMETASKRENDERTIMER                 6005
 
46
 
 
47
// File Menu
 
48
//#define ID_CLOSEWINDOW
 
49
//#define wxID_EXIT
 
50
 
 
51
// View Menu
 
52
#define ID_ADVVIEWBASE                          6125
 
53
#define ID_ADVNOTICESVIEW                       6125
 
54
#define ID_ADVPROJECTSVIEW                      6126
 
55
#define ID_ADVTASKSVIEW                         6127
 
56
#define ID_ADVTRANSFERSVIEW                     6128
 
57
#define ID_ADVSTATISTICSVIEW                    6129
 
58
#define ID_ADVRESOURCEUSAGEVIEW                 6130
 
59
 
 
60
// Tools Menu
 
61
//#define ID_ATTACHWIZARD
 
62
//#define ID_WIZARDUPDATE
 
63
//#define ID_WIZARDDETACH
 
64
 
 
65
// Activity Menu
 
66
#define ID_ADVACTIVITYRUNALWAYS                 6010
 
67
#define ID_ADVACTIVITYRUNBASEDONPREPERENCES     6011
 
68
#define ID_ADVACTIVITYSUSPEND                   6012
 
69
#define ID_MENUSEPARATOR1                       6013
 
70
#define ID_ADVACTIVITYGPUALWAYS                 6014
 
71
#define ID_ADVACTIVITYGPUBASEDONPREPERENCES     6015
 
72
#define ID_ADVACTIVITYGPUSUSPEND                6016
 
73
#define ID_MENUSEPARATOR2                       6017
 
74
#define ID_ADVNETWORKRUNALWAYS                  6018
 
75
#define ID_ADVNETWORKRUNBASEDONPREPERENCES      6019
 
76
#define ID_ADVNETWORKSUSPEND                    6020
 
77
 
 
78
// Advanced Menu
 
79
#define ID_OPTIONS                              6050
 
80
#define ID_PREFERENCES                          6051
 
81
#define ID_SELECTCOMPUTER                       6052
 
82
#define ID_SHUTDOWNCORECLIENT                   6053
 
83
#define ID_RUNBENCHMARKS                        6054
 
84
#define ID_RETRYCOMMUNICATIONS                  6055
 
85
#define ID_READCONFIG                           6056
 
86
#define ID_READPREFERENCES                      6057
 
87
#define ID_EVENTLOG                             6058
 
88
#define ID_LAUNCHNEWINSTANCE                    6059
 
89
 
 
90
// Help Menu
 
91
#define ID_HELPBOINC                            6035  // Locked: Used by manager_links.php
 
92
#define ID_HELPBOINCWEBSITE                     6024  // Locked: Used by manager_links.php
 
93
#define ID_HELPBOINCMANAGER                     6025  // Locked: Used by manager_links.php
 
94
//#define wxID_ABOUT
 
95
 
 
96
// Views
 
97
#define ID_LIST_BASE                            7000
 
98
#define ID_LIST_PROJECTSVIEW                    7000
 
99
#define ID_LIST_WORKVIEW                        7001
 
100
#define ID_LIST_TRANSFERSVIEW                   7002
 
101
#define ID_LIST_MESSAGESVIEW                    7003
 
102
#define ID_PIECTRL_RESOURCEUTILIZATIONVIEW      7004
 
103
#define ID_PIECTRL_RESOURCEUTILIZATIONVIEWTOTAL 7005
 
104
#define ID_LIST_STATISTICSVIEW                  7006
 
105
#define ID_LIST_NOTIFICATIONSVIEW               7007
 
106
#define ID_TASK_BASE                            8000
 
107
#define ID_TASK_NOTIFICATIONSVIEW               8000
 
108
#define ID_TASK_PROJECTSVIEW                    8001
 
109
#define ID_TASK_WORKVIEW                        8002
 
110
#define ID_TASK_TRANSFERSVIEW                   8003
 
111
#define ID_TASK_STATISTICSVIEW                  8004
 
112
#define ID_TASK_RESOURCEUTILIZATIONVIEW         8005
 
113
#define ID_TASK_PROJECT_UPDATE                  9000
 
114
#define ID_TASK_PROJECT_SUSPEND                 9002
 
115
#define ID_TASK_PROJECT_RESUME                  9003
 
116
#define ID_TASK_PROJECT_NONEWWORK               9004
 
117
#define ID_TASK_PROJECT_ALLOWNEWWORK            9005
 
118
#define ID_TASK_PROJECT_RESET                   9006
 
119
#define ID_TASK_PROJECT_DETACH                  9007
 
120
#define ID_TASK_PROJECT_SHOW_PROPERTIES         9008
 
121
#define ID_TASK_PROJECT_WEB_PROJDEF_MIN         9100
 
122
#define ID_TASK_PROJECT_WEB_PROJDEF_MAX         9150
 
123
#define ID_TASK_ACTIVE_ONLY                     9200
 
124
#define ID_TASK_WORK_SUSPEND                    9201
 
125
#define ID_TASK_WORK_SHOWGRAPHICS               9202
 
126
#define ID_TASK_WORK_ABORT                      9203
 
127
#define ID_TASK_SHOW_PROPERTIES                 9204
 
128
#define ID_TASK_TRANSFERS_RETRYNOW              9300
 
129
#define ID_TASK_TRANSFERS_ABORT                 9301
 
130
#define ID_TASK_MESSAGES_COPYALL                9400
 
131
#define ID_TASK_MESSAGES_COPYSELECTED           9401
 
132
#define ID_TASK_MESSAGES_FILTERBYPROJECT        9402
 
133
#define ID_TASK_STATISTICS_USERTOTAL            9500
 
134
#define ID_TASK_STATISTICS_USERAVERAGE          9501
 
135
#define ID_TASK_STATISTICS_HOSTTOTAL            9502
 
136
#define ID_TASK_STATISTICS_HOSTAVERAGE          9503
 
137
#define ID_TASK_STATISTICS_NEXTPROJECT          9601
 
138
#define ID_TASK_STATISTICS_PREVPROJECT          9602
 
139
#define ID_TASK_STATISTICS_HIDEPROJLIST         9603
 
140
#define ID_TASK_STATISTICS_MODEVIEWALLSEPARATE  9610
 
141
#define ID_TASK_STATISTICS_MODEVIEWONEPROJECT   9611
 
142
#define ID_TASK_STATISTICS_MODEVIEWALLTOGETHER  9612
 
143
#define ID_TASK_STATISTICS_MODEVIEWSUM          9613
 
144
#define ID_TASK_NEWS_BOINC                      9700
 
145
#define ID_TASK_NEWS_BOINCWEBSITE               9701
 
146
 
 
147
//
 
148
// Simple GUI
 
149
//
 
150
#define ID_SIMPLEFRAME                          6500
 
151
#define ID_SIMPLEMESSAGECHECKTIMER              6501
 
152
#define ID_SIMPLE_HELP                          6601
 
153
#define ID_SIMPLE_MESSAGES                      6602
 
154
#define ID_SIMPLE_MESSAGES_ALERT                6603
 
155
#define ID_SIMPLE_SUSPEND                       6604
 
156
#define ID_SIMPLE_RESUME                        6605
 
157
#define ID_SIMPLE_PREFERENCES                   6606
 
158
#define ID_SIMPLE_MESSAGESVIEW                  6607
 
159
 
 
160
//
 
161
// Taskbar/System Tray
 
162
//
 
163
#define ID_TB_SUSPEND                           6801
 
164
#define ID_TB_SUSPEND_GPU                       6802
 
165
 
 
166
//
 
167
// Dialogs
 
168
//
 
169
#define ID_ANYDIALOG                            10000
 
170
 
 
171
#endif
 
172