]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/command_inset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / command_inset.h
index 772f88054b95b95c73a518e48656ed710f5945b3..df5981f71ed9311d87555ac355ed2ab3ff0e8fd1 100644 (file)
@@ -1,9 +1,23 @@
+// -*- C++ -*-
+
+/**
+ *  \file command_inset.h
+ *
+ *  This file is part of LyX, the document processor.
+ *  Licence details can be found in the file COPYING.
+ *
+ *  \author André Pönitz
+ *
+ *  Full author contact details are available in file CREDITS.
+ */
+
+
 #ifndef COMMAND_INSET_H
 #define COMMAND_INSET_H
 
 #include "button_inset.h"
 
-// for things like \name[options]{contents}
+/// Inset for things like \name[options]{contents}
 class CommandInset : public ButtonInset {
 public:
        /// name, contents, options deliminited by '|++|'
@@ -15,7 +29,7 @@ public:
        ///
        //void infoize(std::ostream & os) const;
        ///
-       //int dispatch(string const & cmd, idx_type idx, pos_type pos);
+       dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
        ///
        string screenLabel() const;
 public: