This commit was manufactured by cvs2svn to create tag
[lyx.git] / src / insets / insetlot.h
blobedc7bd78fa26ad1c5af931dc7fc37fbb6517c227
1 // -*- C++ -*-
2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
6 *
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1996-1999 LyX Team
9 *
10 *======================================================*/
12 #ifndef INSET_LOT_H
13 #define INSET_LOT_H
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
19 #include "insetcommand.h"
20 #include "gettext.h"
22 // Created by Lgb 970527
24 /** Used to insert table of contents
26 class InsetLOT: public InsetCommand {
27 public:
28 ///
29 InsetLOT(): InsetCommand("listoftables") {}
30 ///
31 InsetLOT(Buffer * b): InsetCommand("listoftables"), owner(b) {}
32 ///
33 Inset * Clone() { return new InsetLOT(owner); }
34 ///
35 string getScreenLabel() const { return _("List of Tables"); }
37 //void Edit(int, int);
38 ///
39 unsigned char Editable() const {
40 return 0; // not yet
42 ///
43 bool Display() const { return true; }
44 ///
45 Inset::Code LyxCode() const { return Inset::LOT_CODE; }
46 private:
47 ///
48 Buffer * owner;
51 #endif