aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-30 14:01:33 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-30 14:01:33 +0100
commit73222788ef78e4adad1c9e8b73ff786280ad6296 (patch)
tree5a69884feeecb9327e8e0f7b84605da680b8fb2a /src/transport-widget.h
parent28727032a4878897a30b3a81d6e2110f929d26ae (diff)
downloadayatana-indicator-sound-73222788ef78e4adad1c9e8b73ff786280ad6296.tar.gz
ayatana-indicator-sound-73222788ef78e4adad1c9e8b73ff786280ad6296.tar.bz2
ayatana-indicator-sound-73222788ef78e4adad1c9e8b73ff786280ad6296.zip
one big refactor
Diffstat (limited to 'src/transport-widget.h')
-rw-r--r--src/transport-widget.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/transport-widget.h b/src/transport-widget.h
index c69836a..f72dcfd 100644
--- a/src/transport-widget.h
+++ b/src/transport-widget.h
@@ -19,6 +19,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef __TRANSPORT_WIDGET_H__
#define __TRANSPORT_WIDGET_H__
+#include <gtk/gtk.h>
#include <gtk/gtkmenuitem.h>
#include <libdbusmenu-gtk/menuitem.h>
@@ -34,6 +35,18 @@ G_BEGIN_DECLS
typedef struct _TransportWidget TransportWidget;
typedef struct _TransportWidgetClass TransportWidgetClass;
+typedef enum {
+ TRANSPORT_PREVIOUS,
+ TRANSPORT_PLAY_PAUSE,
+ TRANSPORT_NEXT,
+ TRANSPORT_NADA
+}TransportWidgetEvent;
+
+typedef enum {
+ PLAY,
+ PAUSE
+}TransportWidgetState;
+
struct _TransportWidgetClass {
GtkMenuItemClass parent_class;
};
@@ -43,7 +56,7 @@ struct _TransportWidget {
};
GType transport_widget_get_type (void);
-GtkWidget* transport_widget_new(DbusmenuMenuitem *twin_item);
+GtkWidget* transport_widget_new();
G_END_DECLS