Stop leaking all ScPostIt instances.
[LibreOffice.git] / ucb / source / ucp / cmis / cmis_resultset.hxx
blobd78c4454d34fa3d5901063c4a2b235d9adabbae8
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 CMIS_RESULTSET_HXX
11 #define CMIS_RESULTSET_HXX
13 #include <ucbhelper/resultsethelper.hxx>
15 #include "children_provider.hxx"
17 namespace cmis
20 class DynamicResultSet : public ::ucbhelper::ResultSetImplHelper
22 ChildrenProvider* m_pChildrenProvider;
23 com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > m_xEnv;
25 private:
26 virtual void initStatic();
27 virtual void initDynamic();
29 public:
31 DynamicResultSet(
32 const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext,
33 ChildrenProvider* pChildrenProvider,
34 const com::sun::star::ucb::OpenCommandArgument2& rCommand,
35 const com::sun::star::uno::Reference<
36 com::sun::star::ucb::XCommandEnvironment >& rxEnv );
41 #endif
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */