]> git.0d.be Git - empathy.git/blob - megaphone/src/megaphone-applet.h
Fix ref count error for account objects.
[empathy.git] / megaphone / src / megaphone-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  * Copyright (C) 2007 Collabora Ltd.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  *
20  * Authors: Raphaël Slinckx <raphael@slinckx.net>
21  *          Xavier Claessens <xclaesse@gmail.com>
22  */
23
24 #ifndef __MEGAPHONE_APPLET_H__
25 #define __MEGAPHONE_APPLET_H__
26
27 #include <panel-applet.h>
28
29 G_BEGIN_DECLS
30
31 #define MEGAPHONE_TYPE_APPLET (megaphone_applet_get_type ())
32 #define MEGAPHONE_APPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MEGAPHONE_TYPE_APPLET, MegaphoneApplet))
33 #define MEGAPHONE_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MEGAPHONE_TYPE_APPLET, MegaphoneAppletClass))
34 #define MEGAPHONE_IS_APPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MEGAPHONE_TYPE_APPLET))
35 #define MEGAPHONE_IS_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MEGAPHONE_TYPE_APPLET))
36 #define MEGAPHONE_APPLET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MEGAPHONE_TYPE_APPLET, MegaphoneAppletClass))
37
38 typedef struct _MegaphoneApplet      MegaphoneApplet;
39 typedef struct _MegaphoneAppletClass MegaphoneAppletClass;
40
41 struct _MegaphoneApplet {
42         PanelApplet applet;
43 };
44
45 struct _MegaphoneAppletClass {
46         PanelAppletClass parent_class;
47 };
48
49 GType megaphone_applet_get_type (void);
50
51 G_END_DECLS
52
53 #endif /* __MEGAPHONE_APPLET_H__ */