diff options
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r-- | logic/BaseInstance.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h index 9c282bbc..bcd1e0da 100644 --- a/logic/BaseInstance.h +++ b/logic/BaseInstance.h @@ -26,6 +26,7 @@ #include "BaseVersionList.h" #include "auth/MojangAccount.h" #include "launch/MessageLevel.h" +#include "pathmatcher/IPathMatcher.h" class QDir; class Task; @@ -158,13 +159,17 @@ public: */ virtual std::shared_ptr<Task> createJarModdingTask() = 0; - /*! * Create envrironment variables for running the instance */ virtual QProcessEnvironment createEnvironment() = 0; /*! + * Returns a matcher that can maps relative paths within the instance to whether they are 'log files' + */ + virtual IPathMatcher::Ptr getLogFileMatcher() = 0; + + /*! * does any necessary cleanups after the instance finishes. also runs before\ * TODO: turn into a task that can run asynchronously */ |