]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.h
EmbeddedObjects.lyx, Math.lyx, UserGuide.lyx: Spanish translation updates by Ignacio
[lyx.git] / src / LyXAction.h
index 42d38c602adab73fbd9ab1faf766874f4898eeab..b39cec7bdd09b6f2fe39842ab31ebe586e14412f 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 Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author John Levon
  *
  * Full author contact details are available in file CREDITS.
 namespace lyx {
 
 class FuncRequest;
+class LyXErr;
 
 /**
  * This class is a container for LyX actions. It associates a name to
- * most of them and describes some of there properties.
+ * most of them and describes some of their properties.
  */
 class LyXAction {
 public:
@@ -82,7 +83,7 @@ public:
        /// Return the name (and argument) associated with the given (pseudo) action
        std::string const getActionName(FuncCode action) const;
 
-       func_type const getActionType(FuncCode action) const;
+        func_type getActionType(FuncCode action) const;
 
        /// True if the command has `flag' set
        bool funcHasFlag(FuncCode action, func_attrib flag) const;
@@ -117,6 +118,8 @@ private:
        info_map lyx_info_map;
 };
 
+LyXErr & operator<<(LyXErr &, FuncCode);
+
 /// singleton instance
 extern LyXAction lyxaction;