3 * \file ControlExternal.h
4 * Read the file COPYING
6 * \author Asger Alstrup
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS
13 #ifndef CONTROLEXTERNAL_H
14 #define CONTROLEXTERNAL_H
20 #include "ControlInset.h"
21 #include "insets/insetexternal.h"
23 /** A controller for External dialogs.
26 : public ControlInset<InsetExternal, InsetExternal::Params>
30 ControlExternal(LyXView &, Dialogs &);
37 void updateExternal();
39 std::vector<string> const getTemplates() const;
41 int getTemplateNumber(string const &) const;
43 ExternalTemplate getTemplate(int) const;
45 string const Browse(string const &) const;
49 virtual void applyParamsToInset();
51 virtual void applyParamsNoInset() {}
52 /// get the parameters from the string passed to createInset.
53 virtual InsetExternal::Params const getParams(string const &);
54 /// get the parameters from the inset passed to showInset.
55 virtual InsetExternal::Params const getParams(InsetExternal const &);
58 #endif // CONTROLEXTERNAL_H