aboutsummaryrefslogtreecommitdiff
path: root/src/udev-mgr.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-25 18:42:24 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-25 18:42:24 +0100
commit6dce39846999951353c2e866019a79d568c99dfa (patch)
tree80e5c881b57f25be08b6e4991421281ac662447c /src/udev-mgr.h
parenta1a7357b58d182e077ebfe8fb11c083e5eb18839 (diff)
downloadayatana-indicator-session-6dce39846999951353c2e866019a79d568c99dfa.tar.gz
ayatana-indicator-session-6dce39846999951353c2e866019a79d568c99dfa.tar.bz2
ayatana-indicator-session-6dce39846999951353c2e866019a79d568c99dfa.zip
the beginnings of the udev work
Diffstat (limited to 'src/udev-mgr.h')
-rw-r--r--src/udev-mgr.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/udev-mgr.h b/src/udev-mgr.h
index 1c5ae73..323364a 100644
--- a/src/udev-mgr.h
+++ b/src/udev-mgr.h
@@ -21,6 +21,14 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define _UDEV_MGR_H_
#include <glib-object.h>
+#include <libdbusmenu-glib/client.h>
+
+#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION(3, 0, 0)
+#include <libdbusmenu-gtk3/menuitem.h>
+#else
+#include <libdbusmenu-gtk/menuitem.h>
+#endif
G_BEGIN_DECLS
@@ -39,12 +47,10 @@ struct _UdevMgrClass
GObjectClass parent_class;
};
-struct _UdevMgr
-{
- GObject parent_instance;
-};
GType udev_mgr_get_type (void) G_GNUC_CONST;
+UdevMgr* udev_mgr_new (DbusmenuMenuitem* scanner_item,
+ DbusmenuMenuitem* webcam_item);
G_END_DECLS