Constructor

PurpleConversationManagernew

unstable since: 3.0

Declaration [src]

PurpleConversationManager*
purple_conversation_manager_new (
  const char* filename
)

Description [src]

Creates a new conversation manager that will be backed by filename.

This is typically only called by user interfaces in Purple.UiClass.get_conversation_manager.

If you need a PurpleConversationManager instance, you probably want to use purple_conversation_manager_get_default().

Available since: 3.0

Parameters

filename

Type: const char*

The filename to serialize to.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleConversationManager

The new instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.