Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / ucb / source / ucp / ext / ucpext_resultset.hxx
blob3b097355326c6953bd1d130341971ce3a5a95310
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef UCB_UCPEXT_RESULT_SET_HXX
21 #define UCB_UCPEXT_RESULT_SET_HXX
23 #include <rtl/ref.hxx>
24 #include <ucbhelper/resultsethelper.hxx>
26 //......................................................................................................................
27 namespace ucb { namespace ucp { namespace ext
29 //......................................................................................................................
31 class Content;
33 //==================================================================================================================
34 //= ResultSet
35 //==================================================================================================================
36 class ResultSet : public ::ucbhelper::ResultSetImplHelper
38 public:
39 ResultSet(
40 const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext,
41 const rtl::Reference< Content >& i_rContent,
42 const com::sun::star::ucb::OpenCommandArgument2& i_rCommand,
43 const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& i_rEnv
46 private:
47 ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment > m_xEnvironment;
48 ::rtl::Reference< Content > m_xContent;
50 private:
51 virtual void initStatic();
52 virtual void initDynamic();
55 //......................................................................................................................
56 } } } // namespace ucp::ext
57 //......................................................................................................................
59 #endif // UCB_UCPEXT_RESULT_SET_HXX
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */