LCOV - code coverage report
Current view: top level - datatransfer/dnd - DropTargetDragEvent.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_DROPTARGETDRAGEVENT_HPP
       2             : #define INCLUDED_COM_SUN_STAR_DATATRANSFER_DND_DROPTARGETDRAGEVENT_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/datatransfer/dnd/DropTargetDragEvent.hdl"
       7             : 
       8             : #include "com/sun/star/datatransfer/dnd/DropTargetEvent.hpp"
       9             : #include "com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp"
      10             : #include "com/sun/star/uno/Reference.hxx"
      11             : #include "com/sun/star/uno/Type.hxx"
      12             : #include "cppu/unotype.hxx"
      13             : #include "sal/types.h"
      14             : #include "typelib/typeclass.h"
      15             : #include "typelib/typedescription.h"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace datatransfer { namespace dnd {
      18             : 
      19           0 : inline DropTargetDragEvent::DropTargetDragEvent() SAL_THROW(())
      20             :     : css::datatransfer::dnd::DropTargetEvent()
      21             :     , Context()
      22             :     , DropAction(0)
      23             :     , LocationX(0)
      24             :     , LocationY(0)
      25           0 :     , SourceActions(0)
      26             : {
      27           0 : }
      28             : 
      29           0 : inline DropTargetDragEvent::DropTargetDragEvent(const ::com::sun::star::uno::Reference< css::uno::XInterface >& Source_, const ::sal_Int8& Dummy_, const ::com::sun::star::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext >& Context_, const ::sal_Int8& DropAction_, const ::sal_Int32& LocationX_, const ::sal_Int32& LocationY_, const ::sal_Int8& SourceActions_) SAL_THROW(())
      30             :     : css::datatransfer::dnd::DropTargetEvent(Source_, Dummy_)
      31             :     , Context(Context_)
      32             :     , DropAction(DropAction_)
      33             :     , LocationX(LocationX_)
      34             :     , LocationY(LocationY_)
      35           0 :     , SourceActions(SourceActions_)
      36             : {
      37           0 : }
      38             : 
      39             : } } } } }
      40             : 
      41             : namespace com { namespace sun { namespace star { namespace datatransfer { namespace dnd {
      42             : 
      43             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::datatransfer::dnd::DropTargetDragEvent const *) {
      44             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      45             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      46             :     if (the_type == 0) {
      47             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.datatransfer.dnd.DropTargetDragEvent");
      48             :     }
      49             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      50             : }
      51             : 
      52             : } } } } }
      53             : 
      54             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::datatransfer::dnd::DropTargetDragEvent const *) SAL_THROW(()) {
      55             :     return ::cppu::UnoType< css::datatransfer::dnd::DropTargetDragEvent >::get();
      56             : }
      57             : 
      58             : #endif // INCLUDED_COM_SUN_STAR_DATATRANSFER_DND_DROPTARGETDRAGEVENT_HPP

Generated by: LCOV version 1.10