LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/UnoApiHeadersTarget/udkapi/comprehensive/com/sun/star/io - FilePermission.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 15 0.0 %
Date: 2012-08-25 Functions: 0 3 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 8 0.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_IO_FILEPERMISSION_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_IO_FILEPERMISSION_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/io/FilePermission.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/uno/Type.hxx"
       9                 :            : #include "cppu/unotype.hxx"
      10                 :            : #include "osl/mutex.hxx"
      11                 :            : #include "rtl/ustring.h"
      12                 :            : #include "rtl/ustring.hxx"
      13                 :            : #include "rtl/instance.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 io {
      19                 :            : 
      20                 :            : inline FilePermission::FilePermission() SAL_THROW(())
      21                 :            :     : URL()
      22                 :            :     , Actions()
      23                 :            : {
      24                 :            : }
      25                 :            : 
      26                 :            : inline FilePermission::FilePermission(const ::rtl::OUString& URL_, const ::rtl::OUString& Actions_) SAL_THROW(())
      27                 :            :     : URL(URL_)
      28                 :            :     , Actions(Actions_)
      29                 :            : {
      30                 :            : }
      31                 :            : 
      32                 :            : } } } }
      33                 :            : 
      34                 :            : namespace com { namespace sun { namespace star { namespace io { namespace detail {
      35                 :            : 
      36                 :            : struct theFilePermissionType : public rtl::StaticWithInit< ::com::sun::star::uno::Type *, theFilePermissionType >
      37                 :            : {
      38                 :          0 :     ::com::sun::star::uno::Type * operator()() const
      39                 :            :     {
      40         [ #  # ]:          0 :         ::rtl::OUString the_name(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.FilePermission"));
      41         [ #  # ]:          0 :         ::rtl::OUString the_tname0(RTL_CONSTASCII_USTRINGPARAM("string"));
      42         [ #  # ]:          0 :         ::rtl::OUString the_name0(RTL_CONSTASCII_USTRINGPARAM("URL"));
      43         [ #  # ]:          0 :         ::rtl::OUString the_name1(RTL_CONSTASCII_USTRINGPARAM("Actions"));
      44                 :            :         ::typelib_StructMember_Init the_members[] = {
      45                 :            :             { { typelib_TypeClass_STRING, the_tname0.pData, the_name0.pData }, false },
      46                 :          0 :             { { typelib_TypeClass_STRING, the_tname0.pData, the_name1.pData }, false } };
      47                 :          0 :         ::typelib_TypeDescription * the_newType = 0;
      48                 :          0 :         ::typelib_typedescription_newStruct(&the_newType, the_name.pData, 0, 2, the_members);
      49                 :          0 :         ::typelib_typedescription_register(&the_newType);
      50                 :          0 :         ::typelib_typedescription_release(the_newType);
      51                 :          0 :         return new ::com::sun::star::uno::Type(::com::sun::star::uno::TypeClass_STRUCT, the_name); // leaked
      52                 :            :     }
      53                 :            : };
      54                 :            : } } } } }
      55                 :            : 
      56                 :            : namespace com { namespace sun { namespace star { namespace io {
      57                 :            : 
      58                 :          0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::io::FilePermission const *) {
      59                 :          0 :     return *detail::theFilePermissionType::get();
      60                 :            : }
      61                 :            : 
      62                 :            : } } } }
      63                 :            : 
      64                 :          0 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::io::FilePermission const *) SAL_THROW(()) {
      65                 :          0 :     return ::cppu::UnoType< ::com::sun::star::io::FilePermission >::get();
      66                 :            : }
      67                 :            : 
      68                 :            : #endif // INCLUDED_COM_SUN_STAR_IO_FILEPERMISSION_HPP

Generated by: LCOV version 1.10