summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceList.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-12-03 18:36:28 +0100
committerPetr Mrázek <peterix@gmail.com>2017-12-03 18:36:28 +0100
commit95e6f37d3942d4ab681e2f2484f17bbf8489c332 (patch)
tree98cc9231f0d1f2c5c935108aa075c7f0a0b65e7a /api/logic/InstanceList.h
parente0bea1e46a8086b098248ec506b71e5f4512c70f (diff)
downloadMultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.gz
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.lz
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.xz
MultiMC-95e6f37d3942d4ab681e2f2484f17bbf8489c332.zip
NOISSUE force saving of any outstanding instance component state on exit
Diffstat (limited to 'api/logic/InstanceList.h')
-rw-r--r--api/logic/InstanceList.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/InstanceList.h b/api/logic/InstanceList.h
index ea4717ff..89be10de 100644
--- a/api/logic/InstanceList.h
+++ b/api/logic/InstanceList.h
@@ -73,6 +73,7 @@ public:
}
InstListError loadList(bool complete = false);
+ void saveNow();
/// Add an instance provider. Takes ownership of it. Should only be done before the first load.
void addInstanceProvider(BaseInstanceProvider * provider);