summaryrefslogtreecommitdiff
path: root/lib/resolve_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resolve_path.h')
-rw-r--r--lib/resolve_path.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/resolve_path.h b/lib/resolve_path.h
new file mode 100644
index 00000000..7005d0ea
--- /dev/null
+++ b/lib/resolve_path.h
@@ -0,0 +1,26 @@
+// **************************************************************************
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
+// * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) *
+// **************************************************************************
+
+#ifndef RESOLVE_PATH_H_INCLUDED
+#define RESOLVE_PATH_H_INCLUDED
+
+#include <zen/zstring.h>
+
+
+namespace zen
+{
+Zstring getFormattedDirectoryName(const Zstring& dirString); //throw() - non-blocking! no I/O!
+
+#ifdef FFS_WIN
+std::vector<Zstring> getDirectoryAliases(const Zstring& dirString);
+
+//this call may block if network is not reachable or when showing login prompt!
+void loginNetworkShare(const Zstring& dirname, bool allowUserInteraction); //throw() - user interaction: show OS password prompt
+#endif
+}
+
+
+#endif // RESOLVE_PATH_H_INCLUDED
bgstack15