LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/unotools - itemholderbase.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 4 100.0 %
Date: 2012-08-25 Functions: 3 3 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     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                 :       1458 : struct ItemHolderMutexBase
      30                 :            : {
      31                 :            :     ::osl::Mutex m_aLock;
      32                 :            : };
      33                 :            : 
      34                 :            : enum EItem
      35                 :            : {
      36                 :            :     E_ACCELCFG                      ,   //
      37                 :            :     E_ACCESSIBILITYOPTIONS          ,   // 2
      38                 :            :     E_ADDXMLTOSTORAGEOPTIONS        ,   //
      39                 :            :     E_APEARCFG                      ,   // 2
      40                 :            : 
      41                 :            :     E_CJKOPTIONS                    ,   // 2
      42                 :            :     E_CMDOPTIONS                    ,   //
      43                 :            :     E_COLORCFG                      ,   // 2
      44                 :            :     E_COMPATIBILITY                 ,   //
      45                 :            :     E_CTLOPTIONS                    ,   // 2
      46                 :            : 
      47                 :            :     E_DEFAULTOPTIONS                ,   //
      48                 :            :     E_DYNAMICMENUOPTIONS            ,   //
      49                 :            : 
      50                 :            :     E_EVENTCFG                      ,   //
      51                 :            :     E_EXTENDEDSECURITYOPTIONS       ,   //
      52                 :            : 
      53                 :            :     E_FLTRCFG                       ,   //
      54                 :            :     E_FONTOPTIONS                   ,   //
      55                 :            :     E_FONTSUBSTCONFIG               ,   // 2
      56                 :            : 
      57                 :            :     E_HELPOPTIONS                   ,   // 2
      58                 :            :     E_HISTORYOPTIONS                ,   //
      59                 :            : 
      60                 :            :     E_INTERNALOPTIONS               ,   //
      61                 :            : 
      62                 :            :     E_JAVAOPTIONS                   ,   //
      63                 :            : 
      64                 :            :     E_LANGUAGEOPTIONS               ,   // 2
      65                 :            :     E_LINGUCFG                      ,   //
      66                 :            :     E_LOCALISATIONOPTIONS           ,   //
      67                 :            : 
      68                 :            :     E_MENUOPTIONS                   ,   //
      69                 :            :     E_MISCCFG                       ,   // 2
      70                 :            :     E_MISCOPTIONS                   ,   //
      71                 :            :     E_MODULEOPTIONS                 ,   //
      72                 :            : 
      73                 :            :     E_OPTIONSDLGOPTIONS             ,   //
      74                 :            : 
      75                 :            :     E_PATHOPTIONS                   ,   //
      76                 :            :     E_PRINTOPTIONS                  ,   // 2
      77                 :            :     E_PRINTFILEOPTIONS              ,   // 2
      78                 :            :     E_PRINTWARNINGOPTIONS           ,   //
      79                 :            : 
      80                 :            :     E_REGOPTIONS                    ,   //
      81                 :            : 
      82                 :            :     E_SAVEOPTIONS                   ,   //
      83                 :            :     E_SEARCHOPT                     ,   //
      84                 :            :     E_SECURITYOPTIONS               ,   //
      85                 :            :     E_STARTOPTIONS                  ,   //
      86                 :            :     E_SYSLOCALEOPTIONS              ,   // 2
      87                 :            : 
      88                 :            :     E_USEROPTIONS                   ,   // 2
      89                 :            : 
      90                 :            :     E_VIEWOPTIONS_DIALOG            ,   //
      91                 :            :     E_VIEWOPTIONS_TABDIALOG         ,   //
      92                 :            :     E_VIEWOPTIONS_TABPAGE           ,   //
      93                 :            :     E_VIEWOPTIONS_WINDOW            ,   //
      94                 :            : 
      95                 :            :     E_WORKINGSETOPTIONS             ,   //
      96                 :            : 
      97                 :            :     E_XMLACCELCFG                       //
      98                 :            : };
      99                 :            : 
     100                 :            : struct TItemInfo
     101                 :            : {
     102                 :       5069 :     TItemInfo()
     103                 :       5069 :         : pItem(0)
     104                 :       5069 :     {}
     105                 :            : 
     106                 :            :     utl::detail::Options * pItem;
     107                 :            :     EItem eItem;
     108                 :            : };
     109                 :            : 
     110                 :            : typedef ::std::vector< TItemInfo > TItems;
     111                 :            : 
     112                 :            : #endif // INCLUDED_unotools_ITEMHOLDERBASE_HXX_
     113                 :            : 
     114                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10