summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-08-19 02:04:56 +0200
committerPetr Mrázek <peterix@gmail.com>2015-08-19 02:04:56 +0200
commit5bc29b06a9268a43fe13a627ac02f34a77c76895 (patch)
treeeef34c5d98f7f588d18a547b0c8aff6408e8e3a5 /logic/BaseInstance.h
parent96fdaebb5c8c8902c98c1fb43e755cf90fc15198 (diff)
downloadMultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar.gz
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar.lz
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar.xz
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.zip
NOISSUE fix log-related legacy instance crash and show hidden log files
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r--logic/BaseInstance.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h
index bcd1e0da..070a9838 100644
--- a/logic/BaseInstance.h
+++ b/logic/BaseInstance.h
@@ -170,6 +170,11 @@ public:
virtual IPathMatcher::Ptr getLogFileMatcher() = 0;
/*!
+ * Returns the root folder to use for looking up log files
+ */
+ virtual QString getLogFileRoot() = 0;
+
+ /*!
* does any necessary cleanups after the instance finishes. also runs before\
* TODO: turn into a task that can run asynchronously
*/