1 /*
2  * Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
3  * Copyright (C) 2011 Pete Shorthose
4  *
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.
9  *
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.
14  *
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.
18  * --------------------------------------------------------------------------
19  *
20  *
21  *    This is the main guitarix header file. It simply contains the
22  *    more specific headers. Note that each header is trying to be
23  *    self-contained, i.e. only depends on system declarations.  Let's
24  *    try to keep it that way.
25  *
26  *
27  * --------------------------------------------------------------------------
28  */
29 
30 #pragma once
31 
32 #ifndef SRC_HEADERS_GUITARIX_H_
33 #define SRC_HEADERS_GUITARIX_H_
34 
35 #include <gtk/gtk.h>
36 #include <gdk/gdkkeysyms.h>
37 
38 #ifndef GDK_KEY_0
39 /*
40 ** compatibility definitions for gdkkeysyms.h before the change in gtk git on 2010-09-08
41 ** can be removed at some point
42 ** list created with:
43 ** tools/search_all GDK_KEY | sed -n 's/\(GDK_KEY_[a-zA-Z0-9_]*\)/\n\1\n/gp' | sort -u \
44 **   | awk '/GDK_KEY/{v=$0; sub("GDK_KEY_", "GDK_", v); print "#define " $0 " " v}'
45 */
46 #define GDK_KEY_0 GDK_0
47 #define GDK_KEY_1 GDK_1
48 #define GDK_KEY_9 GDK_9
49 #define GDK_KEY_a GDK_a
50 #define GDK_KEY_A GDK_A
51 #define GDK_KEY_B GDK_B
52 #define GDK_KEY_Down GDK_Down
53 #define GDK_KEY_Escape GDK_Escape
54 #define GDK_KEY_KP_0 GDK_KP_0
55 #define GDK_KEY_KP_1 GDK_KP_1
56 #define GDK_KEY_KP_9 GDK_KP_9
57 #define GDK_KEY_Left GDK_Left
58 #define GDK_KEY_M GDK_M
59 #define GDK_KEY_Return GDK_Return
60 #define GDK_KEY_Right GDK_Right
61 #define GDK_KEY_space GDK_space
62 #define GDK_KEY_Up GDK_Up
63 #define GDK_KEY_z GDK_z
64 #define GDK_KEY_Z GDK_Z
65 #endif
66 
67 #ifdef GDK_DISABLE_DEPRECATED
68 // Some Gdkmm 2.4 header need this defined
69 struct GdkSpanFunc;
70 #endif
71 #include <gtkmm.h>
72 #include <curl/curl.h>
73 
74 #ifdef HAVE_LIBLO
75 #include "nsm.h"
76 #endif
77 
78 #include "engine.h"
79 #include "jsonrpc.h"
80 #include "machine.h"
81 
82 #include "gx_gui_helpers.h"
83 #include "gx_ui_builder.h"
84 #include "gx_jack_options.h"
85 #include "gx_portmap.h"
86 #include "gx_main_midi.h"
87 #include "gx_main_boxes.h"
88 #include "gx_child_process.h"
89 #include "gx_main_interface.h"
90 #include "gx_jconv_settings.h"
91 #include "gx_sequencer_settings.h"
92 #include "gx_stackbox_builder.h"
93 #include "gx_preset_window.h"
94 #include "ladspalist.h"
95 #include "gx_main_window.h"
96 
97 #endif  // SRC_HEADERS_GUITARIX_H_
98