LCOV - code coverage report
Current view: top level - frame - XStatusbarController.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_FRAME_XSTATUSBARCONTROLLER_HDL
       2             : #define INCLUDED_COM_SUN_STAR_FRAME_XSTATUSBARCONTROLLER_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/awt/MouseEvent.hdl"
       7             : #include "com/sun/star/awt/Point.hdl"
       8             : #include "com/sun/star/awt/Rectangle.hdl"
       9             : namespace com { namespace sun { namespace star { namespace awt { class XGraphics; } } } }
      10             : #include "com/sun/star/frame/XStatusListener.hdl"
      11             : #include "com/sun/star/lang/XComponent.hdl"
      12             : #include "com/sun/star/lang/XInitialization.hdl"
      13             : #include "com/sun/star/uno/RuntimeException.hdl"
      14             : #include "com/sun/star/util/XUpdatable.hdl"
      15             : #include "com/sun/star/uno/Any.h"
      16             : #include "com/sun/star/uno/Reference.h"
      17             : #include "cppu/macros.hxx"
      18             : #include "sal/types.h"
      19             : 
      20             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      21             : 
      22             : namespace com { namespace sun { namespace star { namespace frame {
      23             : 
      24        6638 : class SAL_NO_VTABLE XStatusbarController : public css::lang::XComponent, public css::lang::XInitialization, public css::frame::XStatusListener, public css::util::XUpdatable
      25             : {
      26             : public:
      27             : 
      28             :     // Methods
      29             :     virtual ::sal_Bool SAL_CALL mouseButtonDown( const css::awt::MouseEvent& aMouseEvent ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual ::sal_Bool SAL_CALL mouseMove( const css::awt::MouseEvent& aMouseEvent ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual ::sal_Bool SAL_CALL mouseButtonUp( const css::awt::MouseEvent& aMouseEvent ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual void SAL_CALL command( const css::awt::Point& aPos, ::sal_Int32 nCommand, ::sal_Bool bMouseEvent, const ::com::sun::star::uno::Any& aData ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual void SAL_CALL paint( const ::com::sun::star::uno::Reference< css::awt::XGraphics >& xGraphics, const css::awt::Rectangle& OutputRectangle, ::sal_Int32 nStyle ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual void SAL_CALL click( const css::awt::Point& aPos ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual void SAL_CALL doubleClick( const css::awt::Point& aPos ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             : 
      37             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      38             : 
      39             : protected:
      40        6638 :     ~XStatusbarController() throw () {} // avoid warnings about virtual members and non-virtual dtor
      41             : };
      42             : 
      43             : 
      44             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::frame::XStatusbarController const *);
      45             : } } } }
      46             : 
      47             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::frame::XStatusbarController > *) SAL_THROW(());
      48             : 
      49             : #endif

Generated by: LCOV version 1.10