]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutFile.h
Fix compatibility issue with 64-bit cygwin.
[lyx.git] / src / LayoutFile.h
index f50f6ea4514cd760977a1d31a49148e13fd1b5f9..d602bd99148da6a508fa628caee46713372ece72 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <boost/noncopyable.hpp>
 
-#include <set>
 #include <string>
 #include <vector>
 
@@ -29,17 +28,13 @@ namespace lyx {
 
 class Layout;
 
-/// Reads the style files
-extern bool LyXSetStyle();
-
-
 /// Index into LayoutFileList. Basically a 'strong typedef'.
 class LayoutFileIndex {
 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_; }
        ///
@@ -80,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() {}
 };