]> git.lyx.org Git - lyx.git/blob - src/mathed/command_inset.h
use the new mouse LFUNs
[lyx.git] / src / mathed / command_inset.h
1 #ifndef COMMAND_INSET_H
2 #define COMMAND_INSET_H
3
4 #include "button_inset.h"
5
6 // for things like \name[options]{contents}
7 class CommandInset : public ButtonInset {
8 public:
9         /// name, contents, options deliminited by '|++|'
10         explicit CommandInset(string const & data);
11         ///
12         MathInset * clone() const;
13         ///
14         void write(WriteStream & os) const;
15         ///
16         //void infoize(std::ostream & os) const;
17         ///
18         result_type dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
19         ///
20         string screenLabel() const;
21 public:
22         string name_;
23 };
24
25 #endif