1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
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>
20 class OOO_DLLPUBLIC_UNOTEST Directories
{
22 OUString m_aSrcRootURL
;
23 OUString m_aSrcRootPath
;
24 OUString m_aWorkdirRootURL
;
25 OUString m_aWorkdirRootPath
;
30 const OUString
& getSrcRootURL() const { return m_aSrcRootURL
; }
31 const OUString
& getSrcRootPath() const { return m_aSrcRootPath
; }
33 // return a URL to a given path from the source directory
34 OUString
getURLFromSrc(const OUString
& rPath
) const;
36 // return a Path to a given path from the source directory
37 OUString
getPathFromSrc(const OUString
& rPath
) const;
39 // return a URL to a given path from the workdir directory
40 OUString
getURLFromWorkdir(const OUString
&rPath
) const;
42 // return a Path to a given path from the workdir directory
43 OUString
getPathFromWorkdir(const OUString
&rPath
) const;
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */