LibreOffice Module tools (master) 1
fileutil.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_TOOLS_FILEUTIL_HXX
11#define INCLUDED_TOOLS_FILEUTIL_HXX
12
13#include <tools/toolsdllapi.h>
14#include <rtl/ustring.hxx>
15
16namespace tools
17{
18// Tests if the path is a UNC or local (drive-based) path that redirects to
19// a WebDAV resource (e.g., using redirectors on Windows).
20// Currently only implemented for Windows; on other platforms, returns false.
21TOOLS_DLLPUBLIC bool IsMappedWebDAVPath(const OUString& rURL, OUString* pRealURL = nullptr);
22}
23
24#endif // INCLUDED_TOOLS_FILEUTIL_HXX
25
26/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Note: this class is a true marvel of engineering: because the author could not decide whether it's be...
bool IsMappedWebDAVPath(const OUString &rURL, OUString *pRealURL)
Definition: fileutil.cxx:44
#define TOOLS_DLLPUBLIC
Definition: toolsdllapi.h:28