aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/modules.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-10 22:16:13 +0000
committerlloyd <[email protected]>2008-11-10 22:16:13 +0000
commit675aa7bcc476d8445b6eb2bc3c6b0a2f3ce12958 (patch)
treecdcc9c87a1692d62c6b6559aac8254acfe4dfa18 /src/libstate/modules.h
parent88b635f50937f926097b76c7834baead3b936dfe (diff)
Remove Modules class from the initializer code - it just wasn't that useful
as an abstraction. Check #ifdef's for engines and such directly in libstate.cpp
Diffstat (limited to 'src/libstate/modules.h')
-rw-r--r--src/libstate/modules.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/libstate/modules.h b/src/libstate/modules.h
deleted file mode 100644
index abbfbb2c6..000000000
--- a/src/libstate/modules.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*************************************************
-* Module Factory Header File *
-* (C) 1999-2008 Jack Lloyd *
-*************************************************/
-
-#ifndef BOTAN_MODULE_FACTORIES_H__
-#define BOTAN_MODULE_FACTORIES_H__
-
-#include <botan/init.h>
-#include <botan/mutex.h>
-#include <string>
-#include <vector>
-
-namespace Botan {
-
-/*************************************************
-* Module Builder Interface *
-*************************************************/
-class BOTAN_DLL Modules
- {
- public:
- virtual class Mutex_Factory* mutex_factory(bool) const = 0;
-
- virtual std::string default_allocator() const = 0;
-
- virtual std::vector<class Allocator*>
- allocators(Mutex_Factory*) const = 0;
-
- virtual std::vector<class Engine*> engines() const = 0;
-
- virtual ~Modules() {}
- };
-
-/*************************************************
-* Built In Modules *
-*************************************************/
-class BOTAN_DLL Builtin_Modules : public Modules
- {
- public:
- class Mutex_Factory* mutex_factory(bool) const;
-
- std::string default_allocator() const;
-
- std::vector<class Allocator*> allocators(Mutex_Factory*) const;
- std::vector<class Engine*> engines() const;
-
- Builtin_Modules(const InitializerOptions&);
- private:
- const bool should_lock, use_engines;
- };
-
-}
-
-#endif