4 * \file command_inset.h
6 * This file is part of LyX, the document processor.
7 * Licence details can be found in the file COPYING.
11 * Full author contact details are available in file CREDITS.
18 #ifndef COMMAND_INSET_H
19 #define COMMAND_INSET_H
21 #include "button_inset.h"
23 /// Inset for things like \name[options]{contents}
24 class CommandInset : public ButtonInset {
26 /// name, contents, options deliminited by '|++|'
27 explicit CommandInset(string const & data);
29 MathInset * clone() const;
31 void write(WriteStream & os) const;
33 //void infoize(std::ostream & os) const;
35 result_type dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
37 string screenLabel() const;