ConnectionDummy.cpp (766B)
1 /* 2 ZynAddSubFX - a software synthesizer 3 4 ConnectionDummy.cpp - Out-Of-Process GUI Stubs 5 Copyright (C) 2016 Mark McCurry 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License 9 as published by the Free Software Foundation; either version 2 10 of the License, or (at your option) any later version. 11 */ 12 #include "Connection.h" 13 #include <unistd.h> 14 namespace GUI { 15 ui_handle_t createUi(Fl_Osc_Interface*, void *) 16 { 17 return 0; 18 } 19 void destroyUi(ui_handle_t) 20 { 21 } 22 void raiseUi(ui_handle_t, const char *) 23 { 24 } 25 void raiseUi(ui_handle_t, const char *, const char *, ...) 26 { 27 } 28 void tickUi(ui_handle_t) 29 { 30 usleep(1000); 31 } 32 Fl_Osc_Interface *genOscInterface(zyn::MiddleWare*) 33 { 34 return NULL; 35 } 36 };