MODULE //>This is a layout module
};
/// Performs the read of the layout file.
- /// \return false on success. FIXME: this is bad API, should return true!
+ /// \return true on success.
bool read(support::FileName const & filename, ReadType rt = BASECLASS);
///
void readOutputType(Lexer &);
int max_toclevel() const;
/// returns true if the class has a ToC structure
bool hasTocLevels() const;
+ ///
+ static InsetLayout const & emptyInsetLayout() { return empty_insetlayout_; }
private:
///
bool deleteLayout(docstring const &);
int min_toclevel_;
/// The maximal TocLevel of sectioning layouts
int max_toclevel_;
+ ///
+ static InsetLayout empty_insetlayout_;
};