Fix language getting reset to system default on saving preferences
[amule.git] / src / include / common / MenuIDs.h
blob3de65e5542f3fb290dbeaea69e2f52a2d5261b95
1 //
2 // This file is part of the aMule Project.
3 //
4 // Copyright (c) 2003-2008 aMule Team ( admin@amule.org / http://www.amule.org )
5 // Copyright (c) 2002-2008 Merkur ( devs@emule-project.net / http://www.emule-project.net )
6 //
7 // Any parts of this program derived from the xMule, lMule or eMule project,
8 // or contributed by third-party developers are copyrighted by their
9 // respective authors.
11 // This program is free software; you can redistribute it and/or modify
12 // it under the terms of the GNU General Public License as published by
13 // the Free Software Foundation; either version 2 of the License, or
14 // (at your option) any later version.
16 // This program is distributed in the hope that it will be useful,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 // GNU General Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program; if not, write to the Free Software
23 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
26 #ifndef COMMONMENUIDS_H
27 #define COMMONMENUIDS_H
29 #include <wx/defs.h> // To access wxID_HIGHEST menu item constant
31 enum {
32 MP_MESSAGE = wxID_HIGHEST + 1, // Start ID at next free value (defined by wx)
33 MP_DETAIL,
34 MP_ADDFRIEND,
35 MP_REMOVEFRIEND,
36 MP_SHOWLIST,
37 MP_FRIENDSLOT,
38 MP_CHANGE2FILE,
39 MP_CANCEL,
40 MP_STOP,
41 MP_RESUME,
42 MP_PAUSE,
43 MP_CLEARCOMPLETED,
44 MP_VIEW,
45 MP_SENDMESSAGE,
46 MP_WS,
47 MP_RAZORSTATS,
48 MP_ADDCOLLECTION,
49 MP_GETCOMMENTS,
50 MP_SEARCHRELATED,
51 MP_MARK_AS_KNOWN,
52 //For comments
53 MP_CMT,
55 MP_PRIOVERYLOW,
56 MP_PRIOLOW,
57 MP_PRIONORMAL,
58 MP_PRIOHIGH,
59 MP_PRIOVERYHIGH,
60 MP_POWERSHARE,
61 MP_PRIOAUTO,
62 MP_GETMAGNETLINK,
63 MP_GETED2KLINK,
64 MP_GETSOURCEED2KLINK,
65 MP_GETCRYPTSOURCEDED2KLINK,
66 MP_GETHOSTNAMESOURCEED2KLINK,
67 MP_GETHOSTNAMECRYPTSOURCEED2KLINK,
68 MP_GETAICHED2KLINK,
69 MP_METINFO,
70 MP_CONNECTTO,
71 MP_REMOVE,
72 MP_REMOVEALL,
73 MP_UNBAN,
74 MP_ADDTOSTATIC,
75 MP_REMOVEFROMSTATIC,
76 MP_VIEWFILECOMMENTS,
77 MP_CAT_ADD,
78 MP_CAT_EDIT,
79 MP_CAT_REMOVE,
80 MP_TOOGLELIST,
81 MP_CLOSE_TAB,
82 MP_CLOSE_ALL_TABS,
83 MP_CLOSE_OTHER_TABS,
84 MP_RENAME,
86 /* Razor 1a - Modif by MikaelB
87 Opcodes for :
88 - Drop No Needed Sources now
89 - Drop Full Queue Sources now
90 - Drop High Queue Rating Sources now
91 - Clean Up Sources now ( drop NNS, FQS and HQRS )
92 - Swap every A4AF to this file now
93 - Swap every A4AF to this file ( AUTO )
94 - Swap every A4AF to any other file now */
95 MP_DROP_NO_NEEDED_SOURCES,
96 MP_DROP_FULL_QUEUE_SOURCES,
97 MP_DROP_HIGH_QUEUE_RATING_SOURCES,
98 MP_CLEAN_UP_SOURCES,
99 MP_SWAP_A4AF_TO_THIS,
100 MP_SWAP_A4AF_TO_THIS_AUTO,
101 MP_SWAP_A4AF_TO_ANY_OTHER,
103 //menus
104 MP_MENU_PRIO,
105 MP_MENU_EXTD,
106 MP_MENU_CATS,
108 // CMuleListCtrl tabs.
109 MP_LISTCOL_1,
110 MP_LISTCOL_2,
111 MP_LISTCOL_3,
112 MP_LISTCOL_4,
113 MP_LISTCOL_5,
114 MP_LISTCOL_6,
115 MP_LISTCOL_7,
116 MP_LISTCOL_8,
117 MP_LISTCOL_9,
118 MP_LISTCOL_10,
119 MP_LISTCOL_11,
120 MP_LISTCOL_12,
121 MP_LISTCOL_13,
122 MP_LISTCOL_14,
123 MP_LISTCOL_15,
125 MP_ASSIGNCAT = MP_LISTCOL_15 + 1, // reserve some for categories (about 100)
126 MP_CAT_SET0 = MP_ASSIGNCAT + 100, // reserve some for change all-cats (about 50)
127 MP_SWITCHCTRL_0 = MP_CAT_SET0 + 50,
128 MP_SWITCHCTRL_9 = MP_SWITCHCTRL_0 + 9,
130 // Pop-up menu clickable entries
131 TRAY_MENU_INFO = 0,
132 TRAY_MENU_CLIENTINFO = 0,
133 TRAY_MENU_CLIENTINFO_ITEM = MP_SWITCHCTRL_9 + 1, // continue from MP_SWITCHCTRL_9
134 TRAY_MENU_DISCONNECT,
135 TRAY_MENU_CONNECT,
136 TRAY_MENU_HIDE,
137 TRAY_MENU_SHOW,
138 TRAY_MENU_EXIT,
139 UPLOAD_ITEM1,
140 UPLOAD_ITEM2,
141 UPLOAD_ITEM3,
142 UPLOAD_ITEM4,
143 UPLOAD_ITEM5,
144 UPLOAD_ITEM6,
145 DOWNLOAD_ITEM1,
146 DOWNLOAD_ITEM2,
147 DOWNLOAD_ITEM3,
148 DOWNLOAD_ITEM4,
149 DOWNLOAD_ITEM5,
150 DOWNLOAD_ITEM6
153 #endif // COMMONMENUIDS_H