]> git.lyx.org Git - lyx.git/blobdiff - src/FuncRequest.h
Reorder a bit status messages, but they are still cleared at the end of LyXFunc
[lyx.git] / src / FuncRequest.h
index 6aaad7bb8e10b16aed32218a1b5a55f1e0f004ef..993f0a24bbcca4436a96e85ae31b39cb282edc64 100644 (file)
@@ -34,7 +34,8 @@ public:
                MENU, // A menu entry
                TOOLBAR, // A toolbar icon
                KEYBOARD, // a keyboard binding
-               COMMANDBUFFER
+               COMMANDBUFFER, 
+               TOC
        };
 
        /// just for putting these things in std::container
@@ -63,6 +64,10 @@ public:
        /// argument parsing, extract argument i as std::string
        std::string getArg(unsigned int i) const;
 
+       /// argument parsing, extract argument i as std::string,
+       /// eating all characters up to the end of the command line
+       std::string getLongArg(unsigned int i) const;
+
        /// access the whole argument
        docstring const & argument() const { return argument_; }