* 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
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;
};