1
/* folks-libsocialweb.h generated by valac 0.12.0, the Vala compiler, do not modify */
4
#ifndef __FOLKS_FOLKS_LIBSOCIALWEB_H__
5
#define __FOLKS_FOLKS_LIBSOCIALWEB_H__
8
#include <folks/folks.h>
9
#include <libsocialweb-client/libsocialweb-client-hack-for-vala.h>
17
#define SWF_TYPE_PERSONA (swf_persona_get_type ())
18
#define SWF_PERSONA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWF_TYPE_PERSONA, SwfPersona))
19
#define SWF_PERSONA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWF_TYPE_PERSONA, SwfPersonaClass))
20
#define SWF_IS_PERSONA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWF_TYPE_PERSONA))
21
#define SWF_IS_PERSONA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWF_TYPE_PERSONA))
22
#define SWF_PERSONA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWF_TYPE_PERSONA, SwfPersonaClass))
24
typedef struct _SwfPersona SwfPersona;
25
typedef struct _SwfPersonaClass SwfPersonaClass;
26
typedef struct _SwfPersonaPrivate SwfPersonaPrivate;
28
#define SWF_TYPE_PERSONA_STORE (swf_persona_store_get_type ())
29
#define SWF_PERSONA_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWF_TYPE_PERSONA_STORE, SwfPersonaStore))
30
#define SWF_PERSONA_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWF_TYPE_PERSONA_STORE, SwfPersonaStoreClass))
31
#define SWF_IS_PERSONA_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWF_TYPE_PERSONA_STORE))
32
#define SWF_IS_PERSONA_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWF_TYPE_PERSONA_STORE))
33
#define SWF_PERSONA_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWF_TYPE_PERSONA_STORE, SwfPersonaStoreClass))
35
typedef struct _SwfPersonaStore SwfPersonaStore;
36
typedef struct _SwfPersonaStoreClass SwfPersonaStoreClass;
37
typedef struct _SwfPersonaStorePrivate SwfPersonaStorePrivate;
40
FolksPersona parent_instance;
41
SwfPersonaPrivate * priv;
44
struct _SwfPersonaClass {
45
FolksPersonaClass parent_class;
48
struct _SwfPersonaStore {
49
FolksPersonaStore parent_instance;
50
SwfPersonaStorePrivate * priv;
53
struct _SwfPersonaStoreClass {
54
FolksPersonaStoreClass parent_class;
58
GType swf_persona_get_type (void) G_GNUC_CONST;
59
GType swf_persona_store_get_type (void) G_GNUC_CONST;
60
SwfPersona* swf_persona_new (SwfPersonaStore* store, SwContact* contact);
61
SwfPersona* swf_persona_construct (GType object_type, SwfPersonaStore* store, SwContact* contact);
62
gchar* swf_persona_get_contact_id (SwContact* contact);
63
void swf_persona_update (SwfPersona* self, SwContact* contact);
64
SwfPersonaStore* swf_persona_store_new (SwClientService* service);
65
SwfPersonaStore* swf_persona_store_construct (GType object_type, SwClientService* service);