folks-libsocialweb Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#define SWF_TYPE_PERSONA void swf_persona_update (SwfPersona *self
,SwContact *contact
); SwfPersona * swf_persona_new (SwfPersonaStore *store
,SwContact *contact
); SwContact * swf_persona_get_lsw_contact (SwfPersona *self
); gchar * swf_persona_get_contact_id (SwContact *contact
); struct SwfPersona;
SwfPersona implements FolksAvatarDetails, FolksGenderDetails, FolksImDetails, FolksNameDetails, FolksUrlDetails and FolksWebServiceDetails.
"avatar" GLoadableIcon* : Read / Write "full-name" gchar* : Read / Write "gender" FolksGender : Read / Write "im-addresses" GeeMultiMap* : Read / Write "linkable-properties" GStrv : Read "lsw-contact" SwContact* : Read / Write / Construct Only "nickname" gchar* : Read / Write "structured-name" FolksStructuredName* : Read / Write "urls" GeeSet* : Read / Write "web-service-addresses" GeeMultiMap* : Read / Write "writeable-properties" GStrv : Read
void swf_persona_update (SwfPersona *self
,SwContact *contact
);
|
the SwfPersona instance |
SwfPersona * swf_persona_new (SwfPersonaStore *store
,SwContact *contact
);
Create a new persona.
Create a new persona for the SwfPersonaStore `store`, representing the libsocialweb contact given by `contact`.
SwContact * swf_persona_get_lsw_contact (SwfPersona *self
);
|
the SwfPersona instance to query |
Returns : |
the value of the "lsw-contact" property |
"gender"
property "gender" FolksGender : Read / Write
gender.
Default value: FOLKS_GENDER_UNSPECIFIED
"lsw-contact"
property "lsw-contact" SwContact* : Read / Write / Construct Only
The Contact from libsocialweb
"structured-name"
property "structured-name" FolksStructuredName* : Read / Write
structured-name.
"web-service-addresses"
property "web-service-addresses" GeeMultiMap* : Read / Write
web-service-addresses.