zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

Connection.h (922B)


      1 /*
      2   ZynAddSubFX - a software synthesizer
      3 
      4   Connection.h - In-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 //Defines the methods of communication for the GUI
     13 //Expect this code to mutate into some sort of ugly beast that will slowly
     14 //remove the tendrils of the UI from the RT code
     15 
     16 class Fl_Osc_Interface;
     17 namespace zyn
     18 {
     19     class MiddleWare;
     20 }
     21 
     22 namespace GUI
     23 {
     24 typedef void *ui_handle_t;
     25 
     26 ui_handle_t createUi(Fl_Osc_Interface *osc, void *exit);
     27 void destroyUi(ui_handle_t);
     28 void raiseUi(ui_handle_t, const char *);
     29 void raiseUi(ui_handle_t, const char *, const char *, ...);
     30 void tickUi(ui_handle_t);
     31 
     32 Fl_Osc_Interface *genOscInterface(zyn::MiddleWare*);
     33 };