LCOV - code coverage report
Current view: top level - forms/source/xforms - xformsevent.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 28 0.0 %
Date: 2014-04-14 Functions: 0 11 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : 
      21             : #include "xformsevent.hxx"
      22             : 
      23             : namespace com {
      24             : namespace sun {
      25             : namespace star {
      26             : namespace xforms {
      27             : 
      28             : using com::sun::star::uno::RuntimeException;
      29             : 
      30           0 : void SAL_CALL XFormsEventConcrete::initXFormsEvent(const OUString& typeArg,
      31             :     sal_Bool canBubbleArg, sal_Bool cancelableArg)
      32             :     throw (RuntimeException, std::exception)
      33             : {
      34           0 :     initEvent(typeArg, canBubbleArg, cancelableArg);
      35           0 : }
      36             : 
      37           0 : OUString SAL_CALL XFormsEventConcrete::getType() throw (RuntimeException, std::exception)
      38             : {
      39           0 :     return m_eventType;
      40             : }
      41             : 
      42           0 : XFormsEventConcrete::XEventTarget_t SAL_CALL XFormsEventConcrete::getTarget() throw (RuntimeException, std::exception)
      43             : {
      44           0 :     return m_target;
      45             : }
      46             : 
      47           0 : XFormsEventConcrete::XEventTarget_t SAL_CALL XFormsEventConcrete::getCurrentTarget() throw (RuntimeException, std::exception)
      48             : {
      49           0 :     return m_currentTarget;
      50             : }
      51             : 
      52           0 : XFormsEventConcrete::PhaseType_t SAL_CALL XFormsEventConcrete::getEventPhase() throw (RuntimeException, std::exception)
      53             : {
      54           0 :     return m_phase;
      55             : }
      56             : 
      57           0 : sal_Bool SAL_CALL XFormsEventConcrete::getBubbles() throw (RuntimeException, std::exception)
      58             : {
      59           0 :     return m_bubbles;
      60             : }
      61             : 
      62           0 : sal_Bool SAL_CALL XFormsEventConcrete::getCancelable() throw (RuntimeException, std::exception)
      63             : {
      64           0 :     return m_cancelable;
      65             : }
      66             : 
      67           0 : XFormsEventConcrete::Time_t SAL_CALL XFormsEventConcrete::getTimeStamp() throw (RuntimeException, std::exception)
      68             : {
      69           0 :     return m_time;
      70             : }
      71             : 
      72           0 : void SAL_CALL XFormsEventConcrete::stopPropagation() throw (RuntimeException, std::exception)
      73             : {
      74           0 :     if(m_cancelable)
      75           0 :         m_canceled = sal_True;
      76           0 : }
      77           0 : void SAL_CALL XFormsEventConcrete::preventDefault() throw (RuntimeException, std::exception)
      78             : {
      79           0 : }
      80             : 
      81           0 : void SAL_CALL XFormsEventConcrete::initEvent(const OUString& eventTypeArg, sal_Bool canBubbleArg,
      82             :     sal_Bool cancelableArg) throw (RuntimeException, std::exception)
      83             : {
      84           0 :     m_eventType = eventTypeArg;
      85           0 :     m_bubbles = canBubbleArg;
      86           0 :     m_cancelable = cancelableArg;
      87           0 : }
      88             : 
      89             : } } } }
      90             : 
      91             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10