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>
31 typedef struct _EyesPlugin EyesPlugin;
32 typedef struct _EyesPluginClass EyesPluginClass;
34 #define EYES_TYPE_HOME_PLUGIN (eyes_plugin_get_type ())
36 #define EYES_HOME_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
37 EYES_TYPE_HOME_PLUGIN, EyesPlugin))
39 #define EYES_HOME_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \
40 EYES_TYPE_HOME_PLUGIN, EyesPluginClass))
42 #define EYES_IS_HOME_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
43 EYES_TYPE_HOME_PLUGIN))
45 #define EYES_IS_HOME_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
46 EYES_TYPE_HOME_PLUGIN))
48 #define EYES_HOME_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
49 EYES_TYPE_HOME_PLUGIN, EyesPluginClass))
54 DBusGConnection *dbus_conn;
71 GdkPixbuf *pupil_image;
75 gchar *pupil_filename;
87 HDHomePluginItem hitem;
88 EyesPluginContent *priv;
91 struct _EyesPluginClass
93 HDHomePluginItemClass parent_class;
96 GType eyes_plugin_get_type(void);