|
David@0
|
1 |
/* |
|
David@0
|
2 |
* Adium is the legal property of its developers, whose names are listed in the copyright file included |
|
David@0
|
3 |
* with this source distribution. |
|
David@0
|
4 |
* |
|
David@0
|
5 |
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU |
|
David@0
|
6 |
* General Public License as published by the Free Software Foundation; either version 2 of the License, |
|
David@0
|
7 |
* or (at your option) any later version. |
|
David@0
|
8 |
* |
|
David@0
|
9 |
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
|
David@0
|
10 |
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
|
David@0
|
11 |
* Public License for more details. |
|
David@0
|
12 |
* |
|
David@0
|
13 |
* You should have received a copy of the GNU General Public License along with this program; if not, |
|
David@0
|
14 |
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
David@0
|
15 |
*/ |
|
David@0
|
16 |
|
|
David@0
|
17 |
|
|
David@0
|
18 |
@class ESGeneralPreferences; |
|
David@0
|
19 |
|
|
David@0
|
20 |
typedef enum { |
|
David@0
|
21 |
AISwitchArrows = 0, |
|
David@0
|
22 |
AISwitchShiftArrows, |
|
David@0
|
23 |
AIBrackets, |
|
David@0
|
24 |
AIBraces, |
|
David@0
|
25 |
AIOptArrows |
|
David@0
|
26 |
} AITabKeys; |
|
David@0
|
27 |
|
|
David@0
|
28 |
typedef enum { |
|
David@0
|
29 |
AISendOnEnter = 0, |
|
David@0
|
30 |
AISendOnReturn, |
|
David@0
|
31 |
AISendOnBoth |
|
David@0
|
32 |
} AISendKeys; |
|
David@0
|
33 |
|
|
David@0
|
34 |
#define PREF_GROUP_CHAT_CYCLING @"Chat Cycling" |
|
David@0
|
35 |
#define KEY_TAB_SWITCH_KEYS @"Tab Switching Keys" |
|
David@0
|
36 |
|
|
David@0
|
37 |
#define SEND_ON_RETURN @"Send On Return" |
|
David@0
|
38 |
#define SEND_ON_ENTER @"Send On Enter" |
|
David@0
|
39 |
|
|
David@0
|
40 |
#define PREF_GROUP_LOGGING @"Logging" |
|
David@0
|
41 |
#define KEY_LOGGER_ENABLE @"Enable Logging" |
|
David@0
|
42 |
|
|
David@0
|
43 |
#define PREF_GROUP_STATUS_MENU_ITEM @"Status Menu Item" |
|
David@0
|
44 |
#define KEY_STATUS_MENU_ITEM_ENABLED @"Status Menu Item Enabled" |
|
David@0
|
45 |
|
|
David@0
|
46 |
#define KEY_GENERAL_HOTKEY @"General Hot Key" |
|
David@0
|
47 |
|
|
David@0
|
48 |
@class PTHotKey; |
|
David@0
|
49 |
|
|
David@0
|
50 |
@interface ESGeneralPreferencesPlugin : AIPlugin { |
|
David@0
|
51 |
ESGeneralPreferences *preferences; |
|
David@0
|
52 |
|
|
David@0
|
53 |
PTHotKey *globalHotKey; |
|
David@0
|
54 |
} |
|
David@0
|
55 |
|
|
David@0
|
56 |
@end |