1 | #ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_XLINGUSERVICEEVENTLISTENER_HDL |
---|---|
2 | #define INCLUDED_COM_SUN_STAR_LINGUISTIC2_XLINGUSERVICEEVENTLISTENER_HDL |
3 | |
4 | #include "sal/config.h" |
5 | |
6 | #include <exception> |
7 | |
8 | #include "com/sun/star/lang/XEventListener.hdl" |
9 | #include "com/sun/star/linguistic2/LinguServiceEvent.hdl" |
10 | #include "com/sun/star/uno/RuntimeException.hdl" |
11 | #include "com/sun/star/uno/Reference.h" |
12 | #include "cppu/macros.hxx" |
13 | |
14 | namespace com { namespace sun { namespace star { namespace uno { class Type; } } } } |
15 | |
16 | namespace com { namespace sun { namespace star { namespace linguistic2 { |
17 | |
18 | class SAL_NO_VTABLE XLinguServiceEventListener : public ::css::lang::XEventListener |
19 | { |
20 | public: |
21 | |
22 | // Methods |
23 | virtual void SAL_CALL processLinguServiceEvent( const ::css::linguistic2::LinguServiceEvent& aLngSvcEvent ) /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0; |
24 | |
25 | static inline ::css::uno::Type const & SAL_CALL static_type(void * = 0); |
26 | |
27 | protected: |
28 | ~XLinguServiceEventListener() throw () {} // avoid warnings about virtual members and non-virtual dtor |
29 | }; |
30 | |
31 | |
32 | inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::css::linguistic2::XLinguServiceEventListener const *); |
33 | } } } } |
34 | |
35 | inline ::css::uno::Type const & SAL_CALL getCppuType(const ::css::uno::Reference< ::css::linguistic2::XLinguServiceEventListener > *) SAL_THROW(()); |
36 | |
37 | #endif |
38 |