LCOV - code coverage report
Current view: top level - include/svx - extedit.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 1 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 2 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_SVX_EXTEDIT_HXX
      11             : #define INCLUDED_SVX_EXTEDIT_HXX
      12             : 
      13             : #include <svx/svxdllapi.h>
      14             : #include <svl/lstner.hxx>
      15             : #include <rtl/ustring.hxx>
      16             : #include <memory>
      17             : 
      18             : class Graphic;
      19             : class GraphicObject;
      20             : class FileChangedChecker;
      21             : 
      22             : class SVX_DLLPUBLIC SAL_WARN_UNUSED ExternalToolEdit
      23             : {
      24             : protected:
      25             :     OUString m_aFileName;
      26             : 
      27             :     ::std::unique_ptr<FileChangedChecker> m_pChecker;
      28             : 
      29             : public:
      30             : 
      31             :     ExternalToolEdit();
      32             :     virtual ~ExternalToolEdit();
      33             : 
      34             :     virtual void Update( Graphic& aGraphic ) = 0;
      35             :     void Edit(GraphicObject const*const pGraphic);
      36             : 
      37             :     void StartListeningEvent();
      38             : 
      39             :     static void HandleCloseEvent( ExternalToolEdit* pData );
      40             : };
      41             : 
      42             : class FmFormView;
      43             : class SdrObject;
      44             : 
      45           0 : class SVX_DLLPUBLIC SAL_WARN_UNUSED SdrExternalToolEdit
      46             :     : public ExternalToolEdit
      47             :     , public SfxListener
      48             : {
      49             : private:
      50             :     FmFormView * m_pView;
      51             :     SdrObject *  m_pObj;
      52             : 
      53             :     SAL_DLLPRIVATE virtual void Update(Graphic&) SAL_OVERRIDE;
      54             :     SAL_DLLPRIVATE virtual void Notify(SfxBroadcaster&, const SfxHint&) SAL_OVERRIDE;
      55             : 
      56             : public:
      57             :     SdrExternalToolEdit(FmFormView * pView, SdrObject * pObj);
      58             : };
      59             : 
      60             : #endif

Generated by: LCOV version 1.11