From f1a23af603dfb250c10f8a4ec6a6f9acbd80d972 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 28 Jun 2009 16:38:39 +0100 Subject: Restructure the class inheritance a bit. This just shuffles around the streamwidget a bit. The RoleWidget child class is the exception, so try and gear things around SinkInput/SourceOutput widgets more to save repeating the same code too much. --- src/sourceoutputwidget.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/sourceoutputwidget.h') diff --git a/src/sourceoutputwidget.h b/src/sourceoutputwidget.h index 162551f..0b88d06 100644 --- a/src/sourceoutputwidget.h +++ b/src/sourceoutputwidget.h @@ -33,24 +33,17 @@ public: static SourceOutputWidget* create(MainWindow* mainWindow); ~SourceOutputWidget(void); - void init(MainWindow* mainWindow); - SourceOutputType type; uint32_t index, clientIndex; void setSourceIndex(uint32_t idx); uint32_t sourceIndex(); virtual void onDeviceChangePopup(); - virtual bool onContextTriggerEvent(GdkEventButton*); virtual void onKill(); private: - MainWindow *mpMainWindow; uint32_t mSourceIndex; - Gtk::Menu contextMenu; - Gtk::MenuItem terminate; - void clearMenu(); void buildMenu(); -- cgit