LibreOffice Module ucbhelper (master) 1
registerucb.hxx
Go to the documentation of this file.
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#ifndef INCLUDED_UCBHELPER_REGISTERUCB_HXX
21#define INCLUDED_UCBHELPER_REGISTERUCB_HXX
22
23#include <rtl/ustring.hxx>
24#include <vector>
25
27
28namespace com::sun::star::uno { template <class interface_type> class Reference; }
29namespace com::sun::star {
30 namespace uno { class XComponentContext; }
31 namespace ucb { class XContentProviderManager; }
32}
33
34
35namespace ucbhelper {
36
37
42{
49 OUString ServiceName;
50
53 OUString URLTemplate;
54
57 OUString Arguments;
58};
59
60typedef std::vector< ContentProviderData > ContentProviderDataList;
61
87 css::uno::Reference< css::ucb::XContentProviderManager > const & rManager,
88 css::uno::Reference< css::uno::XComponentContext > const & rxContext,
89 OUString const & rName,
90 OUString const & rArguments,
91 OUString const & rTemplate);
92
93}
94#endif // INCLUDED_UCBHELPER_REGISTERUCB_HXX
95
96/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Reference
bool registerAtUcb(uno::Reference< ucb::XContentProviderManager > const &rManager, uno::Reference< uno::XComponentContext > const &rxContext, OUString const &rName, OUString const &rArguments, OUString const &rTemplate)
Definition: registerucb.cxx:37
std::vector< ContentProviderData > ContentProviderDataList
Definition: registerucb.hxx:60
Information about a content provider, passed to <method>configureUcb</method>.
Definition: registerucb.hxx:42
OUString ServiceName
The UNO service name to use to instantiate the content provider.
Definition: registerucb.hxx:49
OUString URLTemplate
The URL template to use to instantiate the content provider.
Definition: registerucb.hxx:53
OUString Arguments
The arguments to use to instantiate the content provider.
Definition: registerucb.hxx:57
#define UCBHELPER_DLLPUBLIC