| Top |
FolksBackendFolksBackend — A single backend to libfolks, such as Telepathy or evolution-data-server. Each backend provides FolksPersonas which are aggregated to form FolksIndividuals. |
After creating a Backend instance, you must connect to the "persona-store-added" and "persona-store-removed" signals, then call , otherwise a race condition may occur between emission of "persona-store-added" and your code connecting to it.folks_backend_prepare()
#define FOLKS_TYPE_BACKEND (folks_backend_get_type ())
The type for FolksBackend.
struct FolksBackend {
GObject parent_instance;
FolksBackendPrivate * priv;
};
A single backend to libfolks, such as Telepathy or evolution-data-server. Each backend provides FolksPersonas which are aggregated to form FolksIndividuals.
After creating a Backend instance, you must connect to the "persona-store-added" and "persona-store-removed" signals, then call , otherwise a race condition may occur between emission of "persona-store-added" and your code connecting to it.folks_backend_prepare()
struct FolksBackendClass {
GObjectClass parent_class;
void (*disable_persona_store) (FolksBackend* self, FolksPersonaStore* store);
void (*enable_persona_store) (FolksBackend* self, FolksPersonaStore* store);
void (*set_persona_stores) (FolksBackend* self, GeeSet* storeids);
void (*prepare) (FolksBackend* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void (*prepare_finish) (FolksBackend* self, GAsyncResult* _res_, GError** error);
void (*unprepare) (FolksBackend* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void (*unprepare_finish) (FolksBackend* self, GAsyncResult* _res_, GError** error);
gboolean (*get_is_prepared) (FolksBackend* self);
gboolean (*get_is_quiescent) (FolksBackend* self);
const gchar* (*get_name) (FolksBackend* self);
GeeMap* (*get_persona_stores) (FolksBackend* self);
};
The class structure for FOLKS_TYPE_BACKEND. All the fields in this structure are private and should never be accessed directly.
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
asynchronous finish function for |
||
virtual method called by |
||
asynchronous finish function for |
||
getter method for the abstract property "is-prepared" |
||
getter method for the abstract property "is-quiescent" |
||
getter method for the abstract property "name" |
||
getter method for the abstract property "persona-stores" |