]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetCommandParams.h
index 3a69a7895d1387c06e249f3b52d19c3d22607a32..5e043a4e57395ec69a77a75b4755309b32446cb7 100644 (file)
@@ -18,7 +18,6 @@
 #include "support/docstring.h"
 
 #include <iosfwd>
-#include <list>
 #include <string>
 #include <vector>
 
@@ -38,36 +37,6 @@ struct CommandInfo {
        bool const * optional;
 };
 
-///
-struct ICPInfo {
-       ///
-       ICPInfo(std::string const & s, bool b);
-       /// Parameter name.
-       std::string paramName;
-       /// Whether it is optional.
-       bool optional;
-};
-///
-typedef std::list<ICPInfo> PList;
-///
-class ICPList {
-       public:
-               ///
-               PList::const_iterator begin() { return plist_.begin(); }
-               ///
-               PList::const_iterator end()   { return plist_.end(); }
-               ///
-               void clear() { plist_.clear(); }
-               ///
-               void addParam(std::string const & s, bool b = false);
-               ///
-               bool hasParam(std::string const & s);
-       private:
-               ///
-               PList plist_;
-       
-};
-
 
 class InsetCommandParams {
 public: