diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-28 16:38:39 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-28 16:38:39 +0100 |
commit | f1a23af603dfb250c10f8a4ec6a6f9acbd80d972 (patch) | |
tree | 09cf272b4870b6d33085d2d4b1d9b4ad3dd5aec3 /src/sourceoutputwidget.h | |
parent | ac052e1a30d1aeb7c514f9dd4eb8e6fb50382185 (diff) |
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.
Diffstat (limited to 'src/sourceoutputwidget.h')
-rw-r--r-- | src/sourceoutputwidget.h | 7 |
1 files changed, 0 insertions, 7 deletions
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(); |