We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: A Clutter-based Twitter client
Homepage: http://live.gnome.org/Tweet
Clone URL: git://github.com/ebassi/tweet.git
Emmanuele Bassi (author)
Thu Apr 17 21:38:48 -0700 2008
commit  2897026b09c8232e9f48458269a41d32fb2c4cd9
tree    f8a278f82379db6b8f4f856df336e48ecf088606
parent  c392255986da2c9f08d0511826017c1a5ffc2659
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__ */