Virtual Method
PurpleProtocolWhiteboardcreate
unstable since: 3.0
Declaration [src]
PurpleWhiteboard*
create (
PurpleProtocolWhiteboard* whiteboard,
PurpleAccount* account,
const gchar* who,
gint state
)
Parameters
account-
Type:
PurpleAccountThe
PurpleAccount.The data is owned by the caller of the method. who-
Type:
const gchar*The username of the contact who the whiteboard is being created for.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. state-
Type:
gintThe initial state of the whiteboard.
Return value
Type: PurpleWhiteboard
The new whiteboard instance.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |