X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFuncRequest.h;h=2f25d0ade3b899420c191e3994924b73199122b3;hb=90f7007a2e6c78ffd031e4636ff909ab1bc2ddec;hp=b8cfd196271dcda200c871de5b1dffa96133cad3;hpb=b79d8e5e2d20e8f294d47fe924c20de17dbd5c0b;p=lyx.git diff --git a/src/FuncRequest.h b/src/FuncRequest.h index b8cfd19627..2f25d0ade3 100644 --- a/src/FuncRequest.h +++ b/src/FuncRequest.h @@ -21,6 +21,8 @@ namespace lyx { +class LyXErr; + /** * This class encapsulates a LyX action and its argument * in order to pass it around easily. @@ -35,6 +37,7 @@ public: TOOLBAR, // A toolbar icon KEYBOARD, // a keyboard binding COMMANDBUFFER, + LYXSERVER, TOC }; @@ -88,10 +91,10 @@ public: /// static FuncRequest const noaction; private: - /// the action's string argument - docstring argument_; /// the action FuncCode action_; + /// the action's string argument + docstring argument_; /// who initiated the action Origin origin_; /// the x coordinate of a mouse press @@ -107,6 +110,8 @@ bool operator==(FuncRequest const & lhs, FuncRequest const & rhs); std::ostream & operator<<(std::ostream &, FuncRequest const &); +LyXErr & operator<<(LyXErr &, FuncRequest const &); + } // namespace lyx