diff Source/GUI/MainWindow.cpp @ 50:114427cb39f0

Changes to allow software to be run from the command line (still needs testing)
author Andrew McPherson <andrewm@eecs.qmul.ac.uk>
date Mon, 13 Apr 2015 20:51:17 -0700
parents 85577160a0d4
children ff5d65c69e73
line wrap: on
line diff
--- a/Source/GUI/MainWindow.cpp	Mon Apr 13 19:30:27 2015 -0700
+++ b/Source/GUI/MainWindow.cpp	Mon Apr 13 20:51:17 2015 -0700
@@ -20,6 +20,8 @@
   MainWindow.cpp: the control window, plus menu bar and Juce application methods
 */
 
+#ifndef TOUCHKEYS_NO_GUI
+
 #include "../../JuceLibraryCode/JuceHeader.h"
 #include "MainWindow.h"
 
@@ -371,3 +373,5 @@
         item->clearPreset();
     }
 }
+
+#endif      // TOUCHKEYS_NO_GUI
\ No newline at end of file