diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-08-10 16:23:32 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-08-10 16:23:32 -0400 |
commit | b5eb255fae2158fde84def56b46fa6c5424f5b84 (patch) | |
tree | 70f194a2b29a7f583160c1cd1630bfb373b7cdc2 /src/udev-mgr.h | |
parent | 108cec80746510d7f622ad0506a7f3d2a734c3ae (diff) | |
parent | fb32494de9b55663cec088ade6967da349c0cac7 (diff) | |
download | ayatana-indicator-session-b5eb255fae2158fde84def56b46fa6c5424f5b84.tar.gz ayatana-indicator-session-b5eb255fae2158fde84def56b46fa6c5424f5b84.tar.bz2 ayatana-indicator-session-b5eb255fae2158fde84def56b46fa6c5424f5b84.zip |
Import upstream version 0.3.1
Diffstat (limited to 'src/udev-mgr.h')
-rw-r--r-- | src/udev-mgr.h | 19 |
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 |