[Summary] Used Widget assosiation data mechanism to identify DeviceConnectionControl

[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 462729]
This commit is contained in:
Grygorii Zharun 2014-05-22 08:42:52 -05:00
parent b32447465a
commit c4fe20d7a7
3 changed files with 66 additions and 50 deletions

View file

@ -32,6 +32,8 @@ class DeviceConnectionControl : public Gtk::Layout
enum ConnectionNumber {
NoNumber = 0
};
static const char* id_name;
DeviceConnectionControl (const std::string& device_capture_name, bool active, uint16_t capture_number, const std::string& track_name);
DeviceConnectionControl (const std::string& device_playback_name, bool active, uint16_t playback_number);
@ -42,7 +44,6 @@ class DeviceConnectionControl : public Gtk::Layout
void set_number (uint16_t number);
void set_active (bool active);
void set_track_name (const std::string& new_track_name);
std::string get_name ();
sigc::signal2<void, DeviceConnectionControl*, bool> signal_active_changed;
private: