aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina/Engine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/machina/Engine.hpp')
-rw-r--r--src/engine/machina/Engine.hpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/engine/machina/Engine.hpp b/src/engine/machina/Engine.hpp
index 4bd907b..dd40f42 100644
--- a/src/engine/machina/Engine.hpp
+++ b/src/engine/machina/Engine.hpp
@@ -19,8 +19,6 @@
#include <string>
-#include <glibmm/ustring.h>
-
#include "machina/Atom.hpp"
#include "machina/Driver.hpp"
#include "machina/Loader.hpp"
@@ -47,13 +45,13 @@ public:
SPtr<Machine> machine() { return _driver->machine(); }
Forge& forge() { return _forge; }
- SPtr<Machine> load_machine(const Glib::ustring& uri);
- SPtr<Machine> load_machine_midi(const Glib::ustring& uri,
- double q,
- Raul::TimeDuration dur);
+ SPtr<Machine> load_machine(const std::string& uri);
+ SPtr<Machine> load_machine_midi(const std::string& uri,
+ double q,
+ Raul::TimeDuration dur);
- void export_midi(const Glib::ustring& filename,
- Raul::TimeDuration dur);
+ void export_midi(const std::string& filename,
+ Raul::TimeDuration dur);
void set_bpm(double bpm);
void set_quantization(double beat_fraction);