LCOV - code coverage report
Current view: top level - l10ntools/inc - propmerge.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 1 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             : 
      10             : #ifndef INCLUDED_L10NTOOLS_INC_PROPMERGE_HXX
      11             : #define INCLUDED_L10NTOOLS_INC_PROPMERGE_HXX
      12             : 
      13             : #include <rtl/string.hxx>
      14             : #include <vector>
      15             : 
      16             : /**
      17             :   Class for localization of *.properties files
      18             : 
      19             :   Parse *.properties files, extract translatable strings
      20             :   and merge translated strings.
      21             : */
      22             : 
      23             : class PropParser
      24             : {
      25             : private:
      26             :     std::vector<OString> m_vLines;
      27             :     OString m_sSource;
      28             :     OString m_sLang;
      29             :     bool m_bIsInitialized;
      30             : 
      31             : public:
      32             :     PropParser(
      33             :         const OString& rInputFile, const OString& rLang,
      34             :         const bool bMergeMode );
      35             :     ~PropParser();
      36             : 
      37           0 :     bool isInitialized() const { return m_bIsInitialized; }
      38             :     void Extract( const OString& rPOFile );
      39             :     void Merge( const OString &rMergeSrc, const OString &rDestinationFile );
      40             : };
      41             : 
      42             : #endif // INCLUDED_L10NTOOLS_INC_PROPMERGE_HXX
      43             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11