X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetcommandparams.h;h=ae6876ba834f180e86ea6628411eb001986e0906;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=3b26fbce7c962b1ba822343c61b51dc041166129;hpb=8b67659646c6850377cb9f44a2a0a22c0e80840c;p=lyx.git diff --git a/src/insets/insetcommandparams.h b/src/insets/insetcommandparams.h index 3b26fbce7c..ae6876ba83 100644 --- a/src/insets/insetcommandparams.h +++ b/src/insets/insetcommandparams.h @@ -19,8 +19,9 @@ #include -class LyXLex; +namespace lyx { +class LyXLex; class InsetCommandParams { public: @@ -34,7 +35,7 @@ public: /// void write(std::ostream &) const; /// Build the complete LaTeX command - lyx::docstring const getCommand() const; + docstring const getCommand() const; /// Return the command name std::string const & getCmdName() const { return name_; } /// FIXME remove @@ -54,9 +55,9 @@ public: /// FIXME remove void setContents(std::string const &); /// get parameter \p name - lyx::docstring const & operator[](std::string const & name) const; + docstring const & operator[](std::string const & name) const; /// set parameter \p name - lyx::docstring & operator[](std::string const & name); + docstring & operator[](std::string const & name); /// bool preview() const { return preview_; } /// @@ -82,7 +83,7 @@ private: /// The name of this command as it appears in .lyx and .tex files std::string name_; /// - typedef std::vector ParamVector; + typedef std::vector ParamVector; /// The parameters (both optional and required ones). The order is /// the same that is required for LaTeX output. The size of params_ /// is always info_->n. @@ -101,4 +102,7 @@ bool operator==(InsetCommandParams const &, InsetCommandParams const &); /// bool operator!=(InsetCommandParams const &, InsetCommandParams const &); + +} // namespace lyx + #endif