libpurple/protocols/myspace/myspace.c

branch
soc.2007.msimprpl
changeset 18050
3ac6d13d25cd
parent 18049
134389a07f86
child 18051
e8d4851edaa2
equal deleted inserted replaced
18049:134389a07f86 18050:3ac6d13d25cd
36 #include "message.h" 36 #include "message.h"
37 #include "persist.h" 37 #include "persist.h"
38 #include "myspace.h" 38 #include "myspace.h"
39 39
40 40
41 /* Based on Miranda plugin by Scott Ellis, formatting.cpp, 41 /* Loosely based on Miranda plugin by Scott Ellis, formatting.cpp,
42 * https://server.scottellis.com.au/websvn/filedetails.php?repname=Miranda+Plugins&path=%2FMySpace%2Fformatting.cpp&rev=0&sc=0 */ 42 * https://server.scottellis.com.au/websvn/filedetails.php?repname=Miranda+Plugins&path=%2FMySpace%2Fformatting.cpp&rev=0&sc=0 */
43 43
44 /* The names in in emoticon_names (for <i n=whatever>) map to corresponding
45 * entries in emoticon_symbols (for the ASCII representation of the emoticon).
46 */
44 static const char *emoticon_names[] = { 47 static const char *emoticon_names[] = {
45 "bigsmile", "growl", "mad", "scared", "tongue", 48 "bigsmile", "growl", "growl", "mad", "scared", "scared", "tongue", "tongue",
46 "devil", "happy", "messed", "sidefrown", "upset", 49 "devil", "devil", "happy", "happy", "happi",
47 "frazzled", "heart", "nerd", "sinister", "wink", /* wink doesn't work */ 50 "messed", "sidefrown", "upset",
48 "geek", "laugh", "oops", "smirk", "worried", 51 "frazzled", "heart", "heart", "nerd", "sinister", "wink", "winc",
52 "geek", "laugh", "laugh", "oops", "smirk", "worried", "worried",
49 "googles", "mohawk", "pirate", "straight", "kiss", 53 "googles", "mohawk", "pirate", "straight", "kiss",
50 "happi" /* ??? */,
51 NULL}; 54 NULL};
52 55
56 /* Multiple emoticon symbols in Pidgin can map to one name. List the
57 * canonical form, as inserted by the "Smile!" dialog, first. For example,
58 * :) comes before :-), because although both are recognized as 'happy',
59 * the first is inserted by the smiley button.
60 *
61 * Note that symbols are case-sensitive in Pidgin -- :-X is not :-x. */
53 static const char *emoticon_symbols[] = { 62 static const char *emoticon_symbols[] = {
54 ":D", ">:o", ":-[", "=-O", ":P", 63 ":D", ">:o", ">:O", ":-[", "=-O", "=-o", ":P", ":p",
55 "O:-)" /*:)*/, ":)", "8-)", ":-$", ":-$", 64 "O:-)", "o:-)", ":)", ":-)", ":-)",
56 ":-/", ";-)", "8-)" /*:)*/, ":-D", ";-)", 65 "8-)", ":-$", ":-$",
57 ":-X", ":-D", ":'(", "8-)", ":-(", 66 ":-/", ";-)", ";)", "8-)" /*:)*/, ":-D", ";-)", ";-)",
67 ":-X", ":-D", ":-d", ":'(", "8-)", ":-(", ":(",
58 "8-)", ":-X", ":-)", ":-!", ":-*", 68 "8-)", ":-X", ":-)", ":-!", ":-*",
59 ":-)",
60 NULL}; 69 NULL};
61 70
62 /** 71 /**
63 * Load the plugin. 72 * Load the plugin.
64 */ 73 */

mercurial