Constructor

PurpleBadgeManagernew

unstable since: 3.0

Declaration [src]

PurpleBadgeManager*
purple_badge_manager_new (
  void
)

Description [src]

Creates a new badge manager.

A badge manager is just a runtime cache to help protocols and plugins by holding onto an instance which can be referenced instead of having to always create a new instance.

Available since: 3.0

Return value

Type: PurpleBadgeManager

The new instance.

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