00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef HxObjectObserver_h
00012 #define HxObjectObserver_h
00013
00014 #include "HxString.h"
00015
00016 class HxObjectObserver
00017 {
00018 public:
00019 HxObjectObserver(HxString className = "");
00020 virtual ~HxObjectObserver();
00021
00022 virtual void constructed(HxString name) const;
00023 virtual void constructed(int id) const;
00024 virtual void destructed(HxString name) const;
00025 virtual void destructed(int id) const;
00026 private:
00027 HxString _className;
00028 };
00029
00030 inline
00031 HxObjectObserver::HxObjectObserver(HxString className)
00032 : _className(className) {}
00033
00034 #endif