2010-05-07 04:47:10 -05:00
|
|
|
/*
|
2011-12-03 16:38:03 -06:00
|
|
|
* Copyright 2009-2011, Andrea Anzani. All rights reserved.
|
2010-05-07 04:47:10 -05:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef Observer_h_
|
|
|
|
#define Observer_h_
|
|
|
|
|
|
|
|
#include <String.h>
|
|
|
|
|
|
|
|
class Notifier;
|
|
|
|
|
|
|
|
class Observer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void ObserveString(int32 what, BString str) {};
|
|
|
|
virtual void ObserveInteger(int32 what, int32 value) {};
|
|
|
|
virtual void ObservePointer(int32 what, void* ptr) {};
|
|
|
|
};
|
|
|
|
#endif
|