1 /* 2 * Copyright 2006-2007, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 #ifndef LISTENER_H 9 #define LISTENER_H 10 11 #include <SupportDefs.h> 12 13 class Notifier; 14 15 class Listener { 16 public: 17 Listener(); 18 virtual ~Listener(); 19 20 virtual void ObjectChanged(const Notifier* object) = 0; 21 }; 22 23 #endif // LISTENER_H 24