summaryrefslogtreecommitdiff
path: root/src/PlatformUtils-win32.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-05-27 01:24:53 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-05-27 01:24:53 (GMT)
commit08952ee2164efd8257adbd8684317ec1c945b7ac (patch)
tree5b50d417d950ad27e90f2765977e42caac1a881d /src/PlatformUtils-win32.cc
parent31c88a434b3201d88819b485f74da843c2728cb2 (diff)
windows - library path find, also windows build fixes
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