X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFuncRequest.h;h=993f0a24bbcca4436a96e85ae31b39cb282edc64;hb=aee4e7ba34d87f609ea50327449b3eb67731561a;hp=6aaad7bb8e10b16aed32218a1b5a55f1e0f004ef;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/FuncRequest.h b/src/FuncRequest.h index 6aaad7bb8e..993f0a24bb 100644 --- a/src/FuncRequest.h +++ b/src/FuncRequest.h @@ -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_; }