]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.h
Alfredo's second patch
[lyx.git] / src / LyXAction.h
index 906a9a44762eaf3573c849efd23f280487f31f2c..b9770f8d334d2fb0ef2b5588b087dd135da96c21 100644 (file)
@@ -8,10 +8,6 @@
 #ifndef LYXACTION_H
 #define LYXACTION_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include <map>
 
 #include "funcrequest.h"
@@ -32,8 +28,6 @@ private:
                string name;
                /// the func_attrib values set
                unsigned int attrib;
-               /// the help text for this action
-               string helpText;
        };
 
 public:
@@ -80,9 +74,6 @@ public:
        /// Return the name (and argument) associated with the given (pseudo) action
        string const getActionName(int action) const;
 
-       /// Return one line help text associated with (pseudo)action
-       string const helpText(int action) const;
-
        /// True if the command has `flag' set
        bool funcHasFlag(kb_action action, func_attrib flag) const;
 
@@ -99,8 +90,7 @@ private:
        /// populate the action container with our actions
        void init();
        /// add the given action
-       void newFunc(kb_action, string const & name,
-                    string const & helpText, unsigned int attrib);
+       void newFunc(kb_action, string const & name, unsigned int attrib);
 
        /**
         * This is a list of all the LyXFunc names with the
@@ -111,7 +101,7 @@ private:
 
        /**
         * This is a mapping from action number to an object holding
-        * info about this action. f.ex. helptext, command name (string),
+        * info about this action. f.ex. command name (string),
         * command attributes (ro)
         */
        info_map lyx_info_map;
@@ -131,5 +121,5 @@ private:
 
 /// singleton instance
 extern LyXAction lyxaction;
+
 #endif // LYXACTION_H