LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/ucb - RecipientInfo.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 4 0.0 %
Date: 2012-12-17 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_UCB_RECIPIENTINFO_HPP
       2             : #define INCLUDED_COM_SUN_STAR_UCB_RECIPIENTINFO_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/ucb/RecipientInfo.hdl"
       7             : 
       8             : #include "com/sun/star/ucb/OutgoingMessageState.hpp"
       9             : #include "com/sun/star/uno/Type.hxx"
      10             : #include "cppu/unotype.hxx"
      11             : #include "rtl/ustring.hxx"
      12             : #include "sal/types.h"
      13             : #include "typelib/typeclass.h"
      14             : #include "typelib/typedescription.h"
      15             : 
      16             : namespace com { namespace sun { namespace star { namespace ucb {
      17             : 
      18             : inline RecipientInfo::RecipientInfo() SAL_THROW(())
      19             :     : ProtocolType()
      20             :     , State(css::ucb::OutgoingMessageState_WRITTEN)
      21             :     , To()
      22             :     , CC()
      23             :     , BCC()
      24             :     , Newsgroups()
      25             :     , Server()
      26             :     , Username()
      27             :     , Password()
      28             :     , VIMPostOfficePath()
      29             :     , ProtocolErrorString()
      30             :     , ProtocolErrorNumber(0)
      31             :     , SendTries(0)
      32             : {
      33             : }
      34             : 
      35             : inline RecipientInfo::RecipientInfo(const ::rtl::OUString& ProtocolType_, const css::ucb::OutgoingMessageState& State_, const ::rtl::OUString& To_, const ::rtl::OUString& CC_, const ::rtl::OUString& BCC_, const ::rtl::OUString& Newsgroups_, const ::rtl::OUString& Server_, const ::rtl::OUString& Username_, const ::rtl::OUString& Password_, const ::rtl::OUString& VIMPostOfficePath_, const ::rtl::OUString& ProtocolErrorString_, const ::sal_Int32& ProtocolErrorNumber_, const ::sal_Int32& SendTries_) SAL_THROW(())
      36             :     : ProtocolType(ProtocolType_)
      37             :     , State(State_)
      38             :     , To(To_)
      39             :     , CC(CC_)
      40             :     , BCC(BCC_)
      41             :     , Newsgroups(Newsgroups_)
      42             :     , Server(Server_)
      43             :     , Username(Username_)
      44             :     , Password(Password_)
      45             :     , VIMPostOfficePath(VIMPostOfficePath_)
      46             :     , ProtocolErrorString(ProtocolErrorString_)
      47             :     , ProtocolErrorNumber(ProtocolErrorNumber_)
      48             :     , SendTries(SendTries_)
      49             : {
      50             : }
      51             : 
      52             : } } } }
      53             : 
      54             : namespace com { namespace sun { namespace star { namespace ucb {
      55             : 
      56           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::ucb::RecipientInfo const *) {
      57             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      58             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      59           0 :     if (the_type == 0) {
      60           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.ucb.RecipientInfo");
      61             :     }
      62           0 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      63             : }
      64             : 
      65             : } } } }
      66             : 
      67             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::ucb::RecipientInfo const *) SAL_THROW(()) {
      68             :     return ::cppu::UnoType< css::ucb::RecipientInfo >::get();
      69             : }
      70             : 
      71             : #endif // INCLUDED_COM_SUN_STAR_UCB_RECIPIENTINFO_HPP

Generated by: LCOV version 1.10