diff options
Diffstat (limited to 'facebook/facebook-api.h')
-rw-r--r-- | facebook/facebook-api.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/facebook/facebook-api.h b/facebook/facebook-api.h index d72abbc..75bd739 100644 --- a/facebook/facebook-api.h +++ b/facebook/facebook-api.h @@ -255,6 +255,7 @@ typedef enum /** * FbApiEventType: + * @FB_API_EVENT_TYPE_THREAD_TOPIC: The thread topic was changed. * @FB_API_EVENT_TYPE_THREAD_USER_ADDED: A thread user was added. * @FB_API_EVENT_TYPE_THREAD_USER_REMOVED: A thread user was removed. * @@ -262,6 +263,7 @@ typedef enum */ typedef enum { + FB_API_EVENT_TYPE_THREAD_TOPIC, FB_API_EVENT_TYPE_THREAD_USER_ADDED, FB_API_EVENT_TYPE_THREAD_USER_REMOVED } FbApiEventType; @@ -309,6 +311,7 @@ struct _FbApiClass * @type: The #FbApiEventType. * @uid: The user #FbId. * @tid: The thread #FbId. + * @text: The event text. * * Represents a Facebook update event. */ @@ -317,6 +320,7 @@ struct _FbApiEvent FbApiEventType type; FbId uid; FbId tid; + gchar *text; }; /** @@ -643,6 +647,7 @@ fb_api_typing(FbApi *api, FbId uid, gboolean state); /** * fb_api_event_dup: * @event: The #FbApiEvent or #NULL. + * @deep: #TRUE to duplicate allocated data, otherwise #FALSE. * * Duplicates an #FbApiEvent. If @event is #NULL, a new zero filled * #FbApiEvent is returned. The returned #FbApiEvent should be freed @@ -651,16 +656,17 @@ fb_api_typing(FbApi *api, FbId uid, gboolean state); * Returns: The new #FbApiEvent. */ FbApiEvent * -fb_api_event_dup(const FbApiEvent *event); +fb_api_event_dup(const FbApiEvent *event, gboolean deep); /** * fb_api_event_reset: * @event: The #FbApiEvent. + * @deep: #TRUE to free allocated data, otherwise #FALSE. * * Resets an #FbApiEvent. */ void -fb_api_event_reset(FbApiEvent *event); +fb_api_event_reset(FbApiEvent *event, gboolean deep); /** * fb_api_event_free: |