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.
15 #ifndef COMMAND_INSET_H
16 #define COMMAND_INSET_H
18 #include "button_inset.h"
20 /// Inset for things like \name[options]{contents}
21 class CommandInset : public ButtonInset {
23 /// name, contents, options deliminited by '|++|'
24 explicit CommandInset(string const & data);
26 MathInset * clone() const;
28 void write(WriteStream & os) const;
30 //void infoize(std::ostream & os) const;
32 dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
34 string screenLabel() const;