LCOV - code coverage report
Current view: top level - include/sfx2 - templaterepository.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 7 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 8 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_SFX2_TEMPLATEREPOSITORY_HXX
      11             : #define INCLUDED_SFX2_TEMPLATEREPOSITORY_HXX
      12             : 
      13             : #include <sfx2/templateproperties.hxx>
      14             : 
      15             : class TemplateRepository
      16             : {
      17             : public:
      18             : 
      19           0 :     TemplateRepository () : mnId(0) { };
      20             : 
      21           0 :     virtual ~TemplateRepository () { };
      22             : 
      23           0 :     void setURL (const OUString &rURL) { maUrl = rURL; }
      24             : 
      25           0 :     const OUString& getURL () const { return maUrl; }
      26             : 
      27           0 :     void insertTemplate (const TemplateItemProperties &prop) { maTemplates.push_back(prop); }
      28             : 
      29           0 :     void clearTemplates () { maTemplates.clear(); }
      30             : 
      31           0 :     const std::vector<TemplateItemProperties>& getTemplates () const { return maTemplates; }
      32             : 
      33             : public:
      34             : 
      35             :     sal_uInt16 mnId;
      36             :     OUString maTitle;
      37             : 
      38             : private:
      39             : 
      40             :     OUString maUrl;
      41             :     std::vector<TemplateItemProperties> maTemplates;
      42             : };
      43             : 
      44             : #endif // INCLUDED_SFX2_TEMPLATEREPOSITORY_HXX
      45             : 
      46             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11