Translate 'stop' to xfeCmdStopLoading (in addition to 'abort'). This is used by the RDF command translation.
git-svn-id: svn://10.0.0.236/trunk@9066 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dd8e829ab2
commit
f0d2463f35
@ -566,7 +566,7 @@ struct CommandList_t
|
||||
static CommandList_t* intern_list;
|
||||
|
||||
char *
|
||||
Command::intern(char *foo)
|
||||
Command::intern(const char *foo)
|
||||
{
|
||||
int middle, first, last;
|
||||
|
||||
@ -653,6 +653,7 @@ static struct cmd_mapping mapping[] = {
|
||||
{ "forward", xfeCmdForward },
|
||||
{ "home", xfeCmdHome },
|
||||
{ "abort", xfeCmdStopLoading },
|
||||
{ "stop", xfeCmdStopLoading },
|
||||
{ "viewHistory", xfeCmdOpenHistory },
|
||||
|
||||
{ "viewBookmark", xfeCmdOpenBookmarks },
|
||||
@ -681,7 +682,7 @@ static struct cmd_mapping mapping[] = {
|
||||
static int num_old_cmds = sizeof(mapping) / sizeof(mapping[0]);
|
||||
|
||||
char *
|
||||
Command::convertOldRemote(char *foo)
|
||||
Command::convertOldRemote(const char *foo)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
@ -60,8 +60,8 @@ typedef char* CommandType;
|
||||
|
||||
class Command {
|
||||
public:
|
||||
static CommandType intern(char* foo);
|
||||
static CommandType convertOldRemote(char* foo);
|
||||
static CommandType intern(const char* foo);
|
||||
static CommandType convertOldRemote(const char* foo);
|
||||
|
||||
static char* getString(CommandType command)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user