1
/* vim: set expandtab ts=8 sw=4: */
3
/* $Id: xfce-panel-internal-plugin.h 20070 2006-02-25 22:33:57Z jasper $
5
* Copyright © 2005 Jasper Huijsmans <jasper@xfce.org>
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU Library General Public License as published
9
* by the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU Library General Public License for more details.
17
* You should have received a copy of the GNU Library General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
#ifndef _XFCE_INTERNAL_PANEL_PLUGIN_H
23
#define _XFCE_INTERNAL_PANEL_PLUGIN_H
25
#include <gtk/gtkeventbox.h>
26
#include <libxfce4panel/xfce-panel-plugin-iface.h>
28
#define XFCE_TYPE_INTERNAL_PANEL_PLUGIN (xfce_internal_panel_plugin_get_type ())
29
#define XFCE_INTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPlugin))
30
#define XFCE_INTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPluginClass))
31
#define XFCE_IS_INTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN))
32
#define XFCE_IS_INTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_INTERNAL_PANEL_PLUGIN))
33
#define XFCE_INTERNAL_PANEL_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPluginClass))
38
typedef struct _XfceInternalPanelPlugin XfceInternalPanelPlugin;
39
typedef struct _XfceInternalPanelPluginClass XfceInternalPanelPluginClass;
41
struct _XfceInternalPanelPlugin
46
struct _XfceInternalPanelPluginClass
48
GtkEventBoxClass parent_class;
52
GType xfce_internal_panel_plugin_get_type (void) G_GNUC_CONST;
54
GtkWidget *xfce_internal_panel_plugin_new (const char *name,
56
const char *display_name,
58
XfceScreenPosition position,
59
XfcePanelPluginFunc construct);
64
#endif /* _XFCE_INTERNAL_PANEL_PLUGIN_H */