[beast: 43/95] SFI: sfiwrapper.hh: introduce some Rapicorn symbols via using to help transition
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 43/95] SFI: sfiwrapper.hh: introduce some Rapicorn symbols via using to help transition
- Date: Mon, 25 Mar 2013 00:40:07 +0000 (UTC)
commit a114a2a41c0a3ae4e247f3510c3b85ba647969af
Author: Tim Janik <timj gnu org>
Date: Tue Mar 19 01:52:18 2013 +0100
SFI: sfiwrapper.hh: introduce some Rapicorn symbols via using to help transition
bse/bseenginemaster.hh | 2 --
bse/bsesequencer.hh | 4 ----
sfi/sfiwrapper.hh | 14 ++++++++++++++
3 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/bse/bseenginemaster.hh b/bse/bseenginemaster.hh
index d921b6c..4bc8fcb 100644
--- a/bse/bseenginemaster.hh
+++ b/bse/bseenginemaster.hh
@@ -12,8 +12,6 @@ void _engine_master_dispatch (void);
namespace Bse {
-using Rapicorn::EventFd; // FIXME
-
class MasterThread {
std::thread thread_;
EventFd event_fd_;
diff --git a/bse/bsesequencer.hh b/bse/bsesequencer.hh
index 48063a7..c66d0c5 100644
--- a/bse/bsesequencer.hh
+++ b/bse/bsesequencer.hh
@@ -5,10 +5,6 @@
namespace Bse {
-using Rapicorn::Mutex; // FIXME
-using Rapicorn::Cond; // FIXME
-using Rapicorn::EventFd; // FIXME
-
/** Note and MIDI sequencer.
* The sequencer processes notes from parts and MIDI input and generates events for the synthesis engine.
*/
diff --git a/sfi/sfiwrapper.hh b/sfi/sfiwrapper.hh
index 9e377fc..c08a7d0 100644
--- a/sfi/sfiwrapper.hh
+++ b/sfi/sfiwrapper.hh
@@ -4,6 +4,20 @@
#include <stdbool.h>
#include <sfi/glib-extra.hh>
#include <birnet/birnetcdefs.h> /* include glib before birnet for G_LOG_DOMAIN */
+#include <birnet/birnetutils.hh>
+
+// FIXME: Introduce symbols from Rapicorn to ease transition.
+namespace Bse {
+
+using Rapicorn::ThreadInfo;
+using Rapicorn::EventFd;
+using Rapicorn::Spinlock;
+using Rapicorn::Mutex;
+using Rapicorn::Cond;
+
+};
+
+
/* sfiwrapper.h is a thin C language wrapper around C++ features
* provided by libbirnet.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]