1 |
/* |
/* |
2 |
* Copyright (C) 2007-2013 Andreas Persson |
* Copyright (C) 2007-2015 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
235 |
mainwindow->signal_keyboard_key_released().connect( |
mainwindow->signal_keyboard_key_released().connect( |
236 |
gigedit->signal_keyboard_key_released().make_slot() |
gigedit->signal_keyboard_key_released().make_slot() |
237 |
); |
); |
238 |
|
mainwindow->signal_switch_sampler_instrument().connect( |
239 |
|
gigedit->signal_switch_sampler_instrument().make_slot() |
240 |
|
); |
241 |
} |
} |
242 |
|
|
243 |
} // namespace |
} // namespace |
338 |
return keyboard_key_released_signal; |
return keyboard_key_released_signal; |
339 |
} |
} |
340 |
|
|
341 |
|
sigc::signal<void, gig::Instrument*>& GigEdit::signal_switch_sampler_instrument() { |
342 |
|
return switch_sampler_instrument_signal; |
343 |
|
} |
344 |
|
|
345 |
#ifdef OLD_THREADS |
#ifdef OLD_THREADS |
346 |
Glib::StaticMutex GigEditState::mutex = GLIBMM_STATIC_MUTEX_INIT; |
Glib::StaticMutex GigEditState::mutex = GLIBMM_STATIC_MUTEX_INIT; |
347 |
#else |
#else |