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

Generated by: LCOV version 1.10