![]() |
![]() |
![]() |
GData Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <gdata/gcontact/gdata-gcontact-jot.h> #define GDATA_GCONTACT_JOT_HOME #define GDATA_GCONTACT_JOT_KEYWORDS #define GDATA_GCONTACT_JOT_OTHER #define GDATA_GCONTACT_JOT_USER #define GDATA_GCONTACT_JOT_WORK GDataGContactJot; GDataGContactJotClass; GDataGContactJot * gdata_gcontact_jot_new (const gchar *content
,const gchar *relation_type
); const gchar * gdata_gcontact_jot_get_content (GDataGContactJot *self
); void gdata_gcontact_jot_set_content (GDataGContactJot *self
,const gchar *content
); const gchar * gdata_gcontact_jot_get_relation_type (GDataGContactJot *self
); void gdata_gcontact_jot_set_relation_type (GDataGContactJot *self
,const gchar *relation_type
);
#define GDATA_GCONTACT_JOT_HOME "home"
The relation type URI for a jot about a contact's home.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_JOT_KEYWORDS "keywords"
The relation type URI for a jot with keywords about a contact.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_JOT_OTHER "other"
The relation type URI for a jot about an other facet of a contact.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_JOT_USER "user"
The relation type URI for a jot about the relationship between a contact and the user.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_JOT_WORK "work"
The relation type URI for a jot about a contact's work.
For more information, see the gContact specification.
Since 0.7.0
typedef struct _GDataGContactJot GDataGContactJot;
All the fields in the GDataGContactJot structure are private and should never be accessed directly.
Since 0.7.0
typedef struct { } GDataGContactJotClass;
All the fields in the GDataGContactJotClass structure are private and should never be accessed directly.
Since 0.7.0
GDataGContactJot * gdata_gcontact_jot_new (const gchar *content
,const gchar *relation_type
);
Creates a new GDataGContactJot. More information is available in the gContact specification.
|
the content of the jot |
|
the relationship between the jot and its owner |
Returns : |
a new GDataGContactJot; unref with g_object_unref()
|
Since 0.7.0
const gchar * gdata_gcontact_jot_get_content (GDataGContactJot *self
);
Gets the "content" property.
|
a GDataGContactJot |
Returns : |
the jot's content |
Since 0.7.0
void gdata_gcontact_jot_set_content (GDataGContactJot *self
,const gchar *content
);
Sets the "content" property to content
.
|
a GDataGContactJot |
|
the new content |
Since 0.7.0
const gchar * gdata_gcontact_jot_get_relation_type
(GDataGContactJot *self
);
Gets the "relation-type" property.
|
a GDataGContactJot |
Returns : |
the jot's relation type |
Since 0.7.0
void gdata_gcontact_jot_set_relation_type (GDataGContactJot *self
,const gchar *relation_type
);
Sets the "relation-type" property to relation_type
such as GDATA_GCONTACT_JOT_HOME
or GDATA_GCONTACT_JOT_OTHER
.
|
a GDataGContactJot |
|
the new relation type for the jot, or NULL
|
Since 0.7.0
"content"
property "content" gchar* : Read / Write
The content of the jot.
For more information, see the gContact specification.
Default value: NULL
Since 0.7.0
"relation-type"
property "relation-type" gchar* : Read / Write
A programmatic value that identifies the type of jot. Examples are GDATA_GCONTACT_JOT_HOME
or GDATA_GCONTACT_JOT_OTHER
.
For more information, see the gContact specification.
Default value: NULL
Since 0.7.0