summaryrefslogtreecommitdiff
path: root/src/PlatformUtils-win32.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlatformUtils-win32.cc')
-rw-r--r--src/PlatformUtils-win32.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/PlatformUtils-win32.cc b/src/PlatformUtils-win32.cc
deleted file mode 100644
index 61382dd..0000000
--- a/src/PlatformUtils-win32.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "PlatformUtils.h"
-#include <windows.h>
-#include <shlobj.h>
-
-std::string PlatformUtils::documentsPath()
-{
- std::string retval;
- CHAR my_documents[MAX_PATH];
- HRESULT result = SHGetFolderPath(NULL, CSIDL_MYDOCUMENTS, NULL,
- SHGFP_TYPE_CURRENT, my_documents);
-
- if (result != S_OK) retval = "";
- else retval = my_documents;
- return retval;
-}
contact: Jan Huwald // Impressum