LCOV - code coverage report
Current view: top level - sfx2/inc/sfx2 - templateremoteviewitem.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 5 0.0 %
Date: 2012-08-25 Functions: 0 5 0.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                 :            : 
      10                 :            : #ifndef __SFX2_TEMPLATEREMOTEVIEWITEM_HXX__
      11                 :            : #define __SFX2_TEMPLATEREMOTEVIEWITEM_HXX__
      12                 :            : 
      13                 :            : #include <sfx2/thumbnailviewitem.hxx>
      14                 :            : #include <sfx2/templateproperties.hxx>
      15                 :            : 
      16                 :            : class TemplateRemoteViewItem : public ThumbnailViewItem
      17                 :            : {
      18                 :            : public:
      19                 :            : 
      20                 :            :     TemplateRemoteViewItem (ThumbnailView &rView, Window *pParent);
      21                 :            : 
      22                 :            :     virtual ~TemplateRemoteViewItem ();
      23                 :            : 
      24                 :          0 :     void setURL (const rtl::OUString &rURL) { maUrl = rURL; }
      25                 :            : 
      26                 :          0 :     const rtl::OUString& getURL () const { return maUrl; }
      27                 :            : 
      28                 :          0 :     void insertTemplate (const TemplateItemProperties &prop) { maTemplates.push_back(prop); }
      29                 :            : 
      30                 :          0 :     void clearTemplates () { maTemplates.clear(); }
      31                 :            : 
      32                 :          0 :     const std::vector<TemplateItemProperties>& getTemplates () const { return maTemplates; }
      33                 :            : 
      34                 :            : private:
      35                 :            : 
      36                 :            :     rtl::OUString maUrl;
      37                 :            :     std::vector<TemplateItemProperties> maTemplates;
      38                 :            : };
      39                 :            : 
      40                 :            : #endif // __SFX2_TEMPLATEREMOTEVIEWITEM_HXX__
      41                 :            : 
      42                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10