HAAS Stereo Enhancer
[calf.git] / src / calf / preset_gui.h
blob16eb5d03f26ce380738340e96ea3ee3f4d4d35c9
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 gui_preset_access: public preset_access_iface
30 plugin_gui *gui;
31 GtkWidget *store_preset_dlg;
33 gui_preset_access(plugin_gui *_gui);
34 virtual void store_preset();
35 virtual void activate_preset(int preset, bool builtin);
36 virtual ~gui_preset_access() {}
38 static void on_dlg_destroy_window(GtkWindow *window, gpointer data);
43 #endif