#include "support/strfwd.h"
-#include <boost/noncopyable.hpp>
-
#include <string>
#include <vector>
/// Buffer-specific information should therefore be placed in a
/// DocumentClass object.
///
-class LayoutFile : public TextClass, boost::noncopyable {
+class LayoutFile : public TextClass {
public:
/// check whether the TeX class is available
bool isTeXClassAvailable() const { return tex_class_avail_; }
LayoutModuleList const & excludedModules() const
{ return excluded_modules_; }
private:
+ /// noncopyable
+ LayoutFile(LayoutFile const &);
+ void operator=(LayoutFile const &);
/// Construct a layout with default values. Actual values loaded later.
explicit LayoutFile(std::string const & filename,
std::string const & className = std::string(),
/// add a textclass from user local directory.
/// \return the identifier for the loaded file, or else an
/// empty string if no file was loaded.
- LayoutFileIndex
- addLocalLayout(std::string const & textclass, std::string const & path);
+ LayoutFileIndex addLocalLayout(std::string const & textclass,
+ std::string const & path,
+ std::string const & oldpath = empty_string());
/// a list of the available classes
std::vector<LayoutFileIndex> classList() const;