lyx_mirror/src/insets/insetloa.C
Jürgen Vigna e2b3a1254c Some forgotten files and Anguses citation patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@882 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-14 07:52:03 +00:00

43 lines
852 B
C

// -*- C++ -*-
/* This file is part of*
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1996-2000 The LyX Team.
*
* ====================================================== */
// Created by Bernhard 970908
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "gettext.h"
#include "insetloa.h"
#include "LaTeXFeatures.h"
#include "BufferView.h"
#include "LyXView.h"
#include "lyxfunc.h"
#include "commandtags.h"
void InsetLOA::Validate(LaTeXFeatures & features) const
{
features.algorithm = true;
}
string InsetLOA::getScreenLabel() const
{
return _("List of Algorithms");
}
void InsetLOA::Edit(BufferView * bv, int, int, unsigned int)
{
bv->owner()->getLyXFunc()->Dispatch(LFUN_LOAVIEW);
}