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 / src / tweet-app.h
100644 48 lines (33 sloc) 1.289 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
#ifndef __TWEET_APP_H__
#define __TWEET_APP_H__
 
#include <glib-object.h>
#include <gtk/gtk.h>
 
#include "tweet-config.h"
 
G_BEGIN_DECLS
 
#define TWEET_TYPE_APP (tweet_app_get_type ())
#define TWEET_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TWEET_TYPE_APP, TweetApp))
#define TWEET_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TWEET_TYPE_APP))
#define TWEET_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TWEET_TYPE_APP, TweetAppClass))
#define TWEET_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TWEET_TYPE_APP))
#define TWEET_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TWEET_TYPE_APP, TweetAppClass))
 
typedef struct _TweetApp TweetApp;
typedef struct _TweetAppClass TweetAppClass;
 
struct _TweetApp
{
  GObject parent_instance;
 
  TweetConfig *config;
 
  GtkWidget *main_window;
 
  guint is_running : 1;
};
 
struct _TweetAppClass
{
  GObjectClass parent_class;
};
 
GType tweet_app_get_type (void) G_GNUC_CONST;
 
TweetApp *tweet_app_get_default (int *argc,
                                 char ***argv,
                                 GError **error);
gboolean tweet_app_is_running (TweetApp *app);
gint tweet_app_run (TweetApp *app);
 
G_END_DECLS
 
#endif /* __TWEET_APP_H__ */