1 /* 2 * Copyright 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_ADAPTER_H 9 #define LISTENER_ADAPTER_H 10 11 #include "AbstractLOAdapter.h" 12 #include "Listener.h" 13 14 enum { 15 MSG_OBJECT_CHANGED = 'obch' 16 }; 17 18 class ListenerAdapter : public Listener, public AbstractLOAdapter { 19 public: 20 ListenerAdapter(BHandler* handler); 21 virtual ~ListenerAdapter(); 22 23 virtual void ObjectChanged(const Notifier* object); 24 }; 25 26 #endif // LISTENER_ADAPTER_H 27