Update zodat ik PPC kan scheiden. Verder wat overige GUI abstracties.
[sgc.git] / sgc.h
blobae75e56141a06d9e851717820c9836b48f8e8f96
1 #include <gtk/gtk.h>
2 #include <glade/glade.h>
3 #include <glib/gstdio.h>
4 #include <pango/pango-utils.h>
5 #include <unistd.h>
6 #include "Thing.h"
7 #include "PitchTier.h"
9 #define RECORDPATH "records"
10 #define PINYINPATH "pinyin"
11 #define SCRIPTPATH "SGC_ToneProt"
13 #ifdef MINGW
14 #define PRAATBIN "praatcon.exe"
15 #elif PPC
16 #define PRAATBIN "./praat.ppc"
17 #else
18 #define PRAATBIN "./praat"
19 #endif
21 #define PITCHPATH "PitchTiers"
22 #define GLADESOURCE "sgc.glade"
24 extern GladeXML *xml;
25 extern gint intTestCounter;
26 extern gdouble upperRegister;
28 gpointer sound_init(void *args);
29 gpointer play(void *args);
30 gpointer example(void *args);
31 gpointer record(void *args);
33 void drawPitchTier(cairo_t *cr, gchar *filename, gint width, gint height, gdouble top);
35 void on_buttonNext_clicked(GtkWidget *widget, gpointer user_data);
37 void create_list_view();
39 void add_entry(gchar *txt);
41 gboolean setButtonsTrue();
42 gboolean setButtonsFalse();
44 #define TESTFILE "tests.txt"
45 #define MAXTESTS 0
46 extern gchar **testList;
48 void fileOpen(gchar *filename);
49 void fileSave(gchar *filename);
50 void fileClose();