| 654 | } |
| 655 | |
| 656 | void Dictionary::addVariableNotify(const char *name, const Con::NotifyDelegate &callback) |
| 657 | { |
| 658 | Entry *ent = lookup(StringTable->insert(name)); |
| 659 | if (!ent) |
| 660 | return; |
| 661 | |
| 662 | if (!ent->notify) |
| 663 | ent->notify = new Entry::NotifySignal(); |
| 664 | |
| 665 | ent->notify->notify(callback); |
| 666 | } |
| 667 | |
| 668 | void Dictionary::removeVariableNotify(const char *name, const Con::NotifyDelegate &callback) |
| 669 | { |
no test coverage detected