2008-08-06 18:36:30 +00:00
|
|
|
// This file is part of BOINC.
|
2005-01-20 23:22:22 +00:00
|
|
|
// http://boinc.berkeley.edu
|
2008-08-06 18:36:30 +00:00
|
|
|
// Copyright (C) 2008 University of California
|
2004-07-13 06:04:28 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
2004-07-13 06:04:28 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
2005-01-20 23:22:22 +00:00
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
2004-07-13 06:04:28 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2004-07-13 06:04:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef _EVENTS_H_
|
|
|
|
#define _EVENTS_H_
|
|
|
|
|
2009-10-14 17:11:57 +00:00
|
|
|
// Common Events across GUIs
|
|
|
|
#define ID_CLOSEWINDOW 6100
|
|
|
|
#define ID_CHANGEGUI 6101
|
|
|
|
#define ID_OPENWEBSITE 6102
|
|
|
|
#define ID_PERIODICRPCTIMER 6103
|
|
|
|
#define ID_DOCUMENTPOLLTIMER 6104
|
|
|
|
#define ID_ALERTPOLLTIMER 6105
|
|
|
|
#define ID_REFRESHSTATETIMER 6106
|
|
|
|
#define ID_WIZARDATTACH 6107
|
|
|
|
#define ID_WIZARDUPDATE 6108
|
|
|
|
#define ID_WIZARDDETACH 6109
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Advanced GUI
|
|
|
|
//
|
|
|
|
|
|
|
|
// Advanced Frame
|
2006-06-23 08:20:08 +00:00
|
|
|
#define ID_ADVANCEDFRAME 6000
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_STATUSBAR 6001
|
|
|
|
#define ID_FRAMENOTEBOOK 6002
|
|
|
|
#define ID_FRAMERENDERTIMER 6004
|
|
|
|
#define ID_FRAMETASKRENDERTIMER 6005
|
2009-10-14 17:11:57 +00:00
|
|
|
|
|
|
|
// File Menu
|
|
|
|
//#define ID_CLOSEWINDOW
|
|
|
|
//#define wxID_EXIT
|
|
|
|
|
|
|
|
// View Menu
|
|
|
|
#define ID_ADVVIEWBASE 6125
|
|
|
|
#define ID_ADVPROJECTSVIEW 6125
|
|
|
|
#define ID_ADVTASKSVIEW 6126
|
|
|
|
#define ID_ADVTRANSFERSVIEW 6127
|
|
|
|
#define ID_ADVMESSAGESVIEW 6128
|
|
|
|
#define ID_ADVSTATISTICSVIEW 6129
|
|
|
|
#define ID_ADVRESOURCEUSAGEVIEW 6130
|
|
|
|
#define ID_ADVNEWSVIEW 6131
|
|
|
|
|
|
|
|
// Tools Menu
|
|
|
|
//#define ID_ATTACHWIZARD
|
|
|
|
//#define ID_WIZARDUPDATE
|
|
|
|
//#define ID_WIZARDDETACH
|
|
|
|
|
|
|
|
// Activity Menu
|
|
|
|
#define ID_ADVACTIVITYRUNALWAYS 6010
|
|
|
|
#define ID_ADVACTIVITYRUNBASEDONPREPERENCES 6011
|
|
|
|
#define ID_ADVACTIVITYSUSPEND 6012
|
|
|
|
#define ID_ADVACTIVITYMENUSEPARATOR 6013
|
|
|
|
#define ID_ADVNETWORKRUNALWAYS 6014
|
|
|
|
#define ID_ADVNETWORKRUNBASEDONPREPERENCES 6015
|
|
|
|
#define ID_ADVNETWORKSUSPEND 6016
|
|
|
|
|
|
|
|
// Advanced Menu
|
|
|
|
#define ID_OPTIONS 6017
|
|
|
|
#define ID_PREFERENCES 6018
|
|
|
|
#define ID_SELECTCOMPUTER 6019
|
|
|
|
#define ID_SHUTDOWNCORECLIENT 6020
|
|
|
|
#define ID_RUNBENCHMARKS 6021
|
|
|
|
#define ID_RETRYCOMMUNICATIONS 6022
|
|
|
|
#define ID_READCONFIG 6023
|
|
|
|
#define ID_READPREFERENCES 6026
|
|
|
|
|
|
|
|
// Help Menu
|
|
|
|
#define ID_HELPBOINC 6035 // Locked: Used by manager_links.php
|
|
|
|
#define ID_HELPBOINCWEBSITE 6024 // Locked: Used by manager_links.php
|
|
|
|
#define ID_HELPBOINCMANAGER 6025 // Locked: Used by manager_links.php
|
|
|
|
//#define wxID_ABOUT
|
|
|
|
|
|
|
|
// Views
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_LIST_BASE 7000
|
|
|
|
#define ID_LIST_PROJECTSVIEW 7000
|
|
|
|
#define ID_LIST_WORKVIEW 7001
|
|
|
|
#define ID_LIST_TRANSFERSVIEW 7002
|
|
|
|
#define ID_LIST_MESSAGESVIEW 7003
|
2009-03-13 19:53:32 +00:00
|
|
|
#define ID_PIECTRL_RESOURCEUTILIZATIONVIEW 7004
|
|
|
|
#define ID_PIECTRL_RESOURCEUTILIZATIONVIEWTOTAL 7005
|
|
|
|
#define ID_LIST_STATISTICSVIEW 7006
|
|
|
|
#define ID_HTML_NEWSVIEW 7007
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_TASK_BASE 8000
|
|
|
|
#define ID_TASK_PROJECTSVIEW 8000
|
|
|
|
#define ID_TASK_WORKVIEW 8001
|
|
|
|
#define ID_TASK_TRANSFERSVIEW 8002
|
|
|
|
#define ID_TASK_MESSAGESVIEW 8003
|
|
|
|
#define ID_TASK_STATISTICSVIEW 8004
|
|
|
|
#define ID_TASK_RESOURCEUTILIZATIONVIEW 8005
|
2009-03-13 19:53:32 +00:00
|
|
|
#define ID_TASK_NEWSVIEW 8006
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_TASK_PROJECT_UPDATE 9000
|
|
|
|
#define ID_TASK_PROJECT_SUSPEND 9002
|
|
|
|
#define ID_TASK_PROJECT_RESUME 9003
|
|
|
|
#define ID_TASK_PROJECT_NONEWWORK 9004
|
|
|
|
#define ID_TASK_PROJECT_ALLOWNEWWORK 9005
|
|
|
|
#define ID_TASK_PROJECT_RESET 9006
|
|
|
|
#define ID_TASK_PROJECT_DETACH 9007
|
2008-07-02 10:03:01 +00:00
|
|
|
#define ID_TASK_PROJECT_SHOW_PROPERTIES 9008
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_TASK_PROJECT_WEB_PROJDEF_MIN 9100
|
|
|
|
#define ID_TASK_PROJECT_WEB_PROJDEF_MAX 9150
|
2009-08-07 08:33:31 +00:00
|
|
|
#define ID_TASK_ACTIVE_ONLY 9200
|
|
|
|
#define ID_TASK_WORK_SUSPEND 9201
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_TASK_WORK_SHOWGRAPHICS 9202
|
|
|
|
#define ID_TASK_WORK_ABORT 9203
|
2008-07-02 10:03:01 +00:00
|
|
|
#define ID_TASK_SHOW_PROPERTIES 9204
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_TASK_TRANSFERS_RETRYNOW 9300
|
|
|
|
#define ID_TASK_TRANSFERS_ABORT 9301
|
|
|
|
#define ID_TASK_MESSAGES_COPYALL 9400
|
|
|
|
#define ID_TASK_MESSAGES_COPYSELECTED 9401
|
2008-07-08 12:47:05 +00:00
|
|
|
#define ID_TASK_MESSAGES_FILTERBYPROJECT 9402
|
2005-07-22 06:56:34 +00:00
|
|
|
#define ID_TASK_STATISTICS_USERTOTAL 9500
|
|
|
|
#define ID_TASK_STATISTICS_USERAVERAGE 9501
|
|
|
|
#define ID_TASK_STATISTICS_HOSTTOTAL 9502
|
|
|
|
#define ID_TASK_STATISTICS_HOSTAVERAGE 9503
|
2006-12-29 21:55:23 +00:00
|
|
|
#define ID_TASK_STATISTICS_NEXTPROJECT 9601
|
|
|
|
#define ID_TASK_STATISTICS_PREVPROJECT 9602
|
|
|
|
#define ID_TASK_STATISTICS_MODEVIEW0 9610
|
|
|
|
#define ID_TASK_STATISTICS_MODEVIEW1 9611
|
2006-11-22 09:51:59 +00:00
|
|
|
#define ID_TASK_STATISTICS_MODEVIEW2 9612
|
2009-03-13 19:53:32 +00:00
|
|
|
#define ID_TASK_NEWS_BOINC 9700
|
|
|
|
#define ID_TASK_NEWS_BOINCWEBSITE 9701
|
2009-10-14 17:11:57 +00:00
|
|
|
|
|
|
|
//
|
|
|
|
// Simple GUI
|
|
|
|
//
|
|
|
|
#define ID_SIMPLEFRAME 6500
|
|
|
|
#define ID_SIMPLEMESSAGECHECKTIMER 6501
|
|
|
|
#define ID_SIMPLE_HELP 6601
|
|
|
|
#define ID_SIMPLE_MESSAGES 6602
|
|
|
|
#define ID_SIMPLE_MESSAGES_ALERT 6603
|
|
|
|
#define ID_SIMPLE_SUSPEND 6604
|
|
|
|
#define ID_SIMPLE_RESUME 6605
|
|
|
|
#define ID_SIMPLE_PREFERENCES 6606
|
|
|
|
#define ID_SIMPLE_MESSAGESVIEW 6607
|
|
|
|
|
|
|
|
//
|
|
|
|
// Taskbar/System Tray
|
|
|
|
//
|
|
|
|
#define ID_TB_SUSPEND 6801
|
|
|
|
|
|
|
|
//
|
|
|
|
// Dialogs
|
|
|
|
//
|
2006-11-22 09:51:59 +00:00
|
|
|
#define ID_ANYDIALOG 10000
|
2009-10-14 17:11:57 +00:00
|
|
|
|
2004-07-13 06:04:28 +00:00
|
|
|
#endif
|
|
|
|
|