| 720 | } |
| 721 | |
| 722 | void Dictionary::addVariableNotify( const char *name, const Con::NotifyDelegate &callback ) |
| 723 | { |
| 724 | Entry *ent = lookup(StringTable->insert(name)); |
| 725 | if ( !ent ) |
| 726 | return; |
| 727 | |
| 728 | if ( !ent->notify ) |
| 729 | ent->notify = new Entry::NotifySignal(); |
| 730 | |
| 731 | ent->notify->notify( callback ); |
| 732 | } |
| 733 | |
| 734 | void Dictionary::removeVariableNotify( const char *name, const Con::NotifyDelegate &callback ) |
| 735 | { |
no test coverage detected