LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/UnoApiHeadersTarget/udkapi/comprehensive/com/sun/star/lang - EventObject.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 21 21 100.0 %
Date: 2012-08-25 Functions: 5 5 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4 8 50.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_LANG_EVENTOBJECT_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_LANG_EVENTOBJECT_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/lang/EventObject.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/uno/XInterface.hpp"
       9                 :            : #include "com/sun/star/uno/Reference.hxx"
      10                 :            : #include "com/sun/star/uno/Type.hxx"
      11                 :            : #include "cppu/unotype.hxx"
      12                 :            : #include "osl/mutex.hxx"
      13                 :            : #include "rtl/ustring.h"
      14                 :            : #include "rtl/ustring.hxx"
      15                 :            : #include "rtl/instance.hxx"
      16                 :            : #include "sal/types.h"
      17                 :            : #include "typelib/typeclass.h"
      18                 :            : #include "typelib/typedescription.h"
      19                 :            : 
      20                 :            : namespace com { namespace sun { namespace star { namespace lang {
      21                 :            : 
      22                 :      45506 : inline EventObject::EventObject() SAL_THROW(())
      23                 :      45506 :     : Source()
      24                 :            : {
      25                 :      45506 : }
      26                 :            : 
      27                 :     854241 : inline EventObject::EventObject(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Source_) SAL_THROW(())
      28                 :     854241 :     : Source(Source_)
      29                 :            : {
      30                 :     854241 : }
      31                 :            : 
      32                 :            : } } } }
      33                 :            : 
      34                 :            : namespace com { namespace sun { namespace star { namespace lang { namespace detail {
      35                 :            : 
      36                 :            : struct theEventObjectType : public rtl::StaticWithInit< ::com::sun::star::uno::Type *, theEventObjectType >
      37                 :            : {
      38                 :        793 :     ::com::sun::star::uno::Type * operator()() const
      39                 :            :     {
      40         [ +  - ]:        793 :         ::rtl::OUString the_name(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.EventObject"));
      41         [ +  - ]:        793 :         ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > >::get();
      42         [ +  - ]:        793 :         ::rtl::OUString the_tname0(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.XInterface"));
      43         [ +  - ]:        793 :         ::rtl::OUString the_name0(RTL_CONSTASCII_USTRINGPARAM("Source"));
      44                 :            :         ::typelib_StructMember_Init the_members[] = {
      45                 :        793 :             { { typelib_TypeClass_INTERFACE, the_tname0.pData, the_name0.pData }, false } };
      46                 :        793 :         ::typelib_TypeDescription * the_newType = 0;
      47                 :        793 :         ::typelib_typedescription_newStruct(&the_newType, the_name.pData, 0, 1, the_members);
      48                 :        793 :         ::typelib_typedescription_register(&the_newType);
      49                 :        793 :         ::typelib_typedescription_release(the_newType);
      50                 :        793 :         return new ::com::sun::star::uno::Type(::com::sun::star::uno::TypeClass_STRUCT, the_name); // leaked
      51                 :            :     }
      52                 :            : };
      53                 :            : } } } } }
      54                 :            : 
      55                 :            : namespace com { namespace sun { namespace star { namespace lang {
      56                 :            : 
      57                 :       1659 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::lang::EventObject const *) {
      58                 :       1659 :     return *detail::theEventObjectType::get();
      59                 :            : }
      60                 :            : 
      61                 :            : } } } }
      62                 :            : 
      63                 :         10 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::lang::EventObject const *) SAL_THROW(()) {
      64                 :         10 :     return ::cppu::UnoType< ::com::sun::star::lang::EventObject >::get();
      65                 :            : }
      66                 :            : 
      67                 :            : #endif // INCLUDED_COM_SUN_STAR_LANG_EVENTOBJECT_HPP

Generated by: LCOV version 1.10