cid#1607171 Data race condition
[LibreOffice.git] / include / test / util / xrefreshable.hxx
blobdd82303259efe6b6fac3653f0ca5dda217a9ed50
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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_TEST_UTIL_XREFRESHABLE_HXX
11 #define INCLUDED_TEST_UTIL_XREFRESHABLE_HXX
13 #include <com/sun/star/uno/XInterface.hpp>
15 #include <com/sun/star/uno/Reference.hxx>
17 #include <test/testdllapi.hxx>
19 namespace apitest
21 class OOO_DLLPUBLIC_TEST XRefreshable
23 public:
24 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
26 void testRefreshListener();
28 protected:
29 ~XRefreshable() {}
32 } // namespace apitest
34 #endif // INCLUDED_TEST_UTIL_XREFRESHABLE_HXX
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */