#include "MetricsInfo.h"
#include "OutputParams.h"
-#include "frontends/Alert.h"
+#include "frontends/alert.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include "support/lyxlib.h"
#include "support/os.h"
-#include "support/path.h"
+#include "support/Path.h"
#include "support/textutils.h"
#include <boost/tokenizer.hpp>
{}
-std::auto_ptr<InsetBase> InsetBibtex::doClone() const
+std::auto_ptr<Inset> InsetBibtex::doClone() const
{
- return std::auto_ptr<InsetBase>(new InsetBibtex(*this));
+ return std::auto_ptr<Inset>(new InsetBibtex(*this));
}
-void InsetBibtex::doDispatch(LCursor & cur, FuncRequest & cmd)
+void InsetBibtex::doDispatch(Cursor & cur, FuncRequest & cmd)
{
switch (cmd.action) {
// part of its name, because it's than book.
// For the "official" lyx-layouts it's no problem to support
// all well
- if (!contains(buffer.params().getLyXTextClass().name(),
+ if (!contains(buffer.params().getTextClass().name(),
"art")) {
- if (buffer.params().sides == LyXTextClass::OneSide) {
+ if (buffer.params().sides == TextClass::OneSide) {
// oneside
os << "\\clearpage";
} else {