1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2007 Raphaël Slinckx <raphael@slinckx.net>
4 * Copyright (C) 2007 Collabora Ltd.
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.
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.
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.
20 * Authors: Raphaël Slinckx <raphael@slinckx.net>
21 * Xavier Claessens <xclaesse@gmail.com>
24 #ifndef __MEGAPHONE_APPLET_H__
25 #define __MEGAPHONE_APPLET_H__
27 #include <panel-applet.h>
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))
38 typedef struct _MegaphoneApplet MegaphoneApplet;
39 typedef struct _MegaphoneAppletClass MegaphoneAppletClass;
41 struct _MegaphoneApplet {
45 struct _MegaphoneAppletClass {
46 PanelAppletClass parent_class;
49 GType megaphone_applet_get_type (void);
53 #endif /* __MEGAPHONE_APPLET_H__ */