Constructor

PurplePresenceManagernew

since: 3.0

Declaration [src]

PurplePresenceManager*
purple_presence_manager_new (
  const char* path
)

Description [src]

Creates a new presence manager instance.

If path is NULL, settings will not be stored to disk.

Available since: 3.0

Parameters

path

Type: const char*

An optional directory path where settings will be stored.

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: PurplePresenceManager

The new instance.

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