summaryrefslogtreecommitdiff
path: root/drumgizmo/enginefactory.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-25 15:51:53 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:17 +0100
commitd3554736c13531898fb720b34772a595620e661a (patch)
tree85e6f76e2b37785405ddf6685801ab9e9f9125cb /drumgizmo/enginefactory.h
parent100e2d3bd46f64df730c8a375559680c577036ef (diff)
reformatting fix
Diffstat (limited to 'drumgizmo/enginefactory.h')
-rw-r--r--drumgizmo/enginefactory.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/drumgizmo/enginefactory.h b/drumgizmo/enginefactory.h
index 2d8da80..02a84ae 100644
--- a/drumgizmo/enginefactory.h
+++ b/drumgizmo/enginefactory.h
@@ -67,7 +67,16 @@
class EngineFactory
{
-private:
+public:
+ EngineFactory();
+
+ const std::list<std::string>& getInputEngines() const;
+ const std::list<std::string>& getOutputEngines() const;
+
+ std::unique_ptr<AudioInputEngine> createInput(const std::string& name);
+ std::unique_ptr<AudioOutputEngine> createOutput(const std::string& name);
+
+protected:
std::list<std::string> input, output; // available engines
#ifdef USE_JACK
@@ -76,12 +85,4 @@ private:
void prepareJack();
#endif
-public:
- EngineFactory();
-
- std::list<std::string> const &getInputEngines() const;
- std::list<std::string> const &getOutputEngines() const;
-
- std::unique_ptr<AudioInputEngine> createInput(std::string const &name);
- std::unique_ptr<AudioOutputEngine> createOutput(std::string const &name);
};