4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialog.h"
17 #include "insets/InsetCommandParams.h"
23 class GuiCommand : public GuiDialog
26 /// We need to know with what sort of inset we're associated.
27 // FIXME This should probably be an InsetCode
28 GuiCommand(GuiView &, QString const & name, QString const & title);
30 bool initialiseParams(std::string const & data);
32 void clearParams() { params_.clear(); }
34 void dispatchParams();
36 bool isBufferDependent() const { return true; }
40 InsetCommandParams params_;
41 //FIXME It should be possible to eliminate lfun_name_
42 //now and recover that information from params().insetType().
43 //But let's not do that quite yet.
44 /// Flags what action is taken by Kernel::dispatch()
45 std::string const lfun_name_;
48 } // namespace frontend