Debian Codegraph @

ucb/source/ucp/ext/ucpext_resultset.hxx

raw
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 #pragma once
21
22 #include "ucpext_content.hxx"
23
24 #include <rtl/ref.hxx>
25 #include <ucbhelper/resultsethelper.hxx>
26 #include <com/sun/star/ucb/XCommandEnvironment.hpp>
27
28
29 namespace ucb::ucp::ext
30 {
31
32
33 //= ResultSet
34
35 class ResultSet : public ::ucbhelper::ResultSetImplHelper
36 {
37 public:
38 ResultSet(
39 const css::uno::Reference< css::uno::XComponentContext >& rxContext,
40 rtl::Reference< Content > i_xContent,
41 const css::ucb::OpenCommandArgument2& i_rCommand,
42 const css::uno::Reference< css::ucb::XCommandEnvironment >& i_rEnv
43 );
44
45 private:
46 css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnvironment;
47 ::rtl::Reference< Content > m_xContent;
48
49 private:
50 virtual void initStatic() override;
51 virtual void initDynamic() override;
52 };
53
54
55 } // namespace ucp::ext
56
57
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */