]> git.lyx.org Git - lyx.git/blob - src/insets/insetloa.C
some sun compile fixes the need clipboard code patch from Dekel ans some other fixes
[lyx.git] / src / insets / insetloa.C
1 // -*- C++ -*-
2 /* This file is part of*
3  * ======================================================
4  *
5  *           LyX, The Document Processor
6  *       
7  *          Copyright 1995 Matthias Ettrich
8  *          Copyright 1996-2000 The LyX Team.
9  * 
10  * ====================================================== */
11
12 // Created by Bernhard 970908
13
14 #include <config.h>
15
16 #ifdef __GNUG__
17 #pragma implementation
18 #endif
19
20 #include "insetloa.h"
21 #include "LaTeXFeatures.h"
22 #include "BufferView.h"
23 #include "LyXView.h"
24 #include "lyxfunc.h"
25 #include "commandtags.h"
26
27 void InsetLOA::Validate(LaTeXFeatures & features) const 
28 {
29         features.algorithm = true;
30 }
31
32
33 string InsetLOA::getScreenLabel() const 
34 {
35         return _("List of Algorithms");
36 }
37
38 void InsetLOA::Edit(BufferView * bv, int, int, unsigned int)
39 {
40         bv->owner()->getLyXFunc()->Dispatch(LFUN_LOAVIEW);
41 }