LCOV - code coverage report
Current view: top level - libreoffice/workdir/unxlngi6.pro/UnoApiHeadersTarget/udkapi/bootstrap/com/sun/star/io - FilePermission.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 18 0.0 %
Date: 2012-12-27 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          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           0 : inline FilePermission::FilePermission(const ::rtl::OUString& URL_, const ::rtl::OUString& Actions_) SAL_THROW(())
      27             :     : URL(URL_)
      28           0 :     , Actions(Actions_)
      29             : {
      30           0 : }
      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( "com.sun.star.io.FilePermission" );
      41           0 :         ::rtl::OUString the_tname0( "string" );
      42           0 :         ::rtl::OUString the_name0( "URL" );
      43           0 :         ::rtl::OUString the_name1( "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 css::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 css::io::FilePermission const *) SAL_THROW(()) {
      65           0 :     return ::cppu::UnoType< css::io::FilePermission >::get();
      66             : }
      67             : 
      68             : #endif // INCLUDED_COM_SUN_STAR_IO_FILEPERMISSION_HPP

Generated by: LCOV version 1.10