-LyXModule::LyXModule(string n, string f, string d,
- vector<string> p) :
- name(n), filename(f), description(d), packageList(p), checked(false)
-{}
+LyXModule::LyXModule(string const & n, string const & i,
+ string const & d, vector<string> const & p,
+ vector<string> const & r, vector<string> const & e):
+ name(n), id(i), description(d),
+ packageList(p), requiredModules(r), excludedModules(e),
+ checked(false)
+{
+ filename = id + ".module";
+}