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 BOINC_EVENTS_H 20 #define BOINC_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_WIZARDATTACHPROJECT 6108 32 #define ID_WIZARDATTACHACCOUNTMANAGER 6109 33 #define ID_WIZARDUPDATE 6110 34 #define ID_WIZARDDETACH 6111 35 36 37 // 38 // Advanced GUI 39 // 40 41 // Advanced Frame 42 #define ID_ADVANCEDFRAME 6000 43 #define ID_STATUSBAR 6001 44 #define ID_FRAMENOTEBOOK 6002 45 #define ID_FRAMERENDERTIMER 6004 46 #define ID_FRAMETASKRENDERTIMER 6005 47 48 // File Menu 49 //#define ID_CLOSEWINDOW 50 //#define wxID_EXIT 51 52 // View Menu 53 #define ID_ADVVIEWBASE 6125 54 #define ID_ADVNOTICESVIEW 6125 55 #define ID_ADVPROJECTSVIEW 6126 56 #define ID_ADVTASKSVIEW 6127 57 #define ID_ADVTRANSFERSVIEW 6128 58 #define ID_ADVSTATISTICSVIEW 6129 59 #define ID_ADVRESOURCEUSAGEVIEW 6130 60 61 // Tools Menu 62 //#define ID_ATTACHWIZARD 63 //#define ID_WIZARDUPDATE 64 //#define ID_WIZARDDETACH 65 66 // Activity Menu 67 #define ID_ADVACTIVITYRUNALWAYS 6010 68 #define ID_ADVACTIVITYRUNBASEDONPREPERENCES 6011 69 #define ID_ADVACTIVITYSUSPEND 6012 70 #define ID_MENUSEPARATOR1 6013 71 #define ID_ADVACTIVITYGPUALWAYS 6014 72 #define ID_ADVACTIVITYGPUBASEDONPREPERENCES 6015 73 #define ID_ADVACTIVITYGPUSUSPEND 6016 74 #define ID_MENUSEPARATOR2 6017 75 #define ID_ADVNETWORKRUNALWAYS 6018 76 #define ID_ADVNETWORKRUNBASEDONPREPERENCES 6019 77 #define ID_ADVNETWORKSUSPEND 6020 78 79 // Advanced Menu 80 #define ID_OPTIONS 6050 81 #define ID_PREFERENCES 6051 82 #define ID_SELECTCOMPUTER 6052 83 #define ID_SHUTDOWNCORECLIENT 6053 84 #define ID_RUNBENCHMARKS 6054 85 #define ID_RETRYCOMMUNICATIONS 6055 86 #define ID_READCONFIG 6056 87 #define ID_READPREFERENCES 6057 88 #define ID_EVENTLOG 6058 89 #define ID_LAUNCHNEWINSTANCE 6059 90 #define ID_DIAGNOSTICLOGFLAGS 6060 91 #define ID_SELECTCOLUMNS 6061 92 #define ID_EXCLUSIVE_APPS 6063 93 94 // Help Menu 95 #define ID_HELPBOINC 6035 // Locked: Used by manager_links.php 96 #define ID_HELPBOINCWEBSITE 6024 // Locked: Used by manager_links.php 97 #define ID_HELPBOINCMANAGER 6025 // Locked: Used by manager_links.php 98 #define ID_CHECK_VERSION 6026 99 //#define wxID_ABOUT 100 101 // Views 102 #define ID_LIST_BASE 7000 103 #define ID_LIST_PROJECTSVIEW 7000 104 #define ID_LIST_WORKVIEW 7001 105 #define ID_LIST_TRANSFERSVIEW 7002 106 #define ID_LIST_MESSAGESVIEW 7003 107 #define ID_PIECTRL_RESOURCEUTILIZATIONVIEW 7004 108 #define ID_PIECTRL_RESOURCEUTILIZATIONVIEWTOTAL 7005 109 #define ID_LIST_STATISTICSVIEW 7006 110 #define ID_LIST_NOTIFICATIONSVIEW 7007 111 #define ID_LIST_RELOADNOTICES 7008 112 #define ID_TASK_BASE 8000 113 #define ID_TASK_NOTIFICATIONSVIEW 8000 114 #define ID_TASK_PROJECTSVIEW 8001 115 #define ID_TASK_WORKVIEW 8002 116 #define ID_TASK_TRANSFERSVIEW 8003 117 #define ID_TASK_STATISTICSVIEW 8004 118 #define ID_TASK_RESOURCEUTILIZATIONVIEW 8005 119 #define ID_TASK_PROJECT_UPDATE 9000 120 #define ID_TASK_PROJECT_SUSPEND 9002 121 #define ID_TASK_PROJECT_RESUME 9003 122 #define ID_TASK_PROJECT_NONEWWORK 9004 123 #define ID_TASK_PROJECT_ALLOWNEWWORK 9005 124 #define ID_TASK_PROJECT_RESET 9006 125 #define ID_TASK_PROJECT_DETACH 9007 126 #define ID_TASK_PROJECT_SHOW_PROPERTIES 9008 127 #define ID_TASK_PROJECT_WEB_PROJDEF_MIN 9100 128 #define ID_TASK_PROJECT_WEB_PROJDEF_MAX 9150 129 #define ID_TASK_ACTIVE_ONLY 9200 130 #define ID_TASK_WORK_SUSPEND 9201 131 #define ID_TASK_WORK_SHOWGRAPHICS 9202 132 #define ID_TASK_WORK_ABORT 9203 133 #define ID_TASK_SHOW_PROPERTIES 9204 134 #define ID_TASK_WORK_VMCONSOLE 9205 135 #define ID_TASK_TRANSFERS_RETRYNOW 9300 136 #define ID_TASK_TRANSFERS_ABORT 9301 137 #define ID_TASK_MESSAGES_COPYALL 9400 138 #define ID_TASK_MESSAGES_COPYSELECTED 9401 139 #define ID_TASK_MESSAGES_FILTERBYPROJECT 9402 140 #define ID_TASK_STATISTICS_USERTOTAL 9500 141 #define ID_TASK_STATISTICS_USERAVERAGE 9501 142 #define ID_TASK_STATISTICS_HOSTTOTAL 9502 143 #define ID_TASK_STATISTICS_HOSTAVERAGE 9503 144 #define ID_TASK_STATISTICS_NEXTPROJECT 9601 145 #define ID_TASK_STATISTICS_PREVPROJECT 9602 146 #define ID_TASK_STATISTICS_HIDEPROJLIST 9603 147 #define ID_TASK_STATISTICS_MODEVIEWALLSEPARATE 9610 148 #define ID_TASK_STATISTICS_MODEVIEWONEPROJECT 9611 149 #define ID_TASK_STATISTICS_MODEVIEWALLTOGETHER 9612 150 #define ID_TASK_STATISTICS_MODEVIEWSUM 9613 151 #define ID_TASK_NEWS_BOINC 9700 152 #define ID_TASK_NEWS_BOINCWEBSITE 9701 153 154 // 155 // Simple GUI 156 // 157 #define ID_SIMPLEFRAME 6400 158 #define ID_SIMPLEMESSAGECHECKTIMER 6401 159 #define ID_SIMPLE_HELP 6402 160 #define ID_SIMPLE_MESSAGESVIEW 6403 161 #define ID_SGTASKSELECTOR 6404 162 #define ID_TASKSCOMMANDBUTTON 6405 163 #define ID_ADDROJECTBUTTON 6406 164 #define ID_SGPROJECTSELECTOR 6407 165 #define ID_PROJECTWEBSITESBUTTON 6408 166 #define ID_PROJECTCOMMANDBUTTON 6409 167 #define ID_SGNOTICESBUTTON 6410 168 #define ID_SGSUSPENDRESUMEBUTTON 6411 169 #define ID_SGOPTIONS 6412 170 #define ID_SGSKINSELECTOR 6413 171 #define ID_SGPROJECTDESCRIPTION 6414 172 #define ID_SGDIAGNOSTICLOGFLAGS 6415 173 #define ID_SGDEFAULTSKINSELECTOR 6500 174 #define ID_SGFIRSTSKINSELECTOR 6501 175 // 6501-6599 Reserved for Skin Selection 176 #define ID_LASTSGSKINSELECTOR 6999 177 178 #define ID_CHANGE_SLIDE_TIMER 6600 179 #define WEBSITE_URL_MENU_ID_REMOVE_PROJECT 6610 180 #define WEBSITE_URL_MENU_ID_HOMEPAGE 6620 181 #define WEBSITE_URL_MENU_ID 6630 182 183 184 185 186 187 // 188 // Taskbar/System Tray 189 // 190 #define ID_TB_SUSPEND 6301 191 #define ID_TB_SUSPEND_GPU 6302 192 193 // 194 // Dialogs 195 // 196 #define ID_ANYDIALOG 10000 197 198 #endif 199