summaryrefslogtreecommitdiff
path: root/shared/systemFunctions.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:17 +0200
commitfd0853d2623dd278b08288331ed42e3be59252fb (patch)
treea7645daeaef8bdbed064faf4eb88e72cee58726c /shared/systemFunctions.h
parent2.1 (diff)
downloadFreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.gz
FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.bz2
FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.zip
2.2
Diffstat (limited to 'shared/systemFunctions.h')
-rw-r--r--shared/systemFunctions.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/shared/systemFunctions.h b/shared/systemFunctions.h
new file mode 100644
index 00000000..b449d8d2
--- /dev/null
+++ b/shared/systemFunctions.h
@@ -0,0 +1,18 @@
+#ifndef SYSTEMFUNCTIONS_H_INCLUDED
+#define SYSTEMFUNCTIONS_H_INCLUDED
+
+#include <wx/string.h>
+
+
+namespace FreeFileSync
+{
+
+#ifdef FFS_WIN
+ wxString getLastErrorFormatted(const unsigned long lastError = 0); //try to get additional Windows error information
+#elif defined FFS_LINUX
+ wxString getLastErrorFormatted(const int lastError = 0); //try to get additional Linux error information
+#endif
+}
+
+
+#endif // SYSTEMFUNCTIONS_H_INCLUDED
bgstack15