summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index b3be6ae9f..670d32844 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -101,6 +101,14 @@ typedef file_cache string_list;
*/
typedef std::map<std::string,Module*> featurelist;
+/** Holds a list of modules which implement an interface
+ */
+typedef std::deque<Module*> modulelist;
+
+/** Holds a list of all modules which implement interfaces, by interface name
+ */
+typedef std::map<std::string, modulelist> interfacelist;
+
/**
* This #define allows us to call a method in all
* loaded modules in a readable simple way, e.g.: