X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlayout.h;h=ff6d1446f55c96c0264aa3fbceee544f5601792a;hb=2c3ae20fc2ed8a1e9d8e46be5b20d3fc88b48dfc;hp=ef8dcbadf479ee81c8468e727412249eacc7d62b;hpb=b922cdd796f9e4b9a46a79808cdee596e04903eb;p=lyx.git diff --git a/src/lyxlayout.h b/src/lyxlayout.h index ef8dcbadf4..ff6d1446f5 100644 --- a/src/lyxlayout.h +++ b/src/lyxlayout.h @@ -1,9 +1,9 @@ // -*- C++ -*- /* This file is part of * ====================================================== - * + * * LyX, The Document Processor - * + * * Copyright 1995 Matthias Ettrich * Copyright 1995-2001 The LyX Team. * @@ -28,10 +28,9 @@ class LyXTextClass; class LyXLayout { public: /// - LyXLayout (); - + LyXLayout(); /// - bool Read (LyXLex &, LyXTextClass const &); + bool Read(LyXLex &, LyXTextClass const &); /// void readAlign(LyXLex &); /// @@ -47,11 +46,11 @@ public: /// void readSpacing(LyXLex &); /// - string const & name() const { return name_; } + string const & name() const; /// - void setName(string const & n) { name_ = n; } + void setName(string const & n); /// - string const & obsoleted_by() const { return obsoleted_by_; } + string const & obsoleted_by() const; /// string const & latexname() const { return latexname_; } /// @@ -174,7 +173,7 @@ public: return latextype == LATEX_PARAGRAPH; } /// - bool isCommand() const { + bool isCommand() const { return latextype == LATEX_COMMAND; } /// @@ -193,7 +192,7 @@ private: /** Name of an layout that has replaced this layout. This is used to rename a layout, while keeping backward - compatibility + compatibility */ string obsoleted_by_;