Mercurial > pidgin
comparison libpurple/protocols/myspace/myspace.h @ 19714:43a8cd1f708c
Remove the *_USE_ATTENTION_API markers everywhere.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 10 Sep 2007 20:51:59 +0000 |
parents | 44b4e8bd759b |
children | 2a9f3a499b0d 187fa336c1b0 |
comparison
equal
deleted
inserted
replaced
19713:eabc8a32b1e4 | 19714:43a8cd1f708c |
---|---|
70 /* Define to cause init_plugin() to run some tests and print | 70 /* Define to cause init_plugin() to run some tests and print |
71 * the results to the Purple debug log, then exit. Useful to | 71 * the results to the Purple debug log, then exit. Useful to |
72 * run with 'pidgin -d' to see the output. Don't define if | 72 * run with 'pidgin -d' to see the output. Don't define if |
73 * you want to actually use the plugin! */ | 73 * you want to actually use the plugin! */ |
74 /*#define MSIM_SELF_TEST */ | 74 /*#define MSIM_SELF_TEST */ |
75 | |
76 /* Use the attention API for zaps? */ | |
77 /* Can't have until >=2.2.0, since is a new API. */ | |
78 #define MSIM_USE_ATTENTION_API | |
79 | 75 |
80 /* Constants */ | 76 /* Constants */ |
81 | 77 |
82 /* Maximum length of a password that is acceptable. This is the limit | 78 /* Maximum length of a password that is acceptable. This is the limit |
83 * on the official client (build 679) and on the 'new password' field at | 79 * on the official client (build 679) and on the 'new password' field at |
178 /* Codes for msim_got_contact_list(), to tell what to do afterwards. */ | 174 /* Codes for msim_got_contact_list(), to tell what to do afterwards. */ |
179 #define MSIM_CONTACT_LIST_INITIAL_FRIENDS 0 | 175 #define MSIM_CONTACT_LIST_INITIAL_FRIENDS 0 |
180 #define MSIM_CONTACT_LIST_IMPORT_ALL_FRIENDS 1 | 176 #define MSIM_CONTACT_LIST_IMPORT_ALL_FRIENDS 1 |
181 #define MSIM_CONTACT_LIST_IMPORT_TOP_FRIENDS 2 | 177 #define MSIM_CONTACT_LIST_IMPORT_TOP_FRIENDS 2 |
182 | 178 |
183 #ifdef MSIM_USE_ATTENTION_API | |
184 #define MsimAttentionType PurpleAttentionType | 179 #define MsimAttentionType PurpleAttentionType |
185 #else | |
186 /* Different kinds of attention alerts. Not yet in libpurple, so define | |
187 * our own structure here. */ | |
188 typedef struct _MsimAttentionType MsimAttentionType; | |
189 | |
190 /** A type of "attention" message (zap, nudge, buzz, etc. depending on the | |
191 * protocol) that can be sent and received. */ | |
192 struct _MsimAttentionType { | |
193 const gchar *name; /**< Shown before sending. */ | |
194 const gchar *incoming_description; /**< Shown when sent. */ | |
195 const gchar *outgoing_description; /**< Shown when received. */ | |
196 const gchar *icon_name; | |
197 }; | |
198 #endif | |
199 | 180 |
200 /* Functions */ | 181 /* Functions */ |
201 gboolean msim_load(PurplePlugin *plugin); | 182 gboolean msim_load(PurplePlugin *plugin); |
202 GList *msim_status_types(PurpleAccount *acct); | 183 GList *msim_status_types(PurpleAccount *acct); |
203 | 184 |