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

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_MEDIA_XPLAYER_HDL
       2             : #define INCLUDED_COM_SUN_STAR_MEDIA_XPLAYER_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/awt/Size.hdl"
       7             : namespace com { namespace sun { namespace star { namespace media { class XFrameGrabber; } } } }
       8             : namespace com { namespace sun { namespace star { namespace media { class XPlayerWindow; } } } }
       9             : #include "com/sun/star/uno/RuntimeException.hdl"
      10             : #include "com/sun/star/uno/XInterface.hdl"
      11             : #include "com/sun/star/uno/Any.h"
      12             : #include "com/sun/star/uno/Reference.h"
      13             : #include "com/sun/star/uno/Sequence.h"
      14             : #include "cppu/macros.hxx"
      15             : #include "sal/types.h"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace media {
      20             : 
      21           0 : class SAL_NO_VTABLE XPlayer : public css::uno::XInterface
      22             : {
      23             : public:
      24             : 
      25             :     // Methods
      26             :     virtual void SAL_CALL start() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      27             :     virtual void SAL_CALL stop() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      28             :     virtual ::sal_Bool SAL_CALL isPlaying() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      29             :     virtual double SAL_CALL getDuration() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual void SAL_CALL setMediaTime( double fTime ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual double SAL_CALL getMediaTime() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual double SAL_CALL getRate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual void SAL_CALL setPlaybackLoop( ::sal_Bool bSet ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::sal_Bool SAL_CALL isPlaybackLoop() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual void SAL_CALL setVolumeDB( ::sal_Int16 nDB ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual ::sal_Int16 SAL_CALL getVolumeDB() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual void SAL_CALL setMute( ::sal_Bool bSet ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual ::sal_Bool SAL_CALL isMute() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual css::awt::Size SAL_CALL getPreferredPlayerWindowSize() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::com::sun::star::uno::Reference< css::media::XPlayerWindow > SAL_CALL createPlayerWindow( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::com::sun::star::uno::Reference< css::media::XFrameGrabber > SAL_CALL createFrameGrabber() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      42             : 
      43             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      44             : 
      45             : protected:
      46           0 :     ~XPlayer() throw () {} // avoid warnings about virtual members and non-virtual dtor
      47             : };
      48             : 
      49             : 
      50             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::media::XPlayer const *);
      51             : } } } }
      52             : 
      53             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::media::XPlayer > *) SAL_THROW(());
      54             : 
      55             : #endif

Generated by: LCOV version 1.10