2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
11 * \file ControlGraphics.h
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
15 #ifndef CONTROLGRAPHICS_H
16 #define CONTROLGRAPHICS_H
22 #include "ControlInset.h"
25 class InsetGraphicsParams;
28 /** A controller for Graphics dialogs.
31 : public ControlInset<InsetGraphics, InsetGraphicsParams> {
34 ControlGraphics(LyXView &, Dialogs &);
37 string const Browse(string const &);
40 /// Dispatch the changed parameters to the kernel.
41 virtual void applyParamsToInset();
43 virtual void applyParamsNoInset();
44 /// get the parameters from the string passed to createInset.
45 virtual InsetGraphicsParams const getParams(string const &);
46 /// get the parameters from the inset passed to showInset.
47 virtual InsetGraphicsParams const getParams(InsetGraphics const &);
50 #endif // CONTROLGRAPHICS_H