summaryrefslogtreecommitdiff
path: root/libadhocutil/plugins.impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libadhocutil/plugins.impl.h')
-rw-r--r--libadhocutil/plugins.impl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libadhocutil/plugins.impl.h b/libadhocutil/plugins.impl.h
index 44b6dab..aad6b2d 100644
--- a/libadhocutil/plugins.impl.h
+++ b/libadhocutil/plugins.impl.h
@@ -75,5 +75,13 @@ namespace AdHoc {
}
}
+#define INSTANIATEPLUGINOF(T) \
+ template class AdHoc::PluginOf<T>; \
+ template void AdHoc::PluginManager::add<T>(const T *, const std::string &, const std::string &, int); \
+ template void AdHoc::PluginManager::remove<T>(const std::string &); \
+ template boost::shared_ptr<const AdHoc::PluginOf<T>> AdHoc::PluginManager::get<T>(const std::string &) const; \
+ template const T * AdHoc::PluginManager::getImplementation<T>(const std::string &) const; \
+ template std::set<boost::shared_ptr<const AdHoc::PluginOf<T>>> AdHoc::PluginManager::getAll<T>() const; \
+
#endif