#ifndef LYXACTION_H
#define LYXACTION_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include <map>
#include "funcrequest.h"
string name;
/// the func_attrib values set
unsigned int attrib;
- /// the help text for this action
- string helpText;
};
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;
/// 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
/**
* 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;