1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ======================================================
10 * \file ControlGraphics.h
11 * \author Angus Leeming <a.leeming@ic.ac.uk>
14 #ifndef CONTROLGRAPHICS_H
15 #define CONTROLGRAPHICS_H
21 #include "ControlInset.h"
22 #include "insets/insetgraphicsParams.h" // need operator!=()
27 /** A controller for Graphics dialogs.
30 : public ControlInset<InsetGraphics, InsetGraphicsParams> {
33 ControlGraphics(LyXView &, Dialogs &);
35 /// The file dialog popup requires a LyXView * ???
39 /// Dispatch the changed parameters to the kernel.
40 virtual void applyParamsToInset();
42 virtual void applyParamsNoInset();
43 /// get the parameters from the string passed to createInset.
44 virtual InsetGraphicsParams const getParams(string const &);
45 /// get the parameters from the inset passed to showInset.
46 virtual InsetGraphicsParams const getParams(InsetGraphics const &);
49 #endif // CONTROLGRAPHICS_H