~ubuntu-branches/ubuntu/precise/folks/precise

« back to all changes in this revision

Viewing changes to backends/libsocialweb/lib/folks/folks-libsocialweb.h

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-06-10 11:28:11 UTC
  • mfrom: (1.2.11 upstream) (4.2.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110610112811-whyeodbo9mjezxfp
Tags: 0.5.2-1ubuntu1
* Merge with Debian experimental, remaining Ubuntu changes:
  - debian/control:
    + Add Vcs-Bzr link

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* folks-libsocialweb.h generated by valac 0.12.0, the Vala compiler, do not modify */
 
2
 
 
3
 
 
4
#ifndef __FOLKS_FOLKS_LIBSOCIALWEB_H__
 
5
#define __FOLKS_FOLKS_LIBSOCIALWEB_H__
 
6
 
 
7
#include <glib.h>
 
8
#include <folks/folks.h>
 
9
#include <libsocialweb-client/libsocialweb-client-hack-for-vala.h>
 
10
#include <stdlib.h>
 
11
#include <string.h>
 
12
#include <gio/gio.h>
 
13
 
 
14
G_BEGIN_DECLS
 
15
 
 
16
 
 
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))
 
23
 
 
24
typedef struct _SwfPersona SwfPersona;
 
25
typedef struct _SwfPersonaClass SwfPersonaClass;
 
26
typedef struct _SwfPersonaPrivate SwfPersonaPrivate;
 
27
 
 
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))
 
34
 
 
35
typedef struct _SwfPersonaStore SwfPersonaStore;
 
36
typedef struct _SwfPersonaStoreClass SwfPersonaStoreClass;
 
37
typedef struct _SwfPersonaStorePrivate SwfPersonaStorePrivate;
 
38
 
 
39
struct _SwfPersona {
 
40
        FolksPersona parent_instance;
 
41
        SwfPersonaPrivate * priv;
 
42
};
 
43
 
 
44
struct _SwfPersonaClass {
 
45
        FolksPersonaClass parent_class;
 
46
};
 
47
 
 
48
struct _SwfPersonaStore {
 
49
        FolksPersonaStore parent_instance;
 
50
        SwfPersonaStorePrivate * priv;
 
51
};
 
52
 
 
53
struct _SwfPersonaStoreClass {
 
54
        FolksPersonaStoreClass parent_class;
 
55
};
 
56
 
 
57
 
 
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);
 
66
 
 
67
 
 
68
G_END_DECLS
 
69
 
 
70
#endif