]> git.lyx.org Git - lyx.git/blob - src/mathed/command_inset.h
small up/down tweaking
[lyx.git] / src / mathed / command_inset.h
1 // -*- C++ -*-
2
3 /**
4  *  \file command_inset.h
5  *
6  *  This file is part of LyX, the document processor.
7  *  Licence details can be found in the file COPYING.
8  *
9  *  \author André Pönitz
10  *
11  *  Full author contact details are available in file CREDITS.
12  */
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #ifndef COMMAND_INSET_H
19 #define COMMAND_INSET_H
20
21 #include "button_inset.h"
22
23 /// Inset for things like \name[options]{contents}
24 class CommandInset : public ButtonInset {
25 public:
26         /// name, contents, options deliminited by '|++|'
27         explicit CommandInset(string const & data);
28         ///
29         MathInset * clone() const;
30         ///
31         void write(WriteStream & os) const;
32         ///
33         //void infoize(std::ostream & os) const;
34         ///
35         result_type dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
36         ///
37         string screenLabel() const;
38 public:
39         string name_;
40 };
41
42 #endif