Observer.h 404 B

1234567891011121314151617181920
  1. /*
  2. * Copyright 2009-2011, Andrea Anzani. All rights reserved.
  3. * Distributed under the terms of the MIT License.
  4. */
  5. #ifndef Observer_h_
  6. #define Observer_h_
  7. #include <String.h>
  8. class Notifier;
  9. class Observer
  10. {
  11. public:
  12. virtual void ObserveString(int32 what, BString str) {};
  13. virtual void ObserveInteger(int32 what, int32 value) {};
  14. virtual void ObservePointer(int32 what, void* ptr) {};
  15. };
  16. #endif