summaryrefslogtreecommitdiff
path: root/cypherFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'cypherFactory.h')
-rw-r--r--cypherFactory.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/cypherFactory.h b/cypherFactory.h
index f245301..002d741 100644
--- a/cypherFactory.h
+++ b/cypherFactory.h
@@ -39,10 +39,13 @@
class CypherFactory
{
public:
- CypherFactory() {};
- ~CypherFactory() {};
+ static Cypher* create(std::string const& type);
- Cypher* create(std::string const& type);
+private:
+ CypherFactory();
+ CypherFactory(const CypherFactory& src);
+ void operator=(const CypherFactory& src);
+ ~CypherFactory();
};
#endif