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