LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/include/unotools - itemholderbase.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 4 100.0 %
Date: 2013-07-09 Functions: 3 3 100.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 INCLUDED_unotools_ITEMHOLDERBASE_HXX_
      21             : #define INCLUDED_unotools_ITEMHOLDERBASE_HXX_
      22             : 
      23             : #include <vector>
      24             : #include <osl/mutex.hxx>
      25             : 
      26             : namespace utl { namespace detail { class Options; } }
      27             : 
      28             : 
      29         815 : struct ItemHolderMutexBase
      30             : {
      31             :     ::osl::Mutex m_aLock;
      32             : };
      33             : 
      34             : enum EItem
      35             : {
      36             :     E_ACCESSIBILITYOPTIONS          ,   // 2
      37             :     E_ADDXMLTOSTORAGEOPTIONS        ,   //
      38             :     E_APEARCFG                      ,   // 2
      39             : 
      40             :     E_CJKOPTIONS                    ,   // 2
      41             :     E_CMDOPTIONS                    ,   //
      42             :     E_COLORCFG                      ,   // 2
      43             :     E_COMPATIBILITY                 ,   //
      44             :     E_CTLOPTIONS                    ,   // 2
      45             : 
      46             :     E_DEFAULTOPTIONS                ,   //
      47             :     E_DYNAMICMENUOPTIONS            ,   //
      48             : 
      49             :     E_EVENTCFG                      ,   //
      50             :     E_EXTENDEDSECURITYOPTIONS       ,   //
      51             : 
      52             :     E_FLTRCFG                       ,   //
      53             :     E_FONTOPTIONS                   ,   //
      54             :     E_FONTSUBSTCONFIG               ,   // 2
      55             : 
      56             :     E_HELPOPTIONS                   ,   // 2
      57             :     E_HISTORYOPTIONS                ,   //
      58             : 
      59             :     E_LANGUAGEOPTIONS               ,   // 2
      60             :     E_LINGUCFG                      ,   //
      61             :     E_LOCALISATIONOPTIONS           ,   //
      62             : 
      63             :     E_MENUOPTIONS                   ,   //
      64             :     E_MISCCFG                       ,   // 2
      65             :     E_MISCOPTIONS                   ,   //
      66             :     E_MODULEOPTIONS                 ,   //
      67             : 
      68             :     E_OPTIONSDLGOPTIONS             ,   //
      69             : 
      70             :     E_PATHOPTIONS                   ,   //
      71             :     E_PRINTOPTIONS                  ,   // 2
      72             :     E_PRINTFILEOPTIONS              ,   // 2
      73             :     E_PRINTWARNINGOPTIONS           ,   //
      74             : 
      75             :     E_REGOPTIONS                    ,   //
      76             : 
      77             :     E_SAVEOPTIONS                   ,   //
      78             :     E_SEARCHOPT                     ,   //
      79             :     E_SECURITYOPTIONS               ,   //
      80             :     E_SYSLOCALEOPTIONS              ,   // 2
      81             : 
      82             :     E_USEROPTIONS                   ,   // 2
      83             : 
      84             :     E_VIEWOPTIONS_DIALOG            ,   //
      85             :     E_VIEWOPTIONS_TABDIALOG         ,   //
      86             :     E_VIEWOPTIONS_TABPAGE           ,   //
      87             :     E_VIEWOPTIONS_WINDOW                //
      88             : };
      89             : 
      90             : struct TItemInfo
      91             : {
      92        2550 :     TItemInfo()
      93        2550 :         : pItem(0)
      94        2550 :     {}
      95             : 
      96             :     utl::detail::Options * pItem;
      97             :     EItem eItem;
      98             : };
      99             : 
     100             : typedef ::std::vector< TItemInfo > TItems;
     101             : 
     102             : #endif // INCLUDED_unotools_ITEMHOLDERBASE_HXX_
     103             : 
     104             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10