]> git.lyx.org Git - lyx.git/blobdiff - src/FuncRequest.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / FuncRequest.h
index de762b0124271a74723286cbf6aaf995c6bc7697..993f0a24bbcca4436a96e85ae31b39cb282edc64 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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_; }