1 /* $Id: eyes.h 2397 2007-01-17 17:46:35Z nick $
3 * Copyright (C) 1999 Dave Camp <dave@davec.dhs.org>
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.
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.
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.
20 #ifndef __EYES_PLUGIN_H__
21 #define __EYES_PLUGIN_H__
24 #include <glib-object.h>
26 #include <libhildondesktop/libhildondesktop.h>
30 typedef struct _EyesPlugin EyesPlugin;
31 typedef struct _EyesPluginClass EyesPluginClass;
33 #define EYES_TYPE_HOME_PLUGIN (eyes_plugin_get_type ())
35 #define EYES_HOME_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
36 EYES_TYPE_HOME_PLUGIN, EyesPlugin))
38 #define EYES_HOME_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \
39 EYES_TYPE_HOME_PLUGIN, EyesPluginClass))
41 #define EYES_IS_HOME_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42 EYES_TYPE_HOME_PLUGIN))
44 #define EYES_IS_HOME_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
45 EYES_TYPE_HOME_PLUGIN))
47 #define EYES_HOME_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
48 EYES_TYPE_HOME_PLUGIN, EyesPluginClass))
67 GdkPixbuf *pupil_image;
71 gchar *pupil_filename;
83 HDHomePluginItem hitem;
84 EyesPluginContent *priv;
87 struct _EyesPluginClass
89 HDHomePluginItemClass parent_class;
92 GType eyes_plugin_get_type(void);