26 #ifndef _PURPLE_WHITEBOARD_H_ 27 #define _PURPLE_WHITEBOARD_H_ 69 void (*_purple_reserved1)(void);
70 void (*_purple_reserved2)(void);
71 void (*_purple_reserved3)(void);
72 void (*_purple_reserved4)(void);
89 void (*_purple_reserved1)(void);
90 void (*_purple_reserved2)(void);
91 void (*_purple_reserved3)(void);
92 void (*_purple_reserved4)(void);
PurpleWhiteboardPrplOps * prpl_ops
Protocol-plugin operations.
gboolean purple_whiteboard_get_dimensions(const PurpleWhiteboard *wb, int *width, int *height)
Gets the dimension of a whiteboard.
void purple_whiteboard_set_prpl_ops(PurpleWhiteboard *wb, PurpleWhiteboardPrplOps *ops)
Sets the prpl operations for a whiteboard.
void purple_whiteboard_send_clear(PurpleWhiteboard *wb)
Sends a request to the buddy to clear the whiteboard.
void purple_whiteboard_set_ui_ops(PurpleWhiteboardUiOps *ops)
Sets the UI operations.
struct _PurpleWhiteboard PurpleWhiteboard
A PurpleWhiteboard.
void purple_whiteboard_send_draw_list(PurpleWhiteboard *wb, GList *list)
Send a list of points to draw to the buddy.
char * who
Name of the remote user.
Structure representing an account.
void purple_whiteboard_draw_list_destroy(GList *draw_list)
Destorys a drawing list for a whiteboard.
int state
State of whiteboard session.
GList * draw_list
List of drawing elements/deltas to send.
PurpleWhiteboard * purple_whiteboard_get_session(const PurpleAccount *account, const char *who)
Finds a whiteboard from an account and user.
PurpleAccount * account
Account associated with this session.
PurpleWhiteboard PRPL Operations.
void purple_whiteboard_set_brush(PurpleWhiteboard *wb, int size, int color)
Sets the size and color of the brush.
struct _PurpleWhiteboardUiOps PurpleWhiteboardUiOps
The PurpleWhiteboard UI Operations.
void purple_whiteboard_send_brush(PurpleWhiteboard *wb, int size, int color)
Sends a request to change the size and color of the brush.
The PurpleWhiteboard UI Operations.
void * ui_data
Graphical user-interface data.
void purple_whiteboard_destroy(PurpleWhiteboard *wb)
Destroys a whiteboard.
void * proto_data
Protocol specific data.
void purple_whiteboard_clear(PurpleWhiteboard *wb)
Clears a whiteboard.
void purple_whiteboard_draw_point(PurpleWhiteboard *wb, int x, int y, int color, int size)
Draws a point on a whiteboard.
void purple_whiteboard_set_dimensions(PurpleWhiteboard *wb, int width, int height)
Sets the dimensions for a whiteboard.
gboolean purple_whiteboard_get_brush(const PurpleWhiteboard *wb, int *size, int *color)
Gets the size and color of the brush.
PurpleWhiteboard * purple_whiteboard_create(PurpleAccount *account, const char *who, int state)
Creates a whiteboard.
void purple_whiteboard_draw_line(PurpleWhiteboard *wb, int x1, int y1, int x2, int y2, int color, int size)
Draws a line on a whiteboard.
void purple_whiteboard_start(PurpleWhiteboard *wb)
Starts a whiteboard.