aboutsummaryrefslogtreecommitdiff
path: root/src/udev-mgr.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-10 18:04:18 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-10 18:04:18 +0100
commit5663f0199537a1a221ebe3bf35b5026144498b72 (patch)
tree54119c1f7fa2efd82db91aa6a5ba13e51a77ef40 /src/udev-mgr.h
parent357374acb2a641a9c5d70cb6149293a0a07770f3 (diff)
parentddd4474c7cf18706f5ea43e0319488f4d0358226 (diff)
downloadayatana-indicator-session-5663f0199537a1a221ebe3bf35b5026144498b72.tar.gz
ayatana-indicator-session-5663f0199537a1a221ebe3bf35b5026144498b72.tar.bz2
ayatana-indicator-session-5663f0199537a1a221ebe3bf35b5026144498b72.zip
merge the gudev work
Diffstat (limited to 'src/udev-mgr.h')
-rw-r--r--src/udev-mgr.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/udev-mgr.h b/src/udev-mgr.h
index 1c5ae73..5119803 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,15 @@ 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);
+
+typedef enum {
+ ADD,
+ REMOVE
+}UdevMgrDeviceAction;
G_END_DECLS