Merge branch 'master' of ssh://repo.or.cz/srv/git/calf
[calf.git] / src / calf / preset_gui.h
blob3099105c42d785239cbaeaeb22c2629a71fff03c
1 /* Calf DSP Library
2 * GUI functions for preset management.
3 * Copyright (C) 2007 Krzysztof Foltman
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __CALF_PRESET_GUI_H
20 #define __CALF_PRESET_GUI_H
23 #include <calf/giface.h>
24 #include <calf/gui.h>
26 namespace calf_plugins {
28 struct activate_preset_params
30 plugin_gui *gui;
31 int preset;
32 bool builtin;
34 activate_preset_params(plugin_gui *_gui, int _preset, bool _builtin)
35 : gui(_gui), preset(_preset), builtin(_builtin)
40 void store_preset(GtkWindow *toplevel, plugin_gui *gui);
41 void activate_preset(GtkAction *action, activate_preset_params *params);
45 #endif