nss: upgrade to release 3.73
[LibreOffice.git] / include / unotest / directories.hxx
blob4fcf7fe3cbba1b4e3820c8c56b1df0bfe2a45923
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_UNOTEST_DIRECTORIES_HXX
11 #define INCLUDED_UNOTEST_DIRECTORIES_HXX
13 #include <sal/config.h>
15 #include <rtl/ustring.hxx>
16 #include <unotest/detail/unotestdllapi.hxx>
18 namespace test
20 class OOO_DLLPUBLIC_UNOTEST Directories
22 private:
23 OUString m_aSrcRootURL;
24 OUString m_aSrcRootPath;
25 OUString m_aWorkdirRootURL;
26 OUString m_aWorkdirRootPath;
28 public:
29 Directories();
31 const OUString& getSrcRootURL() const { return m_aSrcRootURL; }
32 const OUString& getSrcRootPath() const { return m_aSrcRootPath; }
34 // return a URL to a given path from the source directory
35 OUString getURLFromSrc(const OUString& rPath) const;
37 // return a Path to a given path from the source directory
38 OUString getPathFromSrc(const OUString& rPath) const;
40 // return a URL to a given path from the workdir directory
41 OUString getURLFromWorkdir(const OUString& rPath) const;
43 // return a Path to a given path from the workdir directory
44 OUString getPathFromWorkdir(const OUString& rPath) const;
48 #endif
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */