Moving some folders around in the windows file system.

This commit is contained in:
Henrik Andersson
2011-06-03 22:31:18 +02:00
parent d442512ade
commit 07b4697112
3 changed files with 25 additions and 2 deletions
+15
View File
@@ -18,6 +18,21 @@ RString SpecialDirs::GetAppDataDir()
return GetSpecialFolderPath( CSIDL_APPDATA );
}
RString SpecialDirs::GetLocalAppDataDir()
{
return GetSpecialFolderPath( CSIDL_LOCAL_APPDATA );
}
RString SpecialDirs::GetCommonAppDataDir()
{
return GetSpecialFolderPath( CSIDL_COMMON_APPDATA );
}
RString SpecialDirs::GetPicturesDir()
{
return GetSpecialFolderPath( CSIDL_MYPICTURES );
}
RString SpecialDirs::GetDesktopDir()
{
return GetSpecialFolderPath( CSIDL_DESKTOP );
+3
View File
@@ -4,6 +4,9 @@
namespace SpecialDirs
{
RString GetAppDataDir();
RString GetLocalAppDataDir();
RString GetCommonAppDataDir();
RString GetPicturesDir();
RString GetDesktopDir();
};