summaryrefslogtreecommitdiffstats
path: root/src/sourcewidget.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-06-28 15:57:59 +0100
committerColin Guthrie <cguthrie@mandriva.org>2009-10-15 13:03:16 +0100
commit375c2c2d6207763ff3ac8d7fb289b2b5ea1f8d54 (patch)
treee0ad7ddb2959da06a3de3501efed019d1c0e3a51 /src/sourcewidget.h
parent400c69acf4b550d8ad2e7ad2f4e6232dfc19bb3d (diff)
Add support for the device-manager module.
Currently this module only really allows for devices to be renamed, so we add a new dialog that can be activated by right clicking on devices (i.e. sinks/sources). This dialog allows you to enter a new name which will be set via the extension provided by the device-manager module. Future work will allow you to manage (i.e. rename, delete etc) offline devices too.
Diffstat (limited to 'src/sourcewidget.h')
-rw-r--r--src/sourcewidget.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sourcewidget.h b/src/sourcewidget.h
index f0088b4..9a2cca3 100644
--- a/src/sourcewidget.h
+++ b/src/sourcewidget.h
@@ -28,11 +28,9 @@
class SourceWidget : public DeviceWidget {
public:
SourceWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& x);
- static SourceWidget* create();
+ static SourceWidget* create(MainWindow* mainWindow);
SourceType type;
- Glib::ustring name;
- Glib::ustring description;
uint32_t index, card_index;
bool can_decibel;