public
Description: A Clutter-based Twitter client
Homepage: http://live.gnome.org/Tweet
Clone URL: git://github.com/ebassi/tweet.git
Emmanuele Bassi (author)
Fri Apr 18 02:21:03 -0700 2008
commit  455bcf01d7cb8a5c84630024c693349a9c06dafe
tree    2eca12004870287376467b447dbfefccf872cc47
parent  72ff55611b6b5df82e6d7a270c279644c7ba252b
tweet / twitter-glib / twitter-timeline.h
100644 50 lines (36 sloc) 1.986 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef __TWITTER_TIMELINE_H__
#define __TWITTER_TIMELINE_H__
 
#include <glib-object.h>
#include <twitter-glib/twitter-status.h>
 
G_BEGIN_DECLS
 
#define TWITTER_TYPE_TIMELINE (twitter_timeline_get_type ())
#define TWITTER_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TWITTER_TYPE_TIMELINE, TwitterTimeline))
#define TWITTER_IS_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TWITTER_TYPE_TIMELINE))
#define TWITTER_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TWITTER_TYPE_TIMELINE, TwitterTimelineClass))
#define TWITTER_IS_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TWITTER_TYPE_TIMELINE))
#define TWITTER_TIMELINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TWITTER_TYPE_TIMELINE, TwitterTimelineClass))
 
typedef struct _TwitterTimeline TwitterTimeline;
typedef struct _TwitterTimelinePrivate TwitterTimelinePrivate;
typedef struct _TwitterTimelineClass TwitterTimelineClass;
 
struct _TwitterTimeline
{
  GObject parent_instance;
 
  TwitterTimelinePrivate *priv;
};
 
struct _TwitterTimelineClass
{
  GObjectClass parent_class;
};
 
GType twitter_timeline_get_type (void) G_GNUC_CONST;
 
TwitterTimeline *twitter_timeline_new (void);
TwitterTimeline *twitter_timeline_new_from_data (const gchar *buffer);
 
void twitter_timeline_load_from_data (TwitterTimeline *timeline,
                                                  const gchar *buffer);
 
guint twitter_timeline_get_count (TwitterTimeline *timeline);
TwitterStatus * twitter_timeline_get_id (TwitterTimeline *timeline,
                                                  guint id);
TwitterStatus * twitter_timeline_get_pos (TwitterTimeline *timeline,
                                                  gint index_);
GList * twitter_timeline_get_all (TwitterTimeline *timeline);
 
G_END_DECLS
 
#endif /* __TWITTER_TIMELINE_H__ */