LCOV - code coverage report
Current view: top level - datatransfer/dnd - DragGestureEvent.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 6 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_DATATRANSFER_DND_DRAGGESTUREEVENT_HPP
       2             : #define INCLUDED_COM_SUN_STAR_DATATRANSFER_DND_DRAGGESTUREEVENT_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/datatransfer/dnd/DragGestureEvent.hdl"
       7             : 
       8             : #include "com/sun/star/datatransfer/dnd/XDragSource.hpp"
       9             : #include "com/sun/star/lang/EventObject.hpp"
      10             : #include "com/sun/star/uno/Any.hxx"
      11             : #include "com/sun/star/uno/Reference.hxx"
      12             : #include "com/sun/star/uno/Type.hxx"
      13             : #include "cppu/unotype.hxx"
      14             : #include "sal/types.h"
      15             : #include "typelib/typeclass.h"
      16             : #include "typelib/typedescription.h"
      17             : 
      18             : namespace com { namespace sun { namespace star { namespace datatransfer { namespace dnd {
      19             : 
      20           0 : inline DragGestureEvent::DragGestureEvent() SAL_THROW(())
      21             :     : css::lang::EventObject()
      22             :     , DragAction(0)
      23             :     , DragOriginX(0)
      24             :     , DragOriginY(0)
      25             :     , DragSource()
      26           0 :     , Event()
      27             : {
      28           0 : }
      29             : 
      30           0 : inline DragGestureEvent::DragGestureEvent(const ::com::sun::star::uno::Reference< css::uno::XInterface >& Source_, const ::sal_Int8& DragAction_, const ::sal_Int32& DragOriginX_, const ::sal_Int32& DragOriginY_, const ::com::sun::star::uno::Reference< css::datatransfer::dnd::XDragSource >& DragSource_, const ::com::sun::star::uno::Any& Event_) SAL_THROW(())
      31             :     : css::lang::EventObject(Source_)
      32             :     , DragAction(DragAction_)
      33             :     , DragOriginX(DragOriginX_)
      34             :     , DragOriginY(DragOriginY_)
      35             :     , DragSource(DragSource_)
      36           0 :     , Event(Event_)
      37             : {
      38           0 : }
      39             : 
      40             : } } } } }
      41             : 
      42             : namespace com { namespace sun { namespace star { namespace datatransfer { namespace dnd {
      43             : 
      44             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::datatransfer::dnd::DragGestureEvent const *) {
      45             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      46             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      47             :     if (the_type == 0) {
      48             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.datatransfer.dnd.DragGestureEvent");
      49             :     }
      50             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      51             : }
      52             : 
      53             : } } } } }
      54             : 
      55             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::datatransfer::dnd::DragGestureEvent const *) SAL_THROW(()) {
      56             :     return ::cppu::UnoType< css::datatransfer::dnd::DragGestureEvent >::get();
      57             : }
      58             : 
      59             : #endif // INCLUDED_COM_SUN_STAR_DATATRANSFER_DND_DRAGGESTUREEVENT_HPP

Generated by: LCOV version 1.10