LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/ui - ContextMenuExecuteEvent.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_UI_CONTEXTMENUEXECUTEEVENT_HPP
       2             : #define INCLUDED_COM_SUN_STAR_UI_CONTEXTMENUEXECUTEEVENT_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/ui/ContextMenuExecuteEvent.hdl"
       7             : 
       8             : #include "com/sun/star/view/XSelectionSupplier.hpp"
       9             : #include "com/sun/star/container/XIndexContainer.hpp"
      10             : #include "com/sun/star/awt/XWindow.hpp"
      11             : #include "com/sun/star/awt/Point.hpp"
      12             : #include "com/sun/star/uno/Reference.hxx"
      13             : #include "com/sun/star/uno/Type.hxx"
      14             : #include "cppu/unotype.hxx"
      15             : #include "sal/types.h"
      16             : #include "typelib/typeclass.h"
      17             : #include "typelib/typedescription.h"
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace ui {
      20             : 
      21           0 : inline ContextMenuExecuteEvent::ContextMenuExecuteEvent() SAL_THROW(())
      22             :     : SourceWindow()
      23             :     , ExecutePosition()
      24             :     , ActionTriggerContainer()
      25           0 :     , Selection()
      26             : {
      27           0 : }
      28             : 
      29             : inline ContextMenuExecuteEvent::ContextMenuExecuteEvent(const ::com::sun::star::uno::Reference< css::awt::XWindow >& SourceWindow_, const css::awt::Point& ExecutePosition_, const ::com::sun::star::uno::Reference< css::container::XIndexContainer >& ActionTriggerContainer_, const ::com::sun::star::uno::Reference< css::view::XSelectionSupplier >& Selection_) SAL_THROW(())
      30             :     : SourceWindow(SourceWindow_)
      31             :     , ExecutePosition(ExecutePosition_)
      32             :     , ActionTriggerContainer(ActionTriggerContainer_)
      33             :     , Selection(Selection_)
      34             : {
      35             : }
      36             : 
      37             : } } } }
      38             : 
      39             : namespace com { namespace sun { namespace star { namespace ui {
      40             : 
      41             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::ui::ContextMenuExecuteEvent const *) {
      42             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      43             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      44             :     if (the_type == 0) {
      45             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.ui.ContextMenuExecuteEvent");
      46             :     }
      47             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      48             : }
      49             : 
      50             : } } } }
      51             : 
      52             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::ui::ContextMenuExecuteEvent const *) SAL_THROW(()) {
      53             :     return ::cppu::UnoType< css::ui::ContextMenuExecuteEvent >::get();
      54             : }
      55             : 
      56             : #endif // INCLUDED_COM_SUN_STAR_UI_CONTEXTMENUEXECUTEEVENT_HPP

Generated by: LCOV version 1.10