Mercurial > pidgin-twitter
comparison pidgin-twitter.h @ 72:af4f31bce461
Support API base message posting
author | Konosuke Watanabe <sasugaanija@gmail.com> |
---|---|
date | Thu, 26 Jun 2008 01:22:42 +0900 |
parents | d1f92d980f58 |
children | 6b9593d1ffed |
comparison
equal
deleted
inserted
replaced
71:76fc004cd327 | 72:af4f31bce461 |
---|---|
41 #define OPT_USERLIST_SENDER OPT_PIDGINTWITTER "/userlist_sender" | 41 #define OPT_USERLIST_SENDER OPT_PIDGINTWITTER "/userlist_sender" |
42 #define OPT_COUNTER OPT_PIDGINTWITTER "/counter" | 42 #define OPT_COUNTER OPT_PIDGINTWITTER "/counter" |
43 #define OPT_SUPPRESS_OOPS OPT_PIDGINTWITTER "/suppress_oops" | 43 #define OPT_SUPPRESS_OOPS OPT_PIDGINTWITTER "/suppress_oops" |
44 #define OPT_PREVENT_NOTIFICATION OPT_PIDGINTWITTER "/prevent_notification" | 44 #define OPT_PREVENT_NOTIFICATION OPT_PIDGINTWITTER "/prevent_notification" |
45 #define OPT_ICON_DIR OPT_PIDGINTWITTER "/icon_dir" | 45 #define OPT_ICON_DIR OPT_PIDGINTWITTER "/icon_dir" |
46 #define OPT_API_BASE_POST OPT_PIDGINTWITTER "/api_base_post" | |
47 #define OPT_SCREEN_NAME OPT_PIDGINTWITTER "/screen_name" | |
48 #define OPT_PASSWORD OPT_PIDGINTWITTER "/password" | |
46 | 49 |
47 /* formats and templates */ | 50 /* formats and templates */ |
48 #define RECIPIENT_FORMAT "@<a href='http://twitter.com/%s'>%s</a>" | 51 #define RECIPIENT_FORMAT "@<a href='http://twitter.com/%s'>%s</a>" |
49 #define SENDER_FORMAT "%s<a href='http://twitter.com/%s'>%s</a>: " | 52 #define SENDER_FORMAT "%s<a href='http://twitter.com/%s'>%s</a>: " |
50 #define DEFAULT_LIST "(list of users: separated with ' ,:;')" | 53 #define DEFAULT_LIST "(list of users: separated with ' ,:;')" |
51 #define OOPS_MESSAGE "<body>Oops! Your update was over 140 characters. We sent the short version to your friends (they can view the entire update on the web).<BR></body>" | 54 #define OOPS_MESSAGE "<body>Oops! Your update was over 140 characters. We sent the short version to your friends (they can view the entire update on the web).<BR></body>" |
55 #define EMPTY "" | |
52 | 56 |
53 /* patterns */ | 57 /* patterns */ |
54 #define P_RECIPIENT "@([A-Za-z0-9_]+)" | 58 #define P_RECIPIENT "@([A-Za-z0-9_]+)" |
55 #define P_SENDER "^(\\r?\\n?)([A-Za-z0-9_]+): " | 59 #define P_SENDER "^(\\r?\\n?)([A-Za-z0-9_]+): " |
56 #define P_COMMAND "^(?:\\s*)([dDfFgGlLmMnNtTwW]{1}\\s+[A-Za-z0-9_]+)(?:\\s*\\Z)" | 60 #define P_COMMAND "^(?:\\s*)([dDfFgGlLmMnNtTwW]{1}\\s+[A-Za-z0-9_]+)(?:\\s*\\Z)" |