BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __BSE_CORE_HH__ 00003 #define __BSE_CORE_HH__ 00004 00005 #include <bse/bse.hh> 00006 #include <bse/bseclientapi.hh> 00007 00009 namespace Bse { 00010 using namespace Rapicorn; 00011 00013 class TaskRegistry { // FIXME: move this to IDL 00014 public: 00015 typedef std::vector<Rapicorn::TaskStatus> List; 00016 static void add (const std::string &name, int pid, 00017 int tid = -1); 00018 static bool remove (int tid); 00019 static void update (); 00020 static List list (); 00021 }; 00022 00023 // == BSE Initialization == 00024 00025 SfiGlueContext* init_glue_context (const gchar *client, const std::function<void()> &caller_wakeup); 00026 void init_async (int *argc, char **argv, const char *app_name, const StringVector &args = StringVector()); 00027 00029 class AidaGlibSource : public GSource { 00030 public: 00031 static AidaGlibSource* create (Rapicorn::Aida::BaseConnection *connection); 00032 }; 00033 00034 } // Bse 00035 00036 #endif /* __BSE_CORE_HH__ */