LCOV - code coverage report
Current view: top level - basctl/source/basicide - iderdll2.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 10 0.0 %
Date: 2014-04-14 Functions: 0 10 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             : #ifndef BASCTL_IDERDLL2_HXX
      21             : #define BASCTL_IDERDLL2_HXX
      22             : 
      23             : class StarBASIC;
      24             : class SvxSearchItem;
      25             : 
      26             : #include <tools/link.hxx>
      27             : 
      28             : #include <bastypes.hxx>
      29             : #include <bastype2.hxx>
      30             : 
      31             : #include <boost/scoped_ptr.hpp>
      32             : 
      33             : namespace basctl
      34             : {
      35             : 
      36             : class ExtraData
      37             : {
      38             : private:
      39             :     boost::scoped_ptr<SvxSearchItem> pSearchItem;
      40             : 
      41             :     LibInfos        aLibInfos;
      42             : 
      43             :     EntryDescriptor m_aLastEntryDesc;
      44             : 
      45             :     OUString        aAddLibPath;
      46             :     OUString        aAddLibFilter;
      47             : 
      48             :     sal_uInt16      nBasicDialogCount;
      49             : 
      50             :     bool            bChoosingMacro;
      51             :     bool            bShellInCriticalSection;
      52             : 
      53             : protected:
      54             :     DECL_LINK( GlobalBasicBreakHdl, StarBASIC * );
      55             : 
      56             : public:
      57             :     ExtraData();
      58             :     ~ExtraData();
      59             : 
      60           0 :     LibInfos&         GetLibInfos () { return aLibInfos; }
      61             : 
      62           0 :     EntryDescriptor&  GetLastEntryDescriptor () { return m_aLastEntryDesc; }
      63           0 :     void              SetLastEntryDescriptor (EntryDescriptor& rDesc) { m_aLastEntryDesc = rDesc; }
      64             : 
      65           0 :     bool&             ChoosingMacro()          { return bChoosingMacro; }
      66           0 :     bool&             ShellInCriticalSection() { return bShellInCriticalSection; }
      67             : 
      68             :     sal_uInt16        GetBasicDialogCount() const { return nBasicDialogCount; }
      69             :     void              IncBasicDialogCount()       { nBasicDialogCount++; }
      70             :     void              DecBasicDialogCount()       { nBasicDialogCount--; }
      71             : 
      72           0 :     SvxSearchItem&    GetSearchItem() const { return *pSearchItem; }
      73             :     void              SetSearchItem( const SvxSearchItem& rItem );
      74             : 
      75           0 :     const OUString&   GetAddLibPath() const   { return aAddLibPath; }
      76           0 :     void              SetAddLibPath( const OUString& rPath ) { aAddLibPath = rPath; }
      77             : 
      78           0 :     const OUString&   GetAddLibFilter() const { return aAddLibFilter; }
      79           0 :     void              SetAddLibFilter( const OUString& rFilter )  { aAddLibFilter = rFilter; }
      80             : };
      81             : 
      82             : } // namespace basctl
      83             : 
      84             : #endif // BASCTL_IDERDLL2_HXX
      85             : 
      86             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10