bump product version to 4.2.0.1
[LibreOffice.git] / include / svx / extedit.hxx
blobdc0c48917d069960dfed3f2dd1ee12cfc3cdde5a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_SVX_EXTEDIT_HXX
11 #define INCLUDED_SVX_EXTEDIT_HXX
13 #include <svtools/grfmgr.hxx>
14 #include <osl/file.hxx>
15 #include <osl/process.h>
16 #include <vcl/graph.hxx>
17 #include <vcl/timer.hxx>
18 #include <svx/svxdllapi.h>
20 class SVX_DLLPUBLIC ExternalToolEdit
22 public:
23 GraphicObject* m_pGraphicObject;
24 OUString m_aFileName;
26 ExternalToolEdit();
27 virtual ~ExternalToolEdit();
29 virtual void Update( Graphic& aGraphic ) = 0;
30 void Edit( GraphicObject *pGraphic );
32 DECL_LINK( StartListeningEvent, void *pEvent );
34 static void threadWorker( void *pThreadData );
35 static void HandleCloseEvent( ExternalToolEdit* pData );
39 #endif