LCOV - code coverage report
Current view: top level - basctl/source/basicide - unomodel.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 2 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 1 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             : #ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
      20             : #define INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
      21             : 
      22             : #include <com/sun/star/lang/XServiceInfo.hpp>
      23             : #include <sfx2/sfxbasemodel.hxx>
      24             : 
      25             : namespace basctl
      26             : {
      27             : 
      28             : class SIDEModel : public SfxBaseModel,
      29             :                 public com::sun::star::lang::XServiceInfo
      30             : {
      31             :     static void notImplemented() throw ( ::com::sun::star::io::IOException );
      32             : public:
      33             :     explicit SIDEModel(SfxObjectShell *pObjSh = 0);
      34             :     virtual ~SIDEModel();
      35             : 
      36             :     //XInterface
      37             :     virtual     ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      38             :     virtual void SAL_CALL acquire(  ) throw() SAL_OVERRIDE;
      39             :     virtual void SAL_CALL release(  ) throw() SAL_OVERRIDE;
      40             : 
      41             :     //XTypeProvider
      42             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      43             : 
      44             :     //XServiceInfo
      45             :     virtual OUString SAL_CALL getImplementationName()
      46             :         throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      47             :     virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
      48             :             throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      49             :     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
      50             :             throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      51             :     // XStorable2
      52           0 :     virtual void SAL_CALL storeSelf( const  ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& )
      53           0 :         throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { notImplemented(); }
      54             :     //  XStorable
      55             :     virtual void SAL_CALL store() throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      56             :     virtual void SAL_CALL storeAsURL(   const   OUString& sURL,
      57             :         const   ::com::sun::star::uno::Sequence< css::beans::PropertyValue >&   seqArguments    )
      58             :         throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      59             :     virtual void SAL_CALL storeToURL(   const   OUString& sURL,
      60             :         const   ::com::sun::star::uno::Sequence< css::beans::PropertyValue >&   seqArguments    )
      61             :         throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      62             : 
      63             :     static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static();
      64             :     static OUString getImplementationName_Static();
      65             : };
      66             : 
      67             : com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SIDEModel_createInstance(
      68             :                 const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > & rSMgr )
      69             :                     throw( com::sun::star::uno::Exception );
      70             : 
      71             : } // namespace basctl
      72             : 
      73             : #endif // INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
      74             : 
      75             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11