summaryrefslogtreecommitdiff
path: root/src/sanitychecks.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-09 04:27:12 -0500
committerGitHub <noreply@github.com>2020-11-09 04:27:12 -0500
commit84e53f3ab3cd2b89eed3e37be734da3e997f4032 (patch)
tree2b14f10377b1ca2b85317c62267a6cf74c64d102 /src/sanitychecks.h
parentd23b38b4dfbc61ffe509dd2627ecbf3589409409 (diff)
parentefdda8e7385446096a1032c2b7c2aeaf57132c78 (diff)
Merge pull request #1284 from isanae/command-line-cleanup
Command line cleanup
Diffstat (limited to 'src/sanitychecks.h')
-rw-r--r--src/sanitychecks.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/sanitychecks.h b/src/sanitychecks.h
new file mode 100644
index 00000000..8786ee78
--- /dev/null
+++ b/src/sanitychecks.h
@@ -0,0 +1,27 @@
+#ifndef MODORGANIZER_SANITYCHECKS_INCLUDED
+#define MODORGANIZER_SANITYCHECKS_INCLUDED
+
+namespace env
+{
+ class Environment;
+ class Module;
+}
+
+namespace MOBase
+{
+ class IPluginGame;
+}
+
+class Settings;
+
+
+namespace sanity
+{
+
+void checkEnvironment(const env::Environment& env);
+int checkIncompatibleModule(const env::Module& m);
+int checkPaths(MOBase::IPluginGame& game, const Settings& s);
+
+} // namespace
+
+#endif // MODORGANIZER_SANITYCHECKS_INCLUDED