]> git.lyx.org Git - lyx.git/blobdiff - src/ModuleList.h
Remove todo
[lyx.git] / src / ModuleList.h
index bab9a049ae1f1f6ec7b51a34dcd09058047c1584..5c22db30365d56f6e700ea097ebc33d341564d16 100644 (file)
@@ -12,9 +12,8 @@
 #ifndef MODULELIST_H
 #define MODULELIST_H
 
-#include "support/FileName.h"
-
 #include <map>
+#include <string>
 #include <vector>
 
 namespace lyx {
@@ -24,7 +23,15 @@ namespace lyx {
  *  file, except that it does not stand alone. In that sense, it is more like 
  *  a LaTeX package, where a layout file corresponds to a LaTeX class.
  */
-struct LyXModule {
+
+//FIXME Give us some access functions here.
+class LyXModule {
+public:
+       ///
+       LyXModule(std::string const & n, std::string const & f, 
+                 std::string const & d, std::vector<std::string> const & p);
+       /// whether the required packages are available
+       bool isAvailable();
        /// what appears in the ui
        std::string name;
        /// the filename, without any path
@@ -33,7 +40,10 @@ struct LyXModule {
        std::string description;
        /// the LaTeX packages on which this depends, if any (not implemented)
        std::vector<std::string> packageList;
-       /// whether those packages are available (not implemented yet)
+private:
+       ///
+       bool checked;
+       ///
        bool available;
 };