summaryrefslogtreecommitdiff
path: root/src/ctx.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-04-10 19:18:12 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-04-16 13:22:34 +0200
commitdd0411ec78a4f8fa99aa32a2f2a90dba5d7bf572 (patch)
tree9f164cc1a573aaa2c6db528dca6a45d8708b5386 /src/ctx.hpp
parent35d748dfa5f846916c32142fc641eae0b5d9b88d (diff)
Automatic loading of plugins on Windows
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/ctx.hpp')
-rw-r--r--src/ctx.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ctx.hpp b/src/ctx.hpp
index 54144ad..75b36bd 100644
--- a/src/ctx.hpp
+++ b/src/ctx.hpp
@@ -169,6 +169,12 @@ namespace xs
// Synchronisation of access to context options.
mutex_t opt_sync;
+ // List of all dynamically loaded extension libraries.
+#if defined XS_HAVE_WINDOWS
+ typedef std::vector <HMODULE> plugins_t;
+ plugins_t plugins;
+#endif
+
// List of all filters plugged into the context.
typedef std::map <int, xs_filter_t*> filters_t;
filters_t filters;