[beast: 9/31] SFI: add global 'using' for very common utilities from Rapicorn



commit 6c3c7a710e8cc4227f1e8a7850e879dfac89dabc
Author: Tim Janik <timj gnu org>
Date:   Fri Jun 12 13:33:02 2015 +0200

    SFI: add global 'using' for very common utilities from Rapicorn

 sfi/sfi.hh |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/sfi/sfi.hh b/sfi/sfi.hh
index bff0bbf..f1cde90 100644
--- a/sfi/sfi.hh
+++ b/sfi/sfi.hh
@@ -2,8 +2,18 @@
 #ifndef __SFI_H__
 #define __SFI_H__
 
-// We're migrating to Bse for everything and use Rapicorn core for the lower level stuff
-#include <rapicorn-core.hh>
+
+// == Rapicorn Imports ==
+#include <rapicorn-core.hh>     // We move to Rapicorn core for low level stuff
+using Rapicorn::printerr;
+using Rapicorn::printout;
+using Rapicorn::string_format;
+using Rapicorn::Any;
+typedef std::string String;
+
+namespace Sfi {
+using namespace Rapicorn;
+} // Sfi
 namespace Bse {
 using namespace Rapicorn;
 } // Bse


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]