]> git.lyx.org Git - lyx.git/blobdiff - src/FuncRequest.h
Update my email and status.
[lyx.git] / src / FuncRequest.h
index b8cfd196271dcda200c871de5b1dffa96133cad3..2f25d0ade3b899420c191e3994924b73199122b3 100644 (file)
@@ -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