00001 00002 #ifndef PV_ENGINE_OBSERVER_H_INCLUDED 00003 #define PV_ENGINE_OBSERVER_H_INCLUDED 00004 00005 #ifndef PV_ENGINE_OBSERVER_MESSAGE_H_INCLUDED 00006 #include "pv_engine_observer_message.h" 00007 #endif 00008 00020 class PVErrorEventObserver 00021 { 00022 public: 00028 virtual void HandleErrorEvent(const PVAsyncErrorEvent& aEvent) = 0; 00029 virtual ~PVErrorEventObserver() {} 00030 }; 00031 00043 class PVInformationalEventObserver 00044 { 00045 public: 00051 virtual void HandleInformationalEvent(const PVAsyncInformationalEvent& aEvent) = 0; 00052 virtual ~PVInformationalEventObserver() {} 00053 }; 00054 00055 00068 class PVCommandStatusObserver 00069 { 00070 public: 00076 virtual void CommandCompleted(const PVCmdResponse& aResponse) = 0; 00077 virtual ~PVCommandStatusObserver() {} 00078 }; 00079 00080 #endif // PV_ENGINE_OBSERVER_H_INCLUDED 00081 00082 00083