| folks.h | | folks.h | |
|
| /* folks.h generated by valac 0.11.2.11-bbde6, the Vala compiler, do not mo
dify */ | | /* folks.h generated by valac 0.11.2.25-30b2-dirty, the Vala compiler, do n
ot modify */ | |
| | | | |
| #ifndef __FOLKS_H__ | | #ifndef __FOLKS_H__ | |
| #define __FOLKS_H__ | | #define __FOLKS_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <gio/gio.h> | | #include <gio/gio.h> | |
| #include <gee.h> | | #include <gee.h> | |
| | | | |
| skipping to change at line 23 | | skipping to change at line 23 | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define FOLKS_TYPE_ALIASABLE (folks_aliasable_get_type ()) | | #define FOLKS_TYPE_ALIASABLE (folks_aliasable_get_type ()) | |
| #define FOLKS_ALIASABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE
_ALIASABLE, FolksAliasable)) | | #define FOLKS_ALIASABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE
_ALIASABLE, FolksAliasable)) | |
| #define FOLKS_IS_ALIASABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_T
YPE_ALIASABLE)) | | #define FOLKS_IS_ALIASABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_T
YPE_ALIASABLE)) | |
| #define FOLKS_ALIASABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (
(obj), FOLKS_TYPE_ALIASABLE, FolksAliasableIface)) | | #define FOLKS_ALIASABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (
(obj), FOLKS_TYPE_ALIASABLE, FolksAliasableIface)) | |
| | | | |
| typedef struct _FolksAliasable FolksAliasable; | | typedef struct _FolksAliasable FolksAliasable; | |
| typedef struct _FolksAliasableIface FolksAliasableIface; | | typedef struct _FolksAliasableIface FolksAliasableIface; | |
| | | | |
|
| #define FOLKS_TYPE_AVATAR (folks_avatar_get_type ()) | | | |
| #define FOLKS_AVATAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE_AV | | | |
| ATAR, FolksAvatar)) | | | |
| #define FOLKS_IS_AVATAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_TYPE | | | |
| _AVATAR)) | | | |
| #define FOLKS_AVATAR_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((ob | | | |
| j), FOLKS_TYPE_AVATAR, FolksAvatarIface)) | | | |
| | | | |
| typedef struct _FolksAvatar FolksAvatar; | | | |
| typedef struct _FolksAvatarIface FolksAvatarIface; | | | |
| | | | |
| #define FOLKS_TYPE_BACKEND (folks_backend_get_type ()) | | #define FOLKS_TYPE_BACKEND (folks_backend_get_type ()) | |
| #define FOLKS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE_B
ACKEND, FolksBackend)) | | #define FOLKS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE_B
ACKEND, FolksBackend)) | |
| #define FOLKS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FOLKS
_TYPE_BACKEND, FolksBackendClass)) | | #define FOLKS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FOLKS
_TYPE_BACKEND, FolksBackendClass)) | |
| #define FOLKS_IS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_TYP
E_BACKEND)) | | #define FOLKS_IS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_TYP
E_BACKEND)) | |
| #define FOLKS_IS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO
LKS_TYPE_BACKEND)) | | #define FOLKS_IS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO
LKS_TYPE_BACKEND)) | |
| #define FOLKS_BACKEND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FOL
KS_TYPE_BACKEND, FolksBackendClass)) | | #define FOLKS_BACKEND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FOL
KS_TYPE_BACKEND, FolksBackendClass)) | |
| | | | |
| typedef struct _FolksBackend FolksBackend; | | typedef struct _FolksBackend FolksBackend; | |
| typedef struct _FolksBackendClass FolksBackendClass; | | typedef struct _FolksBackendClass FolksBackendClass; | |
| typedef struct _FolksBackendPrivate FolksBackendPrivate; | | typedef struct _FolksBackendPrivate FolksBackendPrivate; | |
| | | | |
| skipping to change at line 63 | | skipping to change at line 55 | |
| #define FOLKS_BACKEND_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_
TYPE_BACKEND_STORE, FolksBackendStore)) | | #define FOLKS_BACKEND_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_
TYPE_BACKEND_STORE, FolksBackendStore)) | |
| #define FOLKS_BACKEND_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
FOLKS_TYPE_BACKEND_STORE, FolksBackendStoreClass)) | | #define FOLKS_BACKEND_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
FOLKS_TYPE_BACKEND_STORE, FolksBackendStoreClass)) | |
| #define FOLKS_IS_BACKEND_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOL
KS_TYPE_BACKEND_STORE)) | | #define FOLKS_IS_BACKEND_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOL
KS_TYPE_BACKEND_STORE)) | |
| #define FOLKS_IS_BACKEND_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), FOLKS_TYPE_BACKEND_STORE)) | | #define FOLKS_IS_BACKEND_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), FOLKS_TYPE_BACKEND_STORE)) | |
| #define FOLKS_BACKEND_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), FOLKS_TYPE_BACKEND_STORE, FolksBackendStoreClass)) | | #define FOLKS_BACKEND_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), FOLKS_TYPE_BACKEND_STORE, FolksBackendStoreClass)) | |
| | | | |
| typedef struct _FolksBackendStore FolksBackendStore; | | typedef struct _FolksBackendStore FolksBackendStore; | |
| typedef struct _FolksBackendStoreClass FolksBackendStoreClass; | | typedef struct _FolksBackendStoreClass FolksBackendStoreClass; | |
| typedef struct _FolksBackendStorePrivate FolksBackendStorePrivate; | | typedef struct _FolksBackendStorePrivate FolksBackendStorePrivate; | |
| | | | |
|
| #define FOLKS_TYPE_FAVOURITE (folks_favourite_get_type ()) | | #define FOLKS_TYPE_FAVOURITABLE (folks_favouritable_get_type ()) | |
| #define FOLKS_FAVOURITE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE | | #define FOLKS_FAVOURITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_T | |
| _FAVOURITE, FolksFavourite)) | | YPE_FAVOURITABLE, FolksFavouritable)) | |
| #define FOLKS_IS_FAVOURITE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_T | | #define FOLKS_IS_FAVOURITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLK | |
| YPE_FAVOURITE)) | | S_TYPE_FAVOURITABLE)) | |
| #define FOLKS_FAVOURITE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ( | | #define FOLKS_FAVOURITABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFAC | |
| (obj), FOLKS_TYPE_FAVOURITE, FolksFavouriteIface)) | | E ((obj), FOLKS_TYPE_FAVOURITABLE, FolksFavouritableIface)) | |
| | | | |
|
| typedef struct _FolksFavourite FolksFavourite; | | typedef struct _FolksFavouritable FolksFavouritable; | |
| typedef struct _FolksFavouriteIface FolksFavouriteIface; | | typedef struct _FolksFavouritableIface FolksFavouritableIface; | |
| | | | |
| #define FOLKS_TYPE_GROUPABLE (folks_groupable_get_type ()) | | #define FOLKS_TYPE_GROUPABLE (folks_groupable_get_type ()) | |
| #define FOLKS_GROUPABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE
_GROUPABLE, FolksGroupable)) | | #define FOLKS_GROUPABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE
_GROUPABLE, FolksGroupable)) | |
| #define FOLKS_IS_GROUPABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_T
YPE_GROUPABLE)) | | #define FOLKS_IS_GROUPABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_T
YPE_GROUPABLE)) | |
| #define FOLKS_GROUPABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (
(obj), FOLKS_TYPE_GROUPABLE, FolksGroupableIface)) | | #define FOLKS_GROUPABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (
(obj), FOLKS_TYPE_GROUPABLE, FolksGroupableIface)) | |
| | | | |
| typedef struct _FolksGroupable FolksGroupable; | | typedef struct _FolksGroupable FolksGroupable; | |
| typedef struct _FolksGroupableIface FolksGroupableIface; | | typedef struct _FolksGroupableIface FolksGroupableIface; | |
| | | | |
| #define FOLKS_GROUPABLE_TYPE_CHANGE_REASON (folks_groupable_change_reason_g
et_type ()) | | #define FOLKS_GROUPABLE_TYPE_CHANGE_REASON (folks_groupable_change_reason_g
et_type ()) | |
| | | | |
|
| | | #define FOLKS_TYPE_HAS_AVATAR (folks_has_avatar_get_type ()) | |
| | | #define FOLKS_HAS_AVATAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYP | |
| | | E_HAS_AVATAR, FolksHasAvatar)) | |
| | | #define FOLKS_IS_HAS_AVATAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_ | |
| | | TYPE_HAS_AVATAR)) | |
| | | #define FOLKS_HAS_AVATAR_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE | |
| | | ((obj), FOLKS_TYPE_HAS_AVATAR, FolksHasAvatarIface)) | |
| | | | |
| | | typedef struct _FolksHasAvatar FolksHasAvatar; | |
| | | typedef struct _FolksHasAvatarIface FolksHasAvatarIface; | |
| | | | |
| | | #define FOLKS_TYPE_PRESENCE_TYPE (folks_presence_type_get_type ()) | |
| | | | |
| | | #define FOLKS_TYPE_HAS_PRESENCE (folks_has_presence_get_type ()) | |
| | | #define FOLKS_HAS_PRESENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_T | |
| | | YPE_HAS_PRESENCE, FolksHasPresence)) | |
| | | #define FOLKS_IS_HAS_PRESENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLK | |
| | | S_TYPE_HAS_PRESENCE)) | |
| | | #define FOLKS_HAS_PRESENCE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFAC | |
| | | E ((obj), FOLKS_TYPE_HAS_PRESENCE, FolksHasPresenceIface)) | |
| | | | |
| | | typedef struct _FolksHasPresence FolksHasPresence; | |
| | | typedef struct _FolksHasPresenceIface FolksHasPresenceIface; | |
| | | | |
| #define FOLKS_TYPE_IMABLE (folks_imable_get_type ()) | | #define FOLKS_TYPE_IMABLE (folks_imable_get_type ()) | |
| #define FOLKS_IMABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE_IM
ABLE, FolksIMable)) | | #define FOLKS_IMABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE_IM
ABLE, FolksIMable)) | |
| #define FOLKS_IS_IMABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_TYPE
_IMABLE)) | | #define FOLKS_IS_IMABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_TYPE
_IMABLE)) | |
| #define FOLKS_IMABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((ob
j), FOLKS_TYPE_IMABLE, FolksIMableIface)) | | #define FOLKS_IMABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((ob
j), FOLKS_TYPE_IMABLE, FolksIMableIface)) | |
| | | | |
| typedef struct _FolksIMable FolksIMable; | | typedef struct _FolksIMable FolksIMable; | |
| typedef struct _FolksIMableIface FolksIMableIface; | | typedef struct _FolksIMableIface FolksIMableIface; | |
| | | | |
| #define FOLKS_TYPE_TRUST_LEVEL (folks_trust_level_get_type ()) | | #define FOLKS_TYPE_TRUST_LEVEL (folks_trust_level_get_type ()) | |
| | | | |
|
| #define FOLKS_TYPE_PRESENCE (folks_presence_get_type ()) | | | |
| #define FOLKS_PRESENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYPE_ | | | |
| PRESENCE, FolksPresence)) | | | |
| #define FOLKS_IS_PRESENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_TY | | | |
| PE_PRESENCE)) | | | |
| #define FOLKS_PRESENCE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (( | | | |
| obj), FOLKS_TYPE_PRESENCE, FolksPresenceIface)) | | | |
| | | | |
| typedef struct _FolksPresence FolksPresence; | | | |
| typedef struct _FolksPresenceIface FolksPresenceIface; | | | |
| | | | |
| #define FOLKS_TYPE_PRESENCE_TYPE (folks_presence_type_get_type ()) | | | |
| | | | |
| #define FOLKS_TYPE_INDIVIDUAL (folks_individual_get_type ()) | | #define FOLKS_TYPE_INDIVIDUAL (folks_individual_get_type ()) | |
| #define FOLKS_INDIVIDUAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYP
E_INDIVIDUAL, FolksIndividual)) | | #define FOLKS_INDIVIDUAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FOLKS_TYP
E_INDIVIDUAL, FolksIndividual)) | |
| #define FOLKS_INDIVIDUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO
LKS_TYPE_INDIVIDUAL, FolksIndividualClass)) | | #define FOLKS_INDIVIDUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO
LKS_TYPE_INDIVIDUAL, FolksIndividualClass)) | |
| #define FOLKS_IS_INDIVIDUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_
TYPE_INDIVIDUAL)) | | #define FOLKS_IS_INDIVIDUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FOLKS_
TYPE_INDIVIDUAL)) | |
| #define FOLKS_IS_INDIVIDUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
FOLKS_TYPE_INDIVIDUAL)) | | #define FOLKS_IS_INDIVIDUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
FOLKS_TYPE_INDIVIDUAL)) | |
| #define FOLKS_INDIVIDUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
FOLKS_TYPE_INDIVIDUAL, FolksIndividualClass)) | | #define FOLKS_INDIVIDUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
FOLKS_TYPE_INDIVIDUAL, FolksIndividualClass)) | |
| | | | |
| typedef struct _FolksIndividual FolksIndividual; | | typedef struct _FolksIndividual FolksIndividual; | |
| typedef struct _FolksIndividualClass FolksIndividualClass; | | typedef struct _FolksIndividualClass FolksIndividualClass; | |
| typedef struct _FolksIndividualPrivate FolksIndividualPrivate; | | typedef struct _FolksIndividualPrivate FolksIndividualPrivate; | |
| | | | |
| skipping to change at line 145 | | skipping to change at line 145 | |
| typedef struct _FolksPersonaStorePrivate FolksPersonaStorePrivate; | | typedef struct _FolksPersonaStorePrivate FolksPersonaStorePrivate; | |
| | | | |
| #define FOLKS_TYPE_MAYBE_BOOL (folks_maybe_bool_get_type ()) | | #define FOLKS_TYPE_MAYBE_BOOL (folks_maybe_bool_get_type ()) | |
| | | | |
| struct _FolksAliasableIface { | | struct _FolksAliasableIface { | |
| GTypeInterface parent_iface; | | GTypeInterface parent_iface; | |
| const gchar* (*get_alias) (FolksAliasable* self); | | const gchar* (*get_alias) (FolksAliasable* self); | |
| void (*set_alias) (FolksAliasable* self, const gchar* value); | | void (*set_alias) (FolksAliasable* self, const gchar* value); | |
| }; | | }; | |
| | | | |
|
| struct _FolksAvatarIface { | | | |
| GTypeInterface parent_iface; | | | |
| GFile* (*get_avatar) (FolksAvatar* self); | | | |
| void (*set_avatar) (FolksAvatar* self, GFile* value); | | | |
| }; | | | |
| | | | |
| struct _FolksBackend { | | struct _FolksBackend { | |
| GObject parent_instance; | | GObject parent_instance; | |
| FolksBackendPrivate * priv; | | FolksBackendPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _FolksBackendClass { | | struct _FolksBackendClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| void (*prepare) (FolksBackend* self, GAsyncReadyCallback _callback_,
gpointer _user_data_); | | void (*prepare) (FolksBackend* self, GAsyncReadyCallback _callback_,
gpointer _user_data_); | |
| void (*prepare_finish) (FolksBackend* self, GAsyncResult* _res_, GEr
ror** error); | | void (*prepare_finish) (FolksBackend* self, GAsyncResult* _res_, GEr
ror** error); | |
| void (*unprepare) (FolksBackend* self, GAsyncReadyCallback _callback
_, gpointer _user_data_); | | void (*unprepare) (FolksBackend* self, GAsyncReadyCallback _callback
_, gpointer _user_data_); | |
| | | | |
| skipping to change at line 176 | | skipping to change at line 170 | |
| | | | |
| struct _FolksBackendStore { | | struct _FolksBackendStore { | |
| GObject parent_instance; | | GObject parent_instance; | |
| FolksBackendStorePrivate * priv; | | FolksBackendStorePrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _FolksBackendStoreClass { | | struct _FolksBackendStoreClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| struct _FolksFavouriteIface { | | struct _FolksFavouritableIface { | |
| GTypeInterface parent_iface; | | GTypeInterface parent_iface; | |
|
| gboolean (*get_is_favourite) (FolksFavourite* self); | | gboolean (*get_is_favourite) (FolksFavouritable* self); | |
| void (*set_is_favourite) (FolksFavourite* self, gboolean value); | | void (*set_is_favourite) (FolksFavouritable* self, gboolean value); | |
| }; | | }; | |
| | | | |
| struct _FolksGroupableIface { | | struct _FolksGroupableIface { | |
| GTypeInterface parent_iface; | | GTypeInterface parent_iface; | |
| void (*change_group) (FolksGroupable* self, const gchar* group, gboo
lean is_member, GAsyncReadyCallback _callback_, gpointer _user_data_); | | void (*change_group) (FolksGroupable* self, const gchar* group, gboo
lean is_member, GAsyncReadyCallback _callback_, gpointer _user_data_); | |
| void (*change_group_finish) (FolksGroupable* self, GAsyncResult* _re
s_, GError** error); | | void (*change_group_finish) (FolksGroupable* self, GAsyncResult* _re
s_, GError** error); | |
| GHashTable* (*get_groups) (FolksGroupable* self); | | GHashTable* (*get_groups) (FolksGroupable* self); | |
| void (*set_groups) (FolksGroupable* self, GHashTable* value); | | void (*set_groups) (FolksGroupable* self, GHashTable* value); | |
| }; | | }; | |
| | | | |
| | | | |
| skipping to change at line 205 | | skipping to change at line 199 | |
| FOLKS_GROUPABLE_CHANGE_REASON_INVITED = 4, | | FOLKS_GROUPABLE_CHANGE_REASON_INVITED = 4, | |
| FOLKS_GROUPABLE_CHANGE_REASON_BANNED = 5, | | FOLKS_GROUPABLE_CHANGE_REASON_BANNED = 5, | |
| FOLKS_GROUPABLE_CHANGE_REASON_ERROR = 6, | | FOLKS_GROUPABLE_CHANGE_REASON_ERROR = 6, | |
| FOLKS_GROUPABLE_CHANGE_REASON_INVALID_MEMBER = 7, | | FOLKS_GROUPABLE_CHANGE_REASON_INVALID_MEMBER = 7, | |
| FOLKS_GROUPABLE_CHANGE_REASON_NO_ANSWER = 8, | | FOLKS_GROUPABLE_CHANGE_REASON_NO_ANSWER = 8, | |
| FOLKS_GROUPABLE_CHANGE_REASON_RENAMED = 9, | | FOLKS_GROUPABLE_CHANGE_REASON_RENAMED = 9, | |
| FOLKS_GROUPABLE_CHANGE_REASON_PERMISSION_DENIED = 10, | | FOLKS_GROUPABLE_CHANGE_REASON_PERMISSION_DENIED = 10, | |
| FOLKS_GROUPABLE_CHANGE_REASON_SEPARATED = 11 | | FOLKS_GROUPABLE_CHANGE_REASON_SEPARATED = 11 | |
| } FolksGroupableChangeReason; | | } FolksGroupableChangeReason; | |
| | | | |
|
| struct _FolksIMableIface { | | struct _FolksHasAvatarIface { | |
| GTypeInterface parent_iface; | | GTypeInterface parent_iface; | |
|
| GHashTable* (*get_im_addresses) (FolksIMable* self); | | GFile* (*get_avatar) (FolksHasAvatar* self); | |
| void (*set_im_addresses) (FolksIMable* self, GHashTable* value); | | void (*set_avatar) (FolksHasAvatar* self, GFile* value); | |
| }; | | }; | |
| | | | |
| typedef enum { | | typedef enum { | |
|
| FOLKS_TRUST_LEVEL_NONE, | | | |
| FOLKS_TRUST_LEVEL_PERSONAS | | | |
| } FolksTrustLevel; | | | |
| | | | |
| typedef enum { | | | |
| FOLKS_PRESENCE_TYPE_UNSET, | | FOLKS_PRESENCE_TYPE_UNSET, | |
| FOLKS_PRESENCE_TYPE_OFFLINE, | | FOLKS_PRESENCE_TYPE_OFFLINE, | |
| FOLKS_PRESENCE_TYPE_AVAILABLE, | | FOLKS_PRESENCE_TYPE_AVAILABLE, | |
| FOLKS_PRESENCE_TYPE_AWAY, | | FOLKS_PRESENCE_TYPE_AWAY, | |
| FOLKS_PRESENCE_TYPE_EXTENDED_AWAY, | | FOLKS_PRESENCE_TYPE_EXTENDED_AWAY, | |
| FOLKS_PRESENCE_TYPE_HIDDEN, | | FOLKS_PRESENCE_TYPE_HIDDEN, | |
| FOLKS_PRESENCE_TYPE_BUSY, | | FOLKS_PRESENCE_TYPE_BUSY, | |
| FOLKS_PRESENCE_TYPE_UNKNOWN, | | FOLKS_PRESENCE_TYPE_UNKNOWN, | |
| FOLKS_PRESENCE_TYPE_ERROR | | FOLKS_PRESENCE_TYPE_ERROR | |
| } FolksPresenceType; | | } FolksPresenceType; | |
| | | | |
|
| struct _FolksPresenceIface { | | struct _FolksHasPresenceIface { | |
| | | GTypeInterface parent_iface; | |
| | | FolksPresenceType (*get_presence_type) (FolksHasPresence* self); | |
| | | void (*set_presence_type) (FolksHasPresence* self, FolksPresenceType | |
| | | value); | |
| | | const gchar* (*get_presence_message) (FolksHasPresence* self); | |
| | | void (*set_presence_message) (FolksHasPresence* self, const gchar* v | |
| | | alue); | |
| | | }; | |
| | | | |
| | | typedef enum { | |
| | | FOLKS_IMABLE_ERROR_INVALID_IM_ADDRESS | |
| | | } FolksIMableError; | |
| | | #define FOLKS_IMABLE_ERROR folks_imable_error_quark () | |
| | | struct _FolksIMableIface { | |
| GTypeInterface parent_iface; | | GTypeInterface parent_iface; | |
|
| FolksPresenceType (*get_presence_type) (FolksPresence* self); | | GHashTable* (*get_im_addresses) (FolksIMable* self); | |
| void (*set_presence_type) (FolksPresence* self, FolksPresenceType va | | void (*set_im_addresses) (FolksIMable* self, GHashTable* value); | |
| lue); | | | |
| const gchar* (*get_presence_message) (FolksPresence* self); | | | |
| void (*set_presence_message) (FolksPresence* self, const gchar* valu | | | |
| e); | | | |
| }; | | }; | |
| | | | |
|
| | | typedef enum { | |
| | | FOLKS_TRUST_LEVEL_NONE, | |
| | | FOLKS_TRUST_LEVEL_PERSONAS | |
| | | } FolksTrustLevel; | |
| | | | |
| struct _FolksIndividual { | | struct _FolksIndividual { | |
| GObject parent_instance; | | GObject parent_instance; | |
| FolksIndividualPrivate * priv; | | FolksIndividualPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _FolksIndividualClass { | | struct _FolksIndividualClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| }; | | }; | |
| | | | |
| typedef enum { | | typedef enum { | |
| | | | |
| skipping to change at line 319 | | skipping to change at line 323 | |
| FolksMaybeBool (*get_can_add_personas) (FolksPersonaStore* self); | | FolksMaybeBool (*get_can_add_personas) (FolksPersonaStore* self); | |
| FolksMaybeBool (*get_can_alias_personas) (FolksPersonaStore* self); | | FolksMaybeBool (*get_can_alias_personas) (FolksPersonaStore* self); | |
| FolksMaybeBool (*get_can_group_personas) (FolksPersonaStore* self); | | FolksMaybeBool (*get_can_group_personas) (FolksPersonaStore* self); | |
| FolksMaybeBool (*get_can_remove_personas) (FolksPersonaStore* self); | | FolksMaybeBool (*get_can_remove_personas) (FolksPersonaStore* self); | |
| gboolean (*get_is_prepared) (FolksPersonaStore* self); | | gboolean (*get_is_prepared) (FolksPersonaStore* self); | |
| }; | | }; | |
| | | | |
| GType folks_aliasable_get_type (void) G_GNUC_CONST; | | GType folks_aliasable_get_type (void) G_GNUC_CONST; | |
| const gchar* folks_aliasable_get_alias (FolksAliasable* self); | | const gchar* folks_aliasable_get_alias (FolksAliasable* self); | |
| void folks_aliasable_set_alias (FolksAliasable* self, const gchar* value); | | void folks_aliasable_set_alias (FolksAliasable* self, const gchar* value); | |
|
| GType folks_avatar_get_type (void) G_GNUC_CONST; | | | |
| GFile* folks_avatar_get_avatar (FolksAvatar* self); | | | |
| void folks_avatar_set_avatar (FolksAvatar* self, GFile* value); | | | |
| GType folks_backend_get_type (void) G_GNUC_CONST; | | GType folks_backend_get_type (void) G_GNUC_CONST; | |
| GType folks_persona_store_get_type (void) G_GNUC_CONST; | | GType folks_persona_store_get_type (void) G_GNUC_CONST; | |
| void folks_backend_prepare (FolksBackend* self, GAsyncReadyCallback _callba
ck_, gpointer _user_data_); | | void folks_backend_prepare (FolksBackend* self, GAsyncReadyCallback _callba
ck_, gpointer _user_data_); | |
| void folks_backend_prepare_finish (FolksBackend* self, GAsyncResult* _res_,
GError** error); | | void folks_backend_prepare_finish (FolksBackend* self, GAsyncResult* _res_,
GError** error); | |
| void folks_backend_unprepare (FolksBackend* self, GAsyncReadyCallback _call
back_, gpointer _user_data_); | | void folks_backend_unprepare (FolksBackend* self, GAsyncReadyCallback _call
back_, gpointer _user_data_); | |
| void folks_backend_unprepare_finish (FolksBackend* self, GAsyncResult* _res
_, GError** error); | | void folks_backend_unprepare_finish (FolksBackend* self, GAsyncResult* _res
_, GError** error); | |
| FolksBackend* folks_backend_construct (GType object_type); | | FolksBackend* folks_backend_construct (GType object_type); | |
| gboolean folks_backend_get_is_prepared (FolksBackend* self); | | gboolean folks_backend_get_is_prepared (FolksBackend* self); | |
| const gchar* folks_backend_get_name (FolksBackend* self); | | const gchar* folks_backend_get_name (FolksBackend* self); | |
| GHashTable* folks_backend_get_persona_stores (FolksBackend* self); | | GHashTable* folks_backend_get_persona_stores (FolksBackend* self); | |
| | | | |
| skipping to change at line 347 | | skipping to change at line 348 | |
| void folks_backend_store_load_backends_finish (FolksBackendStore* self, GAs
yncResult* _res_, GError** error); | | void folks_backend_store_load_backends_finish (FolksBackendStore* self, GAs
yncResult* _res_, GError** error); | |
| void folks_backend_store_add_backend (FolksBackendStore* self, FolksBackend
* backend); | | void folks_backend_store_add_backend (FolksBackendStore* self, FolksBackend
* backend); | |
| FolksBackend* folks_backend_store_get_backend_by_name (FolksBackendStore* s
elf, const gchar* name); | | FolksBackend* folks_backend_store_get_backend_by_name (FolksBackendStore* s
elf, const gchar* name); | |
| GeeCollection* folks_backend_store_list_backends (FolksBackendStore* self); | | GeeCollection* folks_backend_store_list_backends (FolksBackendStore* self); | |
| void folks_backend_store_enable_backend (FolksBackendStore* self, const gch
ar* name, GAsyncReadyCallback _callback_, gpointer _user_data_); | | void folks_backend_store_enable_backend (FolksBackendStore* self, const gch
ar* name, GAsyncReadyCallback _callback_, gpointer _user_data_); | |
| void folks_backend_store_enable_backend_finish (FolksBackendStore* self, GA
syncResult* _res_); | | void folks_backend_store_enable_backend_finish (FolksBackendStore* self, GA
syncResult* _res_); | |
| void folks_backend_store_disable_backend (FolksBackendStore* self, const gc
har* name, GAsyncReadyCallback _callback_, gpointer _user_data_); | | void folks_backend_store_disable_backend (FolksBackendStore* self, const gc
har* name, GAsyncReadyCallback _callback_, gpointer _user_data_); | |
| void folks_backend_store_disable_backend_finish (FolksBackendStore* self, G
AsyncResult* _res_); | | void folks_backend_store_disable_backend_finish (FolksBackendStore* self, G
AsyncResult* _res_); | |
| GList* folks_backend_store_get_enabled_backends (FolksBackendStore* self); | | GList* folks_backend_store_get_enabled_backends (FolksBackendStore* self); | |
| gboolean folks_backend_store_get_is_prepared (FolksBackendStore* self); | | gboolean folks_backend_store_get_is_prepared (FolksBackendStore* self); | |
|
| GType folks_favourite_get_type (void) G_GNUC_CONST; | | GType folks_favouritable_get_type (void) G_GNUC_CONST; | |
| gboolean folks_favourite_get_is_favourite (FolksFavourite* self); | | gboolean folks_favouritable_get_is_favourite (FolksFavouritable* self); | |
| void folks_favourite_set_is_favourite (FolksFavourite* self, gboolean value | | void folks_favouritable_set_is_favourite (FolksFavouritable* self, gboolean | |
| ); | | value); | |
| GType folks_groupable_get_type (void) G_GNUC_CONST; | | GType folks_groupable_get_type (void) G_GNUC_CONST; | |
| GType folks_groupable_change_reason_get_type (void) G_GNUC_CONST; | | GType folks_groupable_change_reason_get_type (void) G_GNUC_CONST; | |
| void folks_groupable_change_group (FolksGroupable* self, const gchar* group
, gboolean is_member, GAsyncReadyCallback _callback_, gpointer _user_data_)
; | | void folks_groupable_change_group (FolksGroupable* self, const gchar* group
, gboolean is_member, GAsyncReadyCallback _callback_, gpointer _user_data_)
; | |
| void folks_groupable_change_group_finish (FolksGroupable* self, GAsyncResul
t* _res_, GError** error); | | void folks_groupable_change_group_finish (FolksGroupable* self, GAsyncResul
t* _res_, GError** error); | |
| GHashTable* folks_groupable_get_groups (FolksGroupable* self); | | GHashTable* folks_groupable_get_groups (FolksGroupable* self); | |
| void folks_groupable_set_groups (FolksGroupable* self, GHashTable* value); | | void folks_groupable_set_groups (FolksGroupable* self, GHashTable* value); | |
|
| | | GType folks_has_avatar_get_type (void) G_GNUC_CONST; | |
| | | GFile* folks_has_avatar_get_avatar (FolksHasAvatar* self); | |
| | | void folks_has_avatar_set_avatar (FolksHasAvatar* self, GFile* value); | |
| | | GType folks_presence_type_get_type (void) G_GNUC_CONST; | |
| | | GType folks_has_presence_get_type (void) G_GNUC_CONST; | |
| | | gint folks_has_presence_typecmp (FolksPresenceType type_a, FolksPresenceTyp | |
| | | e type_b); | |
| | | gboolean folks_has_presence_is_online (FolksHasPresence* self); | |
| | | FolksPresenceType folks_has_presence_get_presence_type (FolksHasPresence* s | |
| | | elf); | |
| | | void folks_has_presence_set_presence_type (FolksHasPresence* self, FolksPre | |
| | | senceType value); | |
| | | const gchar* folks_has_presence_get_presence_message (FolksHasPresence* sel | |
| | | f); | |
| | | void folks_has_presence_set_presence_message (FolksHasPresence* self, const | |
| | | gchar* value); | |
| | | GQuark folks_imable_error_quark (void); | |
| GType folks_imable_get_type (void) G_GNUC_CONST; | | GType folks_imable_get_type (void) G_GNUC_CONST; | |
|
| gchar* folks_imable_normalise_im_address (const gchar* im_address, const gc
har* protocol); | | gchar* folks_imable_normalise_im_address (const gchar* im_address, const gc
har* protocol, GError** error); | |
| GHashTable* folks_imable_get_im_addresses (FolksIMable* self); | | GHashTable* folks_imable_get_im_addresses (FolksIMable* self); | |
| void folks_imable_set_im_addresses (FolksIMable* self, GHashTable* value); | | void folks_imable_set_im_addresses (FolksIMable* self, GHashTable* value); | |
| GType folks_trust_level_get_type (void) G_GNUC_CONST; | | GType folks_trust_level_get_type (void) G_GNUC_CONST; | |
|
| GType folks_presence_type_get_type (void) G_GNUC_CONST; | | | |
| GType folks_presence_get_type (void) G_GNUC_CONST; | | | |
| GType folks_individual_get_type (void) G_GNUC_CONST; | | GType folks_individual_get_type (void) G_GNUC_CONST; | |
| GType folks_persona_get_type (void) G_GNUC_CONST; | | GType folks_persona_get_type (void) G_GNUC_CONST; | |
| FolksIndividual* folks_individual_new (GList* personas); | | FolksIndividual* folks_individual_new (GList* personas); | |
| FolksIndividual* folks_individual_construct (GType object_type, GList* pers
onas); | | FolksIndividual* folks_individual_construct (GType object_type, GList* pers
onas); | |
| FolksTrustLevel folks_individual_get_trust_level (FolksIndividual* self); | | FolksTrustLevel folks_individual_get_trust_level (FolksIndividual* self); | |
| gboolean folks_individual_get_is_user (FolksIndividual* self); | | gboolean folks_individual_get_is_user (FolksIndividual* self); | |
| const gchar* folks_individual_get_id (FolksIndividual* self); | | const gchar* folks_individual_get_id (FolksIndividual* self); | |
| GList* folks_individual_get_personas (FolksIndividual* self); | | GList* folks_individual_get_personas (FolksIndividual* self); | |
| void folks_individual_set_personas (FolksIndividual* self, GList* value); | | void folks_individual_set_personas (FolksIndividual* self, GList* value); | |
| GQuark folks_individual_aggregator_error_quark (void); | | GQuark folks_individual_aggregator_error_quark (void); | |
| | | | |
| skipping to change at line 426 | | skipping to change at line 437 | |
| GHashTable* folks_persona_store_get_personas (FolksPersonaStore* self); | | GHashTable* folks_persona_store_get_personas (FolksPersonaStore* self); | |
| FolksMaybeBool folks_persona_store_get_can_add_personas (FolksPersonaStore*
self); | | FolksMaybeBool folks_persona_store_get_can_add_personas (FolksPersonaStore*
self); | |
| FolksMaybeBool folks_persona_store_get_can_alias_personas (FolksPersonaStor
e* self); | | FolksMaybeBool folks_persona_store_get_can_alias_personas (FolksPersonaStor
e* self); | |
| FolksMaybeBool folks_persona_store_get_can_group_personas (FolksPersonaStor
e* self); | | FolksMaybeBool folks_persona_store_get_can_group_personas (FolksPersonaStor
e* self); | |
| FolksMaybeBool folks_persona_store_get_can_remove_personas (FolksPersonaSto
re* self); | | FolksMaybeBool folks_persona_store_get_can_remove_personas (FolksPersonaSto
re* self); | |
| gboolean folks_persona_store_get_is_prepared (FolksPersonaStore* self); | | gboolean folks_persona_store_get_is_prepared (FolksPersonaStore* self); | |
| gboolean folks_persona_store_get_is_writeable (FolksPersonaStore* self); | | gboolean folks_persona_store_get_is_writeable (FolksPersonaStore* self); | |
| void folks_persona_store_set_is_writeable (FolksPersonaStore* self, gboolea
n value); | | void folks_persona_store_set_is_writeable (FolksPersonaStore* self, gboolea
n value); | |
| FolksPersonaStoreTrust folks_persona_store_get_trust_level (FolksPersonaSto
re* self); | | FolksPersonaStoreTrust folks_persona_store_get_trust_level (FolksPersonaSto
re* self); | |
| void folks_persona_store_set_trust_level (FolksPersonaStore* self, FolksPer
sonaStoreTrust value); | | void folks_persona_store_set_trust_level (FolksPersonaStore* self, FolksPer
sonaStoreTrust value); | |
|
| gint folks_presence_typecmp (FolksPresenceType type_a, FolksPresenceType ty | | | |
| pe_b); | | | |
| gboolean folks_presence_is_online (FolksPresence* self); | | | |
| FolksPresenceType folks_presence_get_presence_type (FolksPresence* self); | | | |
| void folks_presence_set_presence_type (FolksPresence* self, FolksPresenceTy | | | |
| pe value); | | | |
| const gchar* folks_presence_get_presence_message (FolksPresence* self); | | | |
| void folks_presence_set_presence_message (FolksPresence* self, const gchar* | | | |
| value); | | | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 21 change blocks. |
| 77 lines changed or deleted | | 84 lines changed or added | |
|