libpurple/plugins/perl/common/Whiteboard.xs

Wed, 13 May 2009 20:29:03 +0000

author
Marcus Lundblad <malu@pidgin.im>
date
Wed, 13 May 2009 20:29:03 +0000
changeset 27110
05ca719b901b
parent 23985
a8c308734700
child 34937
ca1dab25bd7a
permissions
-rw-r--r--

Support custom smileys in MUCs (when all participants support BoB and a maximum
of 10 participants are in the chat).
Always announce support for BoB, since disable custom smileys will still turn
off fetching them, and BoB can be used for other purposes further on.

23985
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
1 #include "module.h"
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
2
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
3 MODULE = Purple::Whiteboard PACKAGE = Purple::Whiteboard PREFIX = purple_whiteboard_
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
4 PROTOTYPES: ENABLE
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
5
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
6 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
7 purple_whiteboard_clear(wb)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
8 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
9
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
10 Purple::Whiteboard
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
11 purple_whiteboard_create(account, who, state)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
12 Purple::Account account
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
13 const char* who
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
14 int state
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
15
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
16 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
17 purple_whiteboard_destroy(wb)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
18 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
19
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
20 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
21 purple_whiteboard_draw_line(wb, x1, y1, x2, y2, color, size)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
22 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
23 int x1
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
24 int y1
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
25 int x2
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
26 int y2
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
27 int color
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
28 int size
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
29
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
30 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
31 purple_whiteboard_draw_point(wb, x, y, color, size)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
32 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
33 int x
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
34 int y
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
35 int color
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
36 int size
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
37
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
38 Purple::Whiteboard
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
39 purple_whiteboard_get_session(account, who)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
40 Purple::Account account
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
41 const char* who
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
42
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
43 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
44 purple_whiteboard_send_brush(wb, size, color)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
45 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
46 int size
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
47 int color
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
48
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
49 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
50 purple_whiteboard_send_clear(wb)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
51 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
52
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
53 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
54 purple_whiteboard_set_brush(wb, size, color)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
55 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
56 int size
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
57 int color
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
58
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
59 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
60 purple_whiteboard_set_dimensions(wb, width, height)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
61 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
62 int width
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
63 int height
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
64
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
65 gboolean
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
66 purple_whiteboard_get_brush(wb, OUTLIST int size, OUTLIST int color)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
67 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
68 PROTOTYPE: $
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
69
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
70 gboolean
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
71 purple_whiteboard_get_dimensions(wb, OUTLIST int width, OUTLIST int height)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
72 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
73 PROTOTYPE: $
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
74
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
75 void
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
76 purple_whiteboard_start(wb)
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
77 Purple::Whiteboard wb
a8c308734700 Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
78

mercurial