AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 #ifndef INCLUDED_CPPUHELPER_BOOTSTRAP_HXX
4 #define INCLUDED_CPPUHELPER_BOOTSTRAP_HXX
5 
6 #include "sal/config.h"
8 #include "rtl/ustring.hxx"
9 #include "sal/types.h"
11 
12 namespace com { namespace sun { namespace star {
13  namespace container { class XHierarchicalNameAccess; }
14  namespace uno { class XComponentContext; }
15 } } }
16 
17 namespace cppu
18 {
19 
26  css::uno::Reference< css::container::XHierarchicalNameAccess > const & xTDMgr );
27 
41 CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > SAL_CALL
43 
44 
59 CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > SAL_CALL
60 defaultBootstrap_InitialComponentContext(const ::rtl::OUString & iniFile);
61 
68 {
69 public:
74 
81  BootstrapException( const ::rtl::OUString & rMessage );
82 
87 
91  virtual ~BootstrapException();
92 
96  BootstrapException & operator=( const BootstrapException & e );
97 
104  const ::rtl::OUString & getMessage() const;
105 
106 private:
107  ::rtl::OUString m_aMessage;
108 };
109 
120 CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext >
121 SAL_CALL bootstrap();
122 
124 
141 CPPUHELPER_DLLPUBLIC ::rtl::OUString
142 SAL_CALL bootstrap_expandUri(::rtl::OUString const & uri);
144 
145 } // end namespace cppu
146 
147 #endif
148 
149 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unsigned char sal_Bool
Definition: types.h:18
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:182
CPPUHELPER_DLLPUBLIC sal_Bool installTypeDescriptionManager(css::uno::Reference< css::container::XHierarchicalNameAccess > const &xTDMgr)
Installs type description manager instance, i.e.
An exception indicating a bootstrap error.
Definition: bootstrap.hxx:67
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:12
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > bootstrap()
Bootstraps the component context from a UNO installation.
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > defaultBootstrap_InitialComponentContext()
Bootstraps an initial component context with service manager upon information from bootstrap variable...