class LayoutFile : public TextClass, boost::noncopyable {
public:
/// check whether the TeX class is available
- bool isTeXClassAvailable() const { return texClassAvail_; }
+ bool isTeXClassAvailable() const { return tex_class_avail_; }
///
LayoutModuleList const & defaultModules() const
{ return default_modules_; }
explicit LayoutFile(std::string const & filename,
std::string const & className = std::string(),
std::string const & description = std::string(),
- bool texClassAvail = false);
+ std::string const & prerequisites = std::string(),
+ bool texclassavail = false);
/// The only class that should create a LayoutFile is
/// LayoutFileList, which calls the private constructor.
friend class LayoutFileList;
addLocalLayout(std::string const & textclass, std::string const & path);
/// a list of the available classes
std::vector<LayoutFileIndex> classList() const;
+
+ ///
+ bool load(std::string const & name, std::string const & buf_path);
+
private:
///
typedef std::map<std::string, LayoutFile *> ClassMap;