Branch libreoffice-6-3
[LibreOffice.git] / include / unotest / macros_test.hxx
blob6ec5c25167dfb614bb65299ff40b4b1a12018f40
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_MACROS_TEST_HXX
11 #define INCLUDED_UNOTEST_MACROS_TEST_HXX
13 #include <rtl/ustring.hxx>
14 #include <unotest/detail/unotestdllapi.hxx>
16 #include <com/sun/star/lang/XComponent.hpp>
17 #include <com/sun/star/frame/XDesktop2.hpp>
19 struct TestMacroInfo
21 OUString sFileBaseName;
22 OUString sMacroUrl;
25 namespace unotest {
27 class OOO_DLLPUBLIC_UNOTEST MacrosTest
29 public:
30 css::uno::Reference< css::lang::XComponent > loadFromDesktop(const OUString& rURL, const OUString& rDocService = OUString(),
31 const css::uno::Sequence<css::beans::PropertyValue>& rExtra_args = css::uno::Sequence<css::beans::PropertyValue>() );
33 protected:
34 css::uno::Reference< css::frame::XDesktop2> mxDesktop;
39 #endif
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */