Opruiming
[sgc.git] / sgc.h
blob03bc406d8f4f4370f54b3078315143ae8e0a8149
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 #else
16 #define PRAATBIN "./praat"
17 #endif
19 #define PITCHPATH "PitchTiers"
20 #define GLADESOURCE "sgc.glade"
22 extern GladeXML *xml;
23 extern gint intTestCounter;
24 extern gdouble upperRegister;
26 gpointer sound_init(void *args);
27 gpointer play(void *args);
28 gpointer example(void *args);
29 gpointer record(void *args);
31 void drawPitchTier(cairo_t *cr, gchar *filename, gint width, gint height, gdouble top);
33 void on_buttonNext_clicked(GtkWidget *widget, gpointer user_data);
35 void create_list_view();
37 gboolean setButtonsTrue();
38 gboolean setButtonsFalse();
40 #define TESTFILE "tests.txt"
41 #define MAXTESTS 0
42 extern gchar **testList;
44 void fileOpen(gchar *filename);
45 void fileSave(gchar *filename);
46 void fileClose();