1
/* folks-tracker.h generated by valac 0.12.0, the Vala compiler, do not modify */
4
#ifndef __FOLKS_FOLKS_TRACKER_H__
5
#define __FOLKS_FOLKS_TRACKER_H__
8
#include <folks/folks.h>
11
#include <libtracker-sparql/tracker-sparql.h>
14
#include <glib-object.h>
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))
26
typedef struct _TrfPersona TrfPersona;
27
typedef struct _TrfPersonaClass TrfPersonaClass;
28
typedef struct _TrfPersonaPrivate TrfPersonaPrivate;
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))
37
typedef struct _TrfPersonaStore TrfPersonaStore;
38
typedef struct _TrfPersonaStoreClass TrfPersonaStoreClass;
39
typedef struct _TrfPersonaStorePrivate TrfPersonaStorePrivate;
41
#define TYPE_EVENT (event_get_type ())
42
typedef struct _Event Event;
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))
51
typedef struct _TrfOntologyDefs TrfOntologyDefs;
52
typedef struct _TrfOntologyDefsClass TrfOntologyDefsClass;
53
typedef struct _TrfOntologyDefsPrivate TrfOntologyDefsPrivate;
56
FolksPersona parent_instance;
57
TrfPersonaPrivate * priv;
60
struct _TrfPersonaClass {
61
FolksPersonaClass parent_class;
64
struct _TrfPersonaStore {
65
FolksPersonaStore parent_instance;
66
TrfPersonaStorePrivate * priv;
69
struct _TrfPersonaStoreClass {
70
FolksPersonaStoreClass parent_class;
80
struct _TrfOntologyDefs {
81
GObject parent_instance;
82
TrfOntologyDefsPrivate * priv;
85
struct _TrfOntologyDefsClass {
86
GObjectClass parent_class;
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" \
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);