comparison mcabber/src/settings.h @ 521:cc8c969ab6e5

"/status" changes - No hardcoded status message - If there is no user-defined status message, the current message is kept - "/status $status -" clears the status message - Auto-away improvement
author Mikael Berthe <mikael@lilotux.net>
date Sat, 19 Nov 2005 16:30:49 +0100
parents 879ffddc13b0
children 8b3db0b555a1
comparison
equal deleted inserted replaced
520:c60175268eb5 521:cc8c969ab6e5
7 #include "jabglue.h" 7 #include "jabglue.h"
8 8
9 #ifndef isblank 9 #ifndef isblank
10 # define isblank(c) ((c) == 0x20 || (c) == 0x09) 10 # define isblank(c) ((c) == 0x20 || (c) == 0x09)
11 #endif 11 #endif
12
13
14 /* Default status messages */
15 #define MSG_AVAIL "I'm here!"
16 #define MSG_FREE "Free for chat"
17 #define MSG_DND "Busy"
18 #define MSG_NOTAVAIL "Not available"
19 #define MSG_AWAY "Away"
20 #define MSG_AUTOAWAY "Auto away status (idle)"
21 12
22 13
23 #define SETTINGS_TYPE_OPTION 1 14 #define SETTINGS_TYPE_OPTION 1
24 #define SETTINGS_TYPE_ALIAS 2 15 #define SETTINGS_TYPE_ALIAS 2
25 #define SETTINGS_TYPE_BINDING 3 16 #define SETTINGS_TYPE_BINDING 3