summaryrefslogtreecommitdiff
path: root/lib/resolve_path.h
blob: bc74441a01c123a000f05ab66e15db9729465d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// **************************************************************************
// * 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) ZenJu (zhnmju123 AT gmx DOT de) - All Rights Reserved    *
// **************************************************************************

#ifndef RESOLVE_PATH_H_INCLUDED
#define RESOLVE_PATH_H_INCLUDED

#include <zen/zstring.h>


namespace zen
{
//resolve environment variables, relative paths, ect. and append file name separator
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