1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_SVX_EXTEDIT_HXX
11 #define INCLUDED_SVX_EXTEDIT_HXX
13 #include <svx/svxdllapi.h>
14 #include <svx/svdograf.hxx>
15 #include <svl/lstner.hxx>
16 #include <rtl/ustring.hxx>
17 #include <rtl/ref.hxx>
22 class FileChangedChecker
;
24 class SAL_WARN_UNUSED SVXCORE_DLLPUBLIC ExternalToolEdit
29 ::std::unique_ptr
<FileChangedChecker
> m_pChecker
;
34 virtual ~ExternalToolEdit();
36 virtual void Update( Graphic
& aGraphic
) = 0;
37 void Edit(GraphicObject
const*const pGraphic
);
39 void StartListeningEvent();
41 static void HandleCloseEvent( ExternalToolEdit
* pData
);
48 class SAL_WARN_UNUSED SVXCORE_DLLPUBLIC SdrExternalToolEdit final
49 : public ExternalToolEdit
54 rtl::Reference
<SdrGrafObj
> m_pObj
;
56 SAL_DLLPRIVATE
virtual void Update(Graphic
&) override
;
57 SAL_DLLPRIVATE
virtual void Notify(SfxBroadcaster
&, const SfxHint
&) override
;