Backend


Object Hierarchy:

Object hierarchy for Backend

Description:

public class Backend : Backend

A backend which allows FolksDummy.PersonaStores and FolksDummy.Personas to be programmatically created and manipulated, for the purposes of testing the core of libfolks itself.

This backend is not meant to be enabled in production use. The methods on FolksDummy.Backend (and other classes) for programmatically manipulating the backend's state are considered internal to libfolks and are not stable.

This backend maintains two sets of persona stores: the set of all persona stores, and the set of enabled persona stores (which must be a subset of the former). FolksDummy.Backend.register_persona_stores adds persona stores to the set of all stores. Optionally it also enables them, adding them to the set of enabled stores. The set of persona stores advertised by the backend as Folks.Backend.persona_stores is the set of enabled stores. libfolks may internally enable or disable stores using Folks.Backend.enable_persona_store, Folks.Backend.disable_persona_store and Folks.Backend.set_persona_stores. The register_ and unregister_ prefixes are commonly used for backend methods.

The API in FolksDummy is unstable and may change wildly. It is designed mostly for use by libfolks unit tests.

Since:

0.9.7


Namespace: FolksDummy
Package: folks-dummy

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Folks.Backend
 
All known members inherited from class GLib.Object