class Notification
{
public:
- virtual ~Notification();
+ virtual ~Notification() {};
};
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<void(const Notification*)> Function;