]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.h
Replace LString.h with support/std_string.h,
[features.git] / src / lyxfunc.h
index 89037ec0494b15f51ed0e395a992802e32de9e16..788b6f9ddf48efdb9a4c223b7e2e906629c2a84b 100644 (file)
@@ -1,19 +1,27 @@
 // -*- C++ -*-
+/**
+ * \file lyxfunc.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef LYXFUNC_H
 #define LYXFUNC_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-
-#include "FuncStatus.h"
 #include "kbsequence.h"
-#include "commandtags.h"
-#include "LString.h"
+#include "lfuns.h"
+#include "support/std_string.h"
 
 #include <boost/signals/trackable.hpp>
 
+class FuncStatus;
 class LyXView;
 class LyXText;
 class FuncRequest;
@@ -88,7 +96,7 @@ private:
        ///
        key_modifier::state meta_fake_bit;
        ///
-       void moveCursorUpdate(bool flag = true, bool selecting = false);
+       void moveCursorUpdate();
        ///
        void setupLocalKeymap();
        /// Error status, only Dispatch can change this flag
@@ -118,23 +126,6 @@ private:
 
        ///
        void closeBuffer();
-       ///
-       void reloadBuffer();
-       ///
-       //  This return or directly text (default) of getLyXText()
-       ///
-       LyXText * TEXT(bool) const;
-       ///
 };
 
-
-/*--------------------  inlines  --------------------------*/
-
-inline
-bool LyXFunc::wasMetaKey() const
-{
-       return (meta_fake_bit != key_modifier::none);
-}
-
-
 #endif