Bazaar/XMLMenu : removed a couple of Add() in commands because of overloading mismatches

git-svn-id: svn://ultimatepp.org/upp/trunk@4247 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2011-12-05 08:49:41 +00:00
parent eb685b7b45
commit ce99fc7d76
2 changed files with 0 additions and 12 deletions

View file

@ -40,11 +40,6 @@ XMLCommands &XMLCommands::Add(String const &id, String const &cmdStr)
return *this;
}
XMLCommands &XMLCommands::Add(String const &id)
{
return Add(id, id);
}
// adds a built-in command with given callback
XMLCommands &XMLCommands::Add(String const &id, Callback cb)
{
@ -105,11 +100,6 @@ XMLCommands &XMLCommands::Add(bool enabled, String const &id, String const &cmdS
return *this;
}
XMLCommands &XMLCommands::Add(bool enabled, String const &id)
{
return Add(enabled, id, id);
}
// adds a built-in command with given callback, allows enable/disable item
XMLCommands &XMLCommands::Add(bool enabled, String const &id, Callback cb)
{

View file

@ -62,7 +62,6 @@ class XMLCommands : DeepCopyOption<XMLCommands>
XMLCommands(XMLCommands pick_ &cmds) : commands(cmds.commands) {}
// adds a custom command
XMLCommands &Add(String const &id);
XMLCommands &Add(String const &id, String const &cmd);
// adds a built-in command with given callback
@ -73,7 +72,6 @@ class XMLCommands : DeepCopyOption<XMLCommands>
XMLCommands &Add(String const &id, Ctrl &ctrl, Size const &size);
// adds a custom command, allows enable/disable item
XMLCommands &Add(bool enabled, String const &id);
XMLCommands &Add(bool enabled, String const &id, String const &cmd);
// adds a built-in command with given callback, allows enable/disable item