X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FDispatcher.hh;h=bbce87872e67e1afdcf0b0c21b19f9ff56a83fd3;hb=892da43bf5796e7c5f593a6d0f53bd797a36bd3e;hp=14d8998bccd10392b3dc4cb4dd46fb678cb32eb0;hpb=33842c860fe18ca8cf087905992885687434320c;p=chaz%2Fyoink diff --git a/src/Moof/Dispatcher.hh b/src/Moof/Dispatcher.hh index 14d8998..bbce878 100644 --- a/src/Moof/Dispatcher.hh +++ b/src/Moof/Dispatcher.hh @@ -46,7 +46,7 @@ namespace Mf { class Notification { public: - virtual ~Notification(); + virtual ~Notification() {}; }; @@ -61,6 +61,9 @@ class Dispatcher public: + // TODO - the Handler would be even better as an object which automagically + // removes itself from the dispatcher on destruction, so users don't have to + // worry about forgetting typedef void* Handler; typedef boost::function Function;