Merged in Bobbyjones/love/new-conf-flag-for-android-2 (pull request #53)

New conf flag for android 2
This commit is contained in:
Alex Szpakowski
2016-01-10 20:11:34 -04:00
6 changed files with 56 additions and 5 deletions
+18
View File
@@ -79,6 +79,20 @@ public:
**/
virtual bool setupWriteDirectory() = 0;
/**
* This sets the save location on Android.
* False for internal, true for external
* @param external Bool for whether
* Android should use external file storage.
**/
virtual void setAndroidSaveExternal(bool useExternal = false);
/**
* Gets whether the Android save is external.
* Returns a bool.
**/
virtual bool isAndroidSaveExternal() const;
/**
* Sets the name of the save folder.
* @param ident The name of the game. Will be used to
@@ -263,6 +277,10 @@ public:
**/
virtual std::string getExecutablePath() const;
private:
//should we save external or internal for Android
bool useExternal;
}; // Filesystem
} // filesystem