mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
eb685b7b45
commit
ce99fc7d76
2 changed files with 0 additions and 12 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue