]> git.lyx.org Git - lyx.git/blobdiff - src/lfuns.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / lfuns.h
index 54319e8d8e4d46c5585269ad8843bcf7a6c8d75f..d614278d5f553963fdeaf52f622cef75462abb75 100644 (file)
@@ -9,8 +9,8 @@
  * To add a new function:
  * - add a new enum constant immediately before LFUN_LASTACTION
  * - add an appropriate line in LyXAction.C
- * - add a branch to the suitable ::dispatch() methods
- * - add correct test in LyXFunc::getStatus()
+ * - add a branch to a suitable ::doDispatch() method
+ * - add correct test to the corresponding ::getStatus() method
  */
 
 #ifndef LFUNS_H
@@ -22,7 +22,9 @@
  * through which the frontends communicate with the core.
  *
  * They are managed in LyXAction.C and handled in various
- * ::dispatch() functions, starting with LyXFunc.C:dispatch()
+ * ::dispatch() functions, starting with LyXFunc.C:dispatch(),
+ * BufferView_pimpl::dispatch(), LCursor::dispatch() and
+ * Inset*::doDispatch();
  */
 enum kb_action {
        LFUN_UNKNOWN_ACTION = -1,
@@ -333,6 +335,23 @@ enum kb_action {
        LFUN_WORD_FIND,
        LFUN_WORD_REPLACE,
        // 255
+       LFUN_EXPORT_CUSTOM,
+       LFUN_PRINT,
+       LFUN_KEYMAP_TOGGLE,
+       LFUN_NEXT_INSET_TOGGLE,
+       LFUN_ALL_INSETS_TOGGLE,
+       // 260
+       LFUN_LANGUAGE_BUFFER,
+       LFUN_TEXTCLASS_APPLY,
+       LFUN_TEXTCLASS_LOAD,
+       LFUN_SAVE_AS_DEFAULT,
+       LFUN_BUFFERPARAMS_APPLY,
+       // 265
+       LFUN_LYXRC_APPLY,
+       LFUN_GRAPHICS_EDIT,
+       LFUN_INSET_REFRESH,
+       LFUN_NEXTBUFFER,
+       LFUN_PREVIOUSBUFFER,
 
        LFUN_LASTACTION                  // end of the table
 };