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 <svl/lstner.hxx>
15 #include <rtl/ustring.hxx>
16 #include <rtl/ref.hxx>
21 class FileChangedChecker
;
23 class SAL_WARN_UNUSED SVXCORE_DLLPUBLIC ExternalToolEdit
28 ::std::unique_ptr
<FileChangedChecker
> m_pChecker
;
33 virtual ~ExternalToolEdit();
35 virtual void Update( Graphic
& aGraphic
) = 0;
36 void Edit(GraphicObject
const*const pGraphic
);
38 void StartListeningEvent();
40 static void HandleCloseEvent( ExternalToolEdit
* pData
);
47 class SAL_WARN_UNUSED SVXCORE_DLLPUBLIC SdrExternalToolEdit final
48 : public ExternalToolEdit
53 rtl::Reference
<SdrGrafObj
> m_pObj
;
55 SAL_DLLPRIVATE
virtual void Update(Graphic
&) override
;
56 SAL_DLLPRIVATE
virtual void Notify(SfxBroadcaster
&, const SfxHint
&) override
;