Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_EMBED_XEMBEDDEDOBJECT_HPP
2 : #define INCLUDED_COM_SUN_STAR_EMBED_XEMBEDDEDOBJECT_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/embed/XEmbeddedObject.hdl"
7 :
8 : #include "com/sun/star/document/XEventBroadcaster.hpp"
9 : #include "com/sun/star/embed/NeedsRunningStateException.hpp"
10 : #include "com/sun/star/embed/UnreachableStateException.hpp"
11 : #include "com/sun/star/embed/VerbDescriptor.hpp"
12 : #include "com/sun/star/embed/WrongStateException.hpp"
13 : #include "com/sun/star/embed/XClassifiedObject.hpp"
14 : #include "com/sun/star/embed/XComponentSupplier.hpp"
15 : #include "com/sun/star/embed/XEmbeddedClient.hpp"
16 : #include "com/sun/star/embed/XStateChangeBroadcaster.hpp"
17 : #include "com/sun/star/embed/XVisualObject.hpp"
18 : #include "com/sun/star/lang/IllegalArgumentException.hpp"
19 : #include "com/sun/star/uno/Exception.hpp"
20 : #include "com/sun/star/uno/RuntimeException.hpp"
21 : #include "com/sun/star/util/XCloseable.hpp"
22 : #include "com/sun/star/uno/Reference.hxx"
23 : #include "com/sun/star/uno/Sequence.hxx"
24 : #include "com/sun/star/uno/Type.hxx"
25 : #include "cppu/unotype.hxx"
26 : #include "osl/mutex.hxx"
27 : #include "rtl/ustring.hxx"
28 : #include "rtl/instance.hxx"
29 : #include "sal/types.h"
30 :
31 : namespace com { namespace sun { namespace star { namespace embed {
32 :
33 7267 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::embed::XEmbeddedObject const *) {
34 : static typelib_TypeDescriptionReference * the_type = 0;
35 7267 : if ( !the_type )
36 : {
37 50 : typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.embed.XEmbeddedObject" );
38 : }
39 7267 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
40 : }
41 :
42 : } } } }
43 :
44 6673 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< css::embed::XEmbeddedObject > const *) SAL_THROW(()) {
45 6673 : return ::cppu::UnoType< ::com::sun::star::uno::Reference< css::embed::XEmbeddedObject > >::get();
46 : }
47 :
48 250 : ::com::sun::star::uno::Type const & css::embed::XEmbeddedObject::static_type(SAL_UNUSED_PARAMETER void *) {
49 250 : return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< css::embed::XEmbeddedObject > * >(0));
50 : }
51 :
52 : #endif // INCLUDED_COM_SUN_STAR_EMBED_XEMBEDDEDOBJECT_HPP
|