LibreOffice
LibreOffice 25.8 SDK C/C++ API Reference
Loading...
Searching...
No Matches
bootstrap.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/*
21 * This file is part of LibreOffice published API.
22 */
23#ifndef INCLUDED_CPPUHELPER_BOOTSTRAP_HXX
24#define INCLUDED_CPPUHELPER_BOOTSTRAP_HXX
25
26#include "sal/config.h"
28#include "rtl/ustring.hxx"
29#include "sal/types.h"
31
32namespace com { namespace sun { namespace star {
33 namespace container { class XHierarchicalNameAccess; }
34 namespace uno { class XComponentContext; }
35} } }
36
37namespace cppu
38{
39
47
63
64
80defaultBootstrap_InitialComponentContext(const ::rtl::OUString & iniFile);
81
88{
89public:
94
101 BootstrapException( const ::rtl::OUString & rMessage );
102
107
112
117
124 const ::rtl::OUString & getMessage() const;
125
126private:
127 ::rtl::OUString m_aMessage;
128};
129
141SAL_CALL bootstrap();
142
144
161CPPUHELPER_DLLPUBLIC ::rtl::OUString
162SAL_CALL bootstrap_expandUri(::rtl::OUString const & uri);
164
165} // end namespace cppu
166
167#endif
168
169/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unsigned char sal_Bool
Definition types.h:38
#define CPPUHELPER_DLLPUBLIC
Definition cppuhelperdllapi.h:32
Definition types.h:377
Definition types.h:377
Definition types.h:377
Definition typedescription.hxx:43
Definition Enterable.hxx:31
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > defaultBootstrap_InitialComponentContext()
Bootstraps an initial component context with service manager upon information from bootstrap variable...
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > bootstrap()
Bootstraps the component context from a UNO installation.
CPPUHELPER_DLLPUBLIC sal_Bool installTypeDescriptionManager(css::uno::Reference< css::container::XHierarchicalNameAccess > const &xTDMgr)
Installs type description manager instance, i.e.
Definition bootstrap.hxx:33
This String class provides base functionality for C++ like Unicode character array handling.
Definition ustring.hxx:172
Template reference class for interface type derived from BaseReference.
Definition Reference.h:184
BootstrapException & operator=(const BootstrapException &e)
Assigns a BootstrapException.
const ::rtl::OUString & getMessage() const
Gets the message.
BootstrapException()
Constructs a BootstrapException.
BootstrapException(const ::rtl::OUString &rMessage)
Constructs a BootstrapException with the specified detail message.
virtual ~BootstrapException()
Destructs a BootstrapException.
BootstrapException(const BootstrapException &e)
Copy constructs a BootstrapException.