diff options
Diffstat (limited to 'src/Platform.h')
-rw-r--r-- | src/Platform.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h index 76029eb..8399138 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -22,6 +22,7 @@ #include "types.h" #include <functional> +#include <string> namespace Platform { @@ -31,6 +32,29 @@ void DeInit(); void StopEmu(); +// configuration values + +enum ConfigEntry +{ + DLDI_Enable, + DLDI_ImagePath, + DLDI_ImageSize, + DLDI_ReadOnly, + DLDI_FolderSync, + DLDI_FolderPath, + + DSiSD_Enable, + DSiSD_ImagePath, + DSiSD_ImageSize, + DSiSD_ReadOnly, + DSiSD_FolderSync, + DSiSD_FolderPath, +}; + +int GetConfigInt(ConfigEntry entry); +bool GetConfigBool(ConfigEntry entry); +std::string GetConfigString(ConfigEntry entry); + // fopen() wrappers // * OpenFile(): // simple fopen() wrapper that supports UTF8. |