summaryrefslogtreecommitdiffstats
path: root/src/modules/modules.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-07-02 08:45:10 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-07-02 08:45:10 +0200
commit2008ccc79e21962ffb5e327c2aba4ea7c8da76a1 (patch)
treea74c0d30d3d98f53a933abcc6146bd6bef4b860c /src/modules/modules.h
parentfd68c0f047bbd40d02cad5a84584cc74979c993a (diff)
downloadmad-2008ccc79e21962ffb5e327c2aba4ea7c8da76a1.tar
mad-2008ccc79e21962ffb5e327c2aba4ea7c8da76a1.zip
Module können wieder statisch gelinkt werden
Diffstat (limited to 'src/modules/modules.h')
-rw-r--r--src/modules/modules.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/modules/modules.h b/src/modules/modules.h
new file mode 100644
index 0000000..e992b2d
--- /dev/null
+++ b/src/modules/modules.h
@@ -0,0 +1,39 @@
+/*
+ * modules.h
+ *
+ * Copyright (C) 2009 Matthias Schiffer <matthias@gamezock.de>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef MAD_MODULES_H_
+#define MAD_MODULES_H_
+
+#include <string>
+
+namespace Mad {
+
+namespace Common {
+class Application;
+class Module;
+}
+
+namespace Modules {
+
+Common::Module* loadStaticModule(Common::Application *application, const std::string &name);
+
+}
+}
+
+#endif /* MAD_MODULES_H_ */