LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/embed - XEmbeddedObject.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-12-27 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_EMBED_XEMBEDDEDOBJECT_HDL
       2             : #define INCLUDED_COM_SUN_STAR_EMBED_XEMBEDDEDOBJECT_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : namespace com { namespace sun { namespace star { namespace embed { class XEmbeddedClient; } } } }
       7             : #include "com/sun/star/embed/VerbDescriptor.hdl"
       8             : #include "com/sun/star/uno/RuntimeException.hdl"
       9             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      10             : #include "com/sun/star/embed/NeedsRunningStateException.hdl"
      11             : #include "com/sun/star/embed/WrongStateException.hdl"
      12             : #include "com/sun/star/uno/Exception.hdl"
      13             : #include "com/sun/star/util/XCloseable.hdl"
      14             : #include "com/sun/star/embed/XVisualObject.hdl"
      15             : #include "com/sun/star/embed/UnreachableStateException.hdl"
      16             : #include "com/sun/star/document/XEventBroadcaster.hdl"
      17             : #include "com/sun/star/embed/XStateChangeBroadcaster.hdl"
      18             : #include "com/sun/star/embed/XClassifiedObject.hdl"
      19             : #include "com/sun/star/embed/XComponentSupplier.hdl"
      20             : #include "com/sun/star/uno/Reference.h"
      21             : #include "com/sun/star/uno/Sequence.h"
      22             : #include "cppu/macros.hxx"
      23             : #include "rtl/ustring.hxx"
      24             : #include "sal/types.h"
      25             : 
      26             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      27             : 
      28             : namespace com { namespace sun { namespace star { namespace embed {
      29             : 
      30         196 : class SAL_NO_VTABLE XEmbeddedObject : public css::embed::XVisualObject, public css::embed::XClassifiedObject, public css::embed::XComponentSupplier, public css::embed::XStateChangeBroadcaster, public css::document::XEventBroadcaster, public css::util::XCloseable
      31             : {
      32             : public:
      33             : 
      34             :     // Methods
      35             :     virtual void SAL_CALL changeState( ::sal_Int32 nNewState ) = 0;
      36             :     virtual ::com::sun::star::uno::Sequence< ::sal_Int32 > SAL_CALL getReachableStates() = 0;
      37             :     virtual ::sal_Int32 SAL_CALL getCurrentState() = 0;
      38             :     virtual void SAL_CALL doVerb( ::sal_Int32 nVerbID ) = 0;
      39             :     virtual ::com::sun::star::uno::Sequence< css::embed::VerbDescriptor > SAL_CALL getSupportedVerbs() = 0;
      40             :     virtual void SAL_CALL setClientSite( const ::com::sun::star::uno::Reference< css::embed::XEmbeddedClient >& xClient ) = 0;
      41             :     virtual ::com::sun::star::uno::Reference< css::embed::XEmbeddedClient > SAL_CALL getClientSite() = 0;
      42             :     virtual void SAL_CALL update() = 0;
      43             :     virtual void SAL_CALL setUpdateMode( ::sal_Int32 nMode ) = 0;
      44             :     virtual ::sal_Int64 SAL_CALL getStatus( ::sal_Int64 nAspect ) = 0;
      45             :     virtual void SAL_CALL setContainerName( const ::rtl::OUString& sName ) = 0;
      46             : 
      47             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      48             : 
      49             : protected:
      50         123 :     ~XEmbeddedObject() throw () {} // avoid warnings about virtual members and non-virtual dtor
      51             : };
      52             : 
      53             : 
      54             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::embed::XEmbeddedObject const *);
      55             : } } } }
      56             : 
      57             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::embed::XEmbeddedObject > *) SAL_THROW(());
      58             : 
      59             : #endif

Generated by: LCOV version 1.10