| 1 | /* Copyright 2012 Kjetil S. Matheussen |
| 2 | |
| 3 | This program is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU General Public License |
| 5 | as published by the Free Software Foundation; either version 2 |
| 6 | of the License, or (at your option) any later version. |
| 7 | |
| 8 | This program is distributed in the hope that it will be useful, |
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | GNU General Public License for more details. |
| 12 | |
| 13 | You should have received a copy of the GNU General Public License |
| 14 | along with this program; if not, write to the Free Software |
| 15 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
| 16 | |
| 17 | #ifndef QT_INSTRUMENTS_PROC_H |
| 18 | #define QT_INSTRUMENTS_PROC_H |
| 19 | |
| 20 | extern LANGSPEC hash_t *create_instrument_widget_order_state(void); |
| 21 | extern LANGSPEC void recreate_instrument_widget_order_from_state(hash_t *state); |
| 22 | |
| 23 | extern LANGSPEC void GFX_update_instrument_widget(struct Patch *patch); |
| 24 | |
| 25 | struct SoundPlugin; |
| 26 | struct SoundPluginType; |
| 27 | extern LANGSPEC SoundPlugin *add_new_audio_instrument_widget(SoundPluginType *plugin_type, int x, int y, bool autoconnect, const char *name); |
| 28 | extern LANGSPEC void close_all_instrument_widgets(void); |
| 29 | |
| 30 | extern LANGSPEC struct Patch *get_current_instruments_gui_patch(void); |
| 31 | |
| 32 | #ifdef __cplusplus |
| 33 | QWidget *createInstrumentsWidget(void); |
| 34 | #endif // __cplusplus |
| 35 | |
| 36 | #endif |