LCOV - code coverage report
Current view: top level - connectivity/source/drivers/mork - MNSINIParser.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 6 0.0 %
Date: 2014-04-14 Functions: 0 7 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 __MNSINIPARSER_HXX__
      20             : #define __MNSINIPARSER_HXX__
      21             : 
      22             : #include <rtl/ustring.hxx>
      23             : #include <com/sun/star/io/IOException.hpp>
      24             : #include <osl/process.h>
      25             : 
      26             : #include <map>
      27             : #include <list>
      28             : 
      29             : #if OSL_DEBUG_LEVEL > 0
      30             : #include <stdio.h>
      31             : #endif
      32             : 
      33           0 : struct ini_NameValue
      34             : {
      35             :     OUString sName;
      36             :     OUString sValue;
      37             : 
      38           0 :     inline ini_NameValue() SAL_THROW(())
      39           0 :         {}
      40             :     inline ini_NameValue(
      41             :         OUString const & name, OUString const & value ) SAL_THROW(())
      42             :         : sName( name ),
      43             :           sValue( value )
      44             :         {}
      45             : };
      46             : 
      47             : typedef std::list<
      48             :     ini_NameValue
      49             : > NameValueList;
      50             : 
      51           0 : struct ini_Section
      52             : {
      53             :     OUString sName;
      54             :     NameValueList lList;
      55             : };
      56             : typedef std::map<OUString,
      57             :                 ini_Section
      58             :                 >IniSectionMap;
      59             : 
      60             : 
      61           0 : class IniParser
      62             : {
      63             :     IniSectionMap mAllSection;
      64             : public:
      65           0 :     IniSectionMap * getAllSection(){return &mAllSection;};
      66             :     IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException);
      67             : };
      68             : 
      69             : #endif
      70             : 
      71             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10