]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutFile.h
More tweaking of boundary setting at end of row
[lyx.git] / src / LayoutFile.h
index b71f1230095e2d3c82e1a5993ca19f37c9da562b..d602bd99148da6a508fa628caee46713372ece72 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <boost/noncopyable.hpp>
 
-#include <set>
 #include <string>
 #include <vector>
 
@@ -35,7 +34,7 @@ public:
        ///
        typedef std::string base_type;
        ///
-       LayoutFileIndex(base_type t) { data_ = t; }
+       LayoutFileIndex(base_type const & t) : data_(t) { }
        ///
        operator base_type() const { return data_; }
        ///
@@ -76,12 +75,13 @@ private:
                        std::string const & className = std::string(),
                        std::string const & description = std::string(),
                        std::string const & prerequisites = std::string(),
+                       std::string const & category = std::string(),
                        bool texclassavail = false);
        /// The only class that should create a LayoutFile is
        /// LayoutFileList, which calls the private constructor.
        friend class LayoutFileList;
        /// can't create empty LayoutFile
-       LayoutFile() {};
+       LayoutFile() {}
 };