update credits
[LibreOffice.git] / include / unotest / macros_test.hxx
blobf771a6f3363427b1b9e58da617ee61a3dbcf4317
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 com::sun::star::uno::Reference< com::sun::star::lang::XComponent > loadFromDesktop(const OUString& rURL, const char* pDocService = NULL);
32 protected:
33 com::sun::star::uno::Reference< com::sun::star::frame::XDesktop2> mxDesktop;
38 #endif
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */