GH-1227 allow structured world zip import and drag and drop out of MultiMC

This commit is contained in:
Petr Mrázek
2015-09-13 04:21:26 +02:00
parent 2315f463a8
commit 8ef07ec634
5 changed files with 256 additions and 38 deletions

View File

@ -41,6 +41,14 @@ public:
{
return is_valid;
}
bool isOnFS() const
{
return m_containerFile.isDir();
}
QFileInfo container() const
{
return m_containerFile;
}
// delete all the files of this world
bool destroy();
// replace this world with a copy of the other
@ -62,6 +70,7 @@ private:
protected:
QFileInfo m_containerFile;
QString m_containerOffsetPath;
QString m_folderName;
QString m_actualName;
QDateTime levelDatTime;