3 * \file ControlInclude.h
4 * Copyright 2001 the LyX Team
7 * \author Alejandro Aguilar Sierra
8 * \author John Levon, moz@compsoc.man.ac.uk
9 * \author Angus Leeming, a.leeming@.ac.uk
12 #ifndef CONTROLINCLUDE_H
13 #define CONTROLINCLUDE_H
19 #include "ControlInset.h"
20 #include "insets/insetinclude.h" // InsetIncludeParams
22 /** A controller for the Include file dialog.
25 : public ControlInset<InsetInclude, InsetInclude::Params>
38 ControlInclude(LyXView &, Dialogs &);
41 string const Browse(string const &, Type);
44 /// Dispatch the changed parameters to the kernel.
45 virtual void applyParamsToInset();
46 /// Should be used but currently isn't
47 virtual void applyParamsNoInset() {}
48 /// get the parameters from the string passed to createInset.
49 virtual InsetInclude::Params const getParams(string const &)
50 { return InsetInclude::Params(); }
51 /// get the parameters from the inset passed to showInset.
52 virtual InsetInclude::Params const getParams(InsetInclude const & inset)
53 { return inset.params(); }
55 #endif // CONTROLINCLUDE_H