Mercurial > pidgin
changeset 32338:46177ee4af40
Hide struct PurpleWhiteboard.
author | andrew.victor@mxit.com |
---|---|
date | Sun, 30 Oct 2011 16:54:03 +0000 |
parents | 5bd5e024c977 |
children | b6276b10cb10 |
files | ChangeLog.API libpurple/whiteboard.c libpurple/whiteboard.h |
diffstat | 3 files changed, 21 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog.API Sun Oct 30 16:00:14 2011 +0000 +++ b/ChangeLog.API Sun Oct 30 16:54:03 2011 +0000 @@ -229,6 +229,7 @@ * struct _PurpleRoomlist * struct _PurpleRoomlistField * struct _PurpleRoomlistRoom + * struct _PurpleWhiteboard * struct PurpleAccountOption * struct PurpleAccountUserSplit * struct PurpleNotifySearchColumn
--- a/libpurple/whiteboard.c Sun Oct 30 16:00:14 2011 +0000 +++ b/libpurple/whiteboard.c Sun Oct 30 16:54:03 2011 +0000 @@ -25,6 +25,23 @@ #include "whiteboard.h" #include "prpl.h" +/** + * A PurpleWhiteboard + */ +struct _PurpleWhiteboard +{ + int state; /**< State of whiteboard session */ + + PurpleAccount *account; /**< Account associated with this session */ + char *who; /**< Name of the remote user */ + + void *ui_data; /**< Graphical user-interface data */ + void *proto_data; /**< Protocol specific data */ + PurpleWhiteboardPrplOps *prpl_ops; /**< Protocol-plugin operations */ + + GList *draw_list; /**< List of drawing elements/deltas to send */ +}; + /****************************************************************************** * Globals *****************************************************************************/
--- a/libpurple/whiteboard.h Sun Oct 30 16:00:14 2011 +0000 +++ b/libpurple/whiteboard.h Sun Oct 30 16:54:03 2011 +0000 @@ -26,6 +26,9 @@ #ifndef _PURPLE_WHITEBOARD_H_ #define _PURPLE_WHITEBOARD_H_ +/** @copydoc _PurpleWhiteboard */ +typedef struct _PurpleWhiteboard PurpleWhiteboard; + /** * Whiteboard PRPL Operations */ @@ -33,22 +36,6 @@ #include "account.h" -/** - * A PurpleWhiteboard - */ -typedef struct _PurpleWhiteboard -{ - int state; /**< State of whiteboard session */ - - PurpleAccount *account; /**< Account associated with this session */ - char *who; /**< Name of the remote user */ - - void *ui_data; /**< Graphical user-interface data */ - void *proto_data; /**< Protocol specific data */ - PurpleWhiteboardPrplOps *prpl_ops; /**< Protocol-plugin operations */ - - GList *draw_list; /**< List of drawing elements/deltas to send */ -} PurpleWhiteboard; /** * The PurpleWhiteboard UI Operations