diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-07 17:32:30 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-07 20:16:27 -0500 |
| commit | 079fd33cf18cc901d1a6a4463d8a8ccd1d730786 (patch) | |
| tree | 8e96f5af73389a1001a29ca761d1454d716c23d0 /src/sanitychecks.h | |
| parent | ba7d24faef49858b9721c2ade0f3ea4a7ba4d96d (diff) | |
added sanitychecks.h, moved to namespace sanity
added a set SetThisThreadName() after creating the main window, Qt resets it
Diffstat (limited to 'src/sanitychecks.h')
| -rw-r--r-- | src/sanitychecks.h | 27 |
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 |
