Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_DOCUMENT_XUNDOMANAGER_HPP
2 : #define INCLUDED_COM_SUN_STAR_DOCUMENT_XUNDOMANAGER_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/document/XUndoManager.hdl"
7 :
8 : #include "com/sun/star/container/XChild.hpp"
9 : #include "com/sun/star/document/EmptyUndoStackException.hpp"
10 : #include "com/sun/star/document/UndoContextNotClosedException.hpp"
11 : #include "com/sun/star/document/UndoFailedException.hpp"
12 : #include "com/sun/star/document/XUndoAction.hpp"
13 : #include "com/sun/star/document/XUndoManagerListener.hpp"
14 : #include "com/sun/star/lang/IllegalArgumentException.hpp"
15 : #include "com/sun/star/uno/RuntimeException.hpp"
16 : #include "com/sun/star/util/InvalidStateException.hpp"
17 : #include "com/sun/star/util/XLockable.hpp"
18 : #include "com/sun/star/uno/Reference.hxx"
19 : #include "com/sun/star/uno/Sequence.hxx"
20 : #include "com/sun/star/uno/Type.hxx"
21 : #include "cppu/unotype.hxx"
22 : #include "osl/mutex.hxx"
23 : #include "rtl/ustring.hxx"
24 : #include "rtl/instance.hxx"
25 : #include "sal/types.h"
26 :
27 : namespace com { namespace sun { namespace star { namespace document {
28 :
29 116 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::document::XUndoManager const *) {
30 : static typelib_TypeDescriptionReference * the_type = 0;
31 116 : if ( !the_type )
32 : {
33 12 : typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.document.XUndoManager" );
34 : }
35 116 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
36 : }
37 :
38 : } } } }
39 :
40 116 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< css::document::XUndoManager > const *) SAL_THROW(()) {
41 116 : return ::cppu::UnoType< ::com::sun::star::uno::Reference< css::document::XUndoManager > >::get();
42 : }
43 :
44 116 : ::com::sun::star::uno::Type const & css::document::XUndoManager::static_type(SAL_UNUSED_PARAMETER void *) {
45 116 : return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< css::document::XUndoManager > * >(0));
46 : }
47 :
48 : #endif // INCLUDED_COM_SUN_STAR_DOCUMENT_XUNDOMANAGER_HPP
|