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

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_INSPECTION_LINEDESCRIPTOR_HPP
       2             : #define INCLUDED_COM_SUN_STAR_INSPECTION_LINEDESCRIPTOR_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/inspection/LineDescriptor.hdl"
       7             : 
       8             : #include "com/sun/star/graphic/XGraphic.hpp"
       9             : #include "com/sun/star/inspection/XPropertyControl.hpp"
      10             : #include "com/sun/star/uno/Reference.hxx"
      11             : #include "com/sun/star/uno/Type.hxx"
      12             : #include "cppu/unotype.hxx"
      13             : #include "rtl/ustring.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 inspection {
      19             : 
      20           0 : inline LineDescriptor::LineDescriptor() SAL_THROW(())
      21             :     : DisplayName()
      22             :     , Control()
      23             :     , HelpURL()
      24             :     , HasPrimaryButton(false)
      25             :     , PrimaryButtonId()
      26             :     , PrimaryButtonImageURL()
      27             :     , PrimaryButtonImage()
      28             :     , HasSecondaryButton(false)
      29             :     , SecondaryButtonId()
      30             :     , SecondaryButtonImageURL()
      31             :     , SecondaryButtonImage()
      32             :     , IndentLevel(0)
      33           0 :     , Category()
      34             : {
      35           0 : }
      36             : 
      37             : inline LineDescriptor::LineDescriptor(const ::rtl::OUString& DisplayName_, const ::com::sun::star::uno::Reference< css::inspection::XPropertyControl >& Control_, const ::rtl::OUString& HelpURL_, const ::sal_Bool& HasPrimaryButton_, const ::rtl::OUString& PrimaryButtonId_, const ::rtl::OUString& PrimaryButtonImageURL_, const ::com::sun::star::uno::Reference< css::graphic::XGraphic >& PrimaryButtonImage_, const ::sal_Bool& HasSecondaryButton_, const ::rtl::OUString& SecondaryButtonId_, const ::rtl::OUString& SecondaryButtonImageURL_, const ::com::sun::star::uno::Reference< css::graphic::XGraphic >& SecondaryButtonImage_, const ::sal_Int16& IndentLevel_, const ::rtl::OUString& Category_) SAL_THROW(())
      38             :     : DisplayName(DisplayName_)
      39             :     , Control(Control_)
      40             :     , HelpURL(HelpURL_)
      41             :     , HasPrimaryButton(HasPrimaryButton_)
      42             :     , PrimaryButtonId(PrimaryButtonId_)
      43             :     , PrimaryButtonImageURL(PrimaryButtonImageURL_)
      44             :     , PrimaryButtonImage(PrimaryButtonImage_)
      45             :     , HasSecondaryButton(HasSecondaryButton_)
      46             :     , SecondaryButtonId(SecondaryButtonId_)
      47             :     , SecondaryButtonImageURL(SecondaryButtonImageURL_)
      48             :     , SecondaryButtonImage(SecondaryButtonImage_)
      49             :     , IndentLevel(IndentLevel_)
      50             :     , Category(Category_)
      51             : {
      52             : }
      53             : 
      54             : } } } }
      55             : 
      56             : namespace com { namespace sun { namespace star { namespace inspection {
      57             : 
      58             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::inspection::LineDescriptor const *) {
      59             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      60             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      61             :     if (the_type == 0) {
      62             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.inspection.LineDescriptor");
      63             :     }
      64             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      65             : }
      66             : 
      67             : } } } }
      68             : 
      69             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::inspection::LineDescriptor const *) SAL_THROW(()) {
      70             :     return ::cppu::UnoType< css::inspection::LineDescriptor >::get();
      71             : }
      72             : 
      73             : #endif // INCLUDED_COM_SUN_STAR_INSPECTION_LINEDESCRIPTOR_HPP

Generated by: LCOV version 1.10