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

« back to all changes in this revision

Viewing changes to backends/tracker/lib/folks/folks-tracker.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-tracker.h generated by valac 0.12.0, the Vala compiler, do not modify */
 
2
 
 
3
 
 
4
#ifndef __FOLKS_FOLKS_TRACKER_H__
 
5
#define __FOLKS_FOLKS_TRACKER_H__
 
6
 
 
7
#include <glib.h>
 
8
#include <folks/folks.h>
 
9
#include <stdlib.h>
 
10
#include <string.h>
 
11
#include <libtracker-sparql/tracker-sparql.h>
 
12
#include <gio/gio.h>
 
13
#include <gee.h>
 
14
#include <glib-object.h>
 
15
 
 
16
G_BEGIN_DECLS
 
17
 
 
18
 
 
19
#define TRF_TYPE_PERSONA (trf_persona_get_type ())
 
20
#define TRF_PERSONA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRF_TYPE_PERSONA, TrfPersona))
 
21
#define TRF_PERSONA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRF_TYPE_PERSONA, TrfPersonaClass))
 
22
#define TRF_IS_PERSONA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRF_TYPE_PERSONA))
 
23
#define TRF_IS_PERSONA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRF_TYPE_PERSONA))
 
24
#define TRF_PERSONA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRF_TYPE_PERSONA, TrfPersonaClass))
 
25
 
 
26
typedef struct _TrfPersona TrfPersona;
 
27
typedef struct _TrfPersonaClass TrfPersonaClass;
 
28
typedef struct _TrfPersonaPrivate TrfPersonaPrivate;
 
29
 
 
30
#define TRF_TYPE_PERSONA_STORE (trf_persona_store_get_type ())
 
31
#define TRF_PERSONA_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRF_TYPE_PERSONA_STORE, TrfPersonaStore))
 
32
#define TRF_PERSONA_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRF_TYPE_PERSONA_STORE, TrfPersonaStoreClass))
 
33
#define TRF_IS_PERSONA_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRF_TYPE_PERSONA_STORE))
 
34
#define TRF_IS_PERSONA_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRF_TYPE_PERSONA_STORE))
 
35
#define TRF_PERSONA_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRF_TYPE_PERSONA_STORE, TrfPersonaStoreClass))
 
36
 
 
37
typedef struct _TrfPersonaStore TrfPersonaStore;
 
38
typedef struct _TrfPersonaStoreClass TrfPersonaStoreClass;
 
39
typedef struct _TrfPersonaStorePrivate TrfPersonaStorePrivate;
 
40
 
 
41
#define TYPE_EVENT (event_get_type ())
 
42
typedef struct _Event Event;
 
43
 
 
44
#define TRF_TYPE_ONTOLOGY_DEFS (trf_ontology_defs_get_type ())
 
45
#define TRF_ONTOLOGY_DEFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRF_TYPE_ONTOLOGY_DEFS, TrfOntologyDefs))
 
46
#define TRF_ONTOLOGY_DEFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRF_TYPE_ONTOLOGY_DEFS, TrfOntologyDefsClass))
 
47
#define TRF_IS_ONTOLOGY_DEFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRF_TYPE_ONTOLOGY_DEFS))
 
48
#define TRF_IS_ONTOLOGY_DEFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRF_TYPE_ONTOLOGY_DEFS))
 
49
#define TRF_ONTOLOGY_DEFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRF_TYPE_ONTOLOGY_DEFS, TrfOntologyDefsClass))
 
50
 
 
51
typedef struct _TrfOntologyDefs TrfOntologyDefs;
 
52
typedef struct _TrfOntologyDefsClass TrfOntologyDefsClass;
 
53
typedef struct _TrfOntologyDefsPrivate TrfOntologyDefsPrivate;
 
54
 
 
55
struct _TrfPersona {
 
56
        FolksPersona parent_instance;
 
57
        TrfPersonaPrivate * priv;
 
58
};
 
59
 
 
60
struct _TrfPersonaClass {
 
61
        FolksPersonaClass parent_class;
 
62
};
 
63
 
 
64
struct _TrfPersonaStore {
 
65
        FolksPersonaStore parent_instance;
 
66
        TrfPersonaStorePrivate * priv;
 
67
};
 
68
 
 
69
struct _TrfPersonaStoreClass {
 
70
        FolksPersonaStoreClass parent_class;
 
71
};
 
72
 
 
73
struct _Event {
 
74
        gint graph_id;
 
75
        gint subject_id;
 
76
        gint pred_id;
 
77
        gint object_id;
 
78
};
 
79
 
 
80
struct _TrfOntologyDefs {
 
81
        GObject parent_instance;
 
82
        TrfOntologyDefsPrivate * priv;
 
83
};
 
84
 
 
85
struct _TrfOntologyDefsClass {
 
86
        GObjectClass parent_class;
 
87
};
 
88
 
 
89
 
 
90
GType trf_persona_get_type (void) G_GNUC_CONST;
 
91
GType trf_persona_store_get_type (void) G_GNUC_CONST;
 
92
TrfPersona* trf_persona_new (TrfPersonaStore* store, const gchar* tracker_id, TrackerSparqlCursor* cursor);
 
93
TrfPersona* trf_persona_construct (GType object_type, TrfPersonaStore* store, const gchar* tracker_id, TrackerSparqlCursor* cursor);
 
94
TrfPersonaStore* trf_persona_store_new (void);
 
95
TrfPersonaStore* trf_persona_store_construct (GType object_type);
 
96
gchar* trf_persona_store_serialize_web_services (GeeMultiMap* ws_obj);
 
97
GeeMultiMap* trf_persona_store_unserialize_web_services (const gchar* ws_addrs);
 
98
gchar* trf_persona_store_serialize_local_ids (GeeSet* local_ids);
 
99
GeeSet* trf_persona_store_unserialize_local_ids (const gchar* local_ids);
 
100
gint trf_persona_store_get_favorite_id (TrfPersonaStore* self);
 
101
gint trf_persona_store_get_gender_male_id (TrfPersonaStore* self);
 
102
gint trf_persona_store_get_gender_female_id (TrfPersonaStore* self);
 
103
GType event_get_type (void) G_GNUC_CONST;
 
104
Event* event_dup (const Event* self);
 
105
void event_free (Event* self);
 
106
GType trf_ontology_defs_get_type (void) G_GNUC_CONST;
 
107
#define TRF_ONTOLOGY_DEFS_DEFAULT_CONTACT_URN "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#default-conta" \
 
108
"ct-me"
 
109
#define TRF_ONTOLOGY_DEFS_PERSON_CLASS "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"
 
110
#define TRF_ONTOLOGY_DEFS_NCO_FULLNAME "nco:fullname"
 
111
#define TRF_ONTOLOGY_DEFS_NCO_FAMILY "nco:nameFamily"
 
112
#define TRF_ONTOLOGY_DEFS_NCO_GIVEN "nco:nameGiven"
 
113
#define TRF_ONTOLOGY_DEFS_NCO_ADDITIONAL "nco:nameAdditional"
 
114
#define TRF_ONTOLOGY_DEFS_NCO_SUFFIX "nco:nameHonorificSuffix"
 
115
#define TRF_ONTOLOGY_DEFS_NCO_PREFIX "nco:nameHonorificPrefix"
 
116
#define TRF_ONTOLOGY_DEFS_NCO_NICKNAME "nco:nickname"
 
117
#define TRF_ONTOLOGY_DEFS_RDF_TYPE "ns:type"
 
118
#define TRF_ONTOLOGY_DEFS_NCO_PERSON "nco:PersonContact"
 
119
#define TRF_ONTOLOGY_DEFS_NCO_URL "nco:url"
 
120
#define TRF_ONTOLOGY_DEFS_NCO_WEBSITE "nco:websiteUrl"
 
121
#define TRF_ONTOLOGY_DEFS_NCO_BLOG "nco:blogUrl"
 
122
#define TRF_ONTOLOGY_DEFS_NAO_FAVORITE "nao:predefined-tag-favorite"
 
123
#define TRF_ONTOLOGY_DEFS_NAO_TAG "nao:hasTag"
 
124
#define TRF_ONTOLOGY_DEFS_NAO_PROPERTY "nao:Property"
 
125
#define TRF_ONTOLOGY_DEFS_NAO_HAS_PROPERTY "nao:hasProperty"
 
126
#define TRF_ONTOLOGY_DEFS_NAO_PROPERTY_NAME "nao:propertyName"
 
127
#define TRF_ONTOLOGY_DEFS_NAO_PROPERTY_VALUE "nao:propertyValue"
 
128
#define TRF_ONTOLOGY_DEFS_NCO_HAS_EMAIL "nco:hasEmailAddress"
 
129
#define TRF_ONTOLOGY_DEFS_NCO_EMAIL "nco:EmailAddress"
 
130
#define TRF_ONTOLOGY_DEFS_NCO_EMAIL_PROP "nco:emailAddress"
 
131
#define TRF_ONTOLOGY_DEFS_NCO_HAS_PHONE "nco:hasPhoneNumber"
 
132
#define TRF_ONTOLOGY_DEFS_NCO_PHONE "nco:PhoneNumber"
 
133
#define TRF_ONTOLOGY_DEFS_NCO_PHONE_PROP "nco:phoneNumber"
 
134
#define TRF_ONTOLOGY_DEFS_NCO_HAS_AFFILIATION "nco:hasAffiliation"
 
135
#define TRF_ONTOLOGY_DEFS_NCO_AFFILIATION "nco:Affiliation"
 
136
#define TRF_ONTOLOGY_DEFS_NCO_BIRTHDAY "nco:birthDate"
 
137
#define TRF_ONTOLOGY_DEFS_NCO_NOTE "nco:note"
 
138
#define TRF_ONTOLOGY_DEFS_NCO_GENDER "nco:gender"
 
139
#define TRF_ONTOLOGY_DEFS_NCO_MALE "nco:gender-male"
 
140
#define TRF_ONTOLOGY_DEFS_NCO_FEMALE "nco:gender-female"
 
141
#define TRF_ONTOLOGY_DEFS_NCO_PHOTO "nco:photo"
 
142
#define TRF_ONTOLOGY_DEFS_NIE_URL "nie:url"
 
143
#define TRF_ONTOLOGY_DEFS_NFO_IMAGE "nfo:Image"
 
144
#define TRF_ONTOLOGY_DEFS_NIE_DATAOBJECT "nie:DataObject"
 
145
#define TRF_ONTOLOGY_DEFS_NCO_IMADDRESS "nco:IMAddress"
 
146
#define TRF_ONTOLOGY_DEFS_NCO_HAS_IMADDRESS "nco:hasIMAddress"
 
147
#define TRF_ONTOLOGY_DEFS_NCO_IMPROTOCOL "nco:imProtocol"
 
148
#define TRF_ONTOLOGY_DEFS_NCO_IMID "nco:imID"
 
149
#define TRF_ONTOLOGY_DEFS_NCO_IM_NICKNAME "nco:imNickname"
 
150
#define TRF_ONTOLOGY_DEFS_NCO_POSTAL_ADDRESS "nco:PostalAddress"
 
151
#define TRF_ONTOLOGY_DEFS_NCO_HAS_POSTAL_ADDRESS "nco:hasPostalAddress"
 
152
#define TRF_ONTOLOGY_DEFS_NCO_POBOX "nco:pobox"
 
153
#define TRF_ONTOLOGY_DEFS_NCO_DISTRICT "nco:district"
 
154
#define TRF_ONTOLOGY_DEFS_NCO_COUNTY "nco:county"
 
155
#define TRF_ONTOLOGY_DEFS_NCO_LOCALITY "nco:locality"
 
156
#define TRF_ONTOLOGY_DEFS_NCO_POSTALCODE "nco:postalcode"
 
157
#define TRF_ONTOLOGY_DEFS_NCO_STREET_ADDRESS "nco:streetAddress"
 
158
#define TRF_ONTOLOGY_DEFS_NCO_ADDRESS_LOCATION "nco:addressLocation"
 
159
#define TRF_ONTOLOGY_DEFS_NCO_EXTENDED_ADDRESS "nco:extendedAddress"
 
160
#define TRF_ONTOLOGY_DEFS_NCO_COUNTRY "nco:country"
 
161
#define TRF_ONTOLOGY_DEFS_NCO_REGION "nco:region"
 
162
#define TRF_ONTOLOGY_DEFS_NCO_ROLE "nco:role"
 
163
#define TRF_ONTOLOGY_DEFS_NCO_ORG "nco:org"
 
164
#define TRF_ONTOLOGY_DEFS_NCO_URL_PREFIX "<http://www.semanticdesktop.org/ontologies/2007/03/22/"
 
165
#define TRF_ONTOLOGY_DEFS_NAO_URL_PREFIX "<http://www.semanticdesktop.org/ontologies/2007/08/15/"
 
166
#define TRF_ONTOLOGY_DEFS_RDF_URL_PREFIX "<http://www.w3.org/1999/02/"
 
167
TrfOntologyDefs* trf_ontology_defs_new (void);
 
168
TrfOntologyDefs* trf_ontology_defs_construct (GType object_type);
 
169
 
 
170
 
 
171
G_END_DECLS
 
172
 
 
173
#endif