]> ruin.nu Git - germs.git/blobdiff - src/model.h
modelFactory method, to help create models
[germs.git] / src / model.h
index 8bc41d4bcf73da0bf9b4c1d366360ccce00b8f0e..4869793c407fe7bb2800136df715b03733588089 100644 (file)
@@ -22,6 +22,7 @@
 #define __MODEL_H__
 
 #include <tr1/memory>
+#include <string>
 
 class SortAction;
 class GeneOrder;
@@ -53,6 +54,8 @@ class Model{
 
                const char* name() const;
 
+               static Model modelFactory(const std::string& name);
+
        private:
                ModelPointer _impl;