]> git.0d.be Git - empathy.git/blob - nothere/src/nothere-applet.h
Add shave support to build process.
[empathy.git] / nothere / src / nothere-applet.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* 
3  * Copyright (C) 2007 Raphaël Slinckx <raphael@slinckx.net>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  *
19  * Authors: Raphaël Slinckx <raphael@slinckx.net>
20  */
21
22 #ifndef __NOTHERE_APPLET_H__
23 #define __NOTHERE_APPLET_H__
24
25 #include <panel-applet.h>
26
27 G_BEGIN_DECLS
28
29 #define NOTHERE_TYPE_APPLET (nothere_applet_get_type ())
30 #define NOTHERE_APPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NOTHERE_TYPE_APPLET, NotHereApplet))
31 #define NOTHERE_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NOTHERE_TYPE_APPLET, NotHereAppletClass))
32 #define NOTHERE_IS_APPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NOTHERE_TYPE_APPLET))
33 #define NOTHERE_IS_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NOTHERE_TYPE_APPLET))
34 #define NOTHERE_APPLET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NOTHERE_TYPE_APPLET, NotHereAppletClass))
35
36 typedef struct _NotHereApplet      NotHereApplet;
37 typedef struct _NotHereAppletClass NotHereAppletClass;
38
39 struct _NotHereApplet {
40         PanelApplet  applet;
41         GtkWidget   *presence_chooser;
42 };
43
44 struct _NotHereAppletClass {
45         PanelAppletClass parent_class;
46 };
47
48 GType nothere_applet_get_type (void);
49
50 G_END_DECLS
51
52 #endif /* __NOTHERE_APPLET_H__ */