00001 00032 // header guard 00033 #ifndef llmediaobservers_h 00034 #define llmediaobservers_h 00035 00036 #include "llmediaemitterevents.h" 00037 00038 class LLMediaObserver 00039 { 00040 public: 00041 typedef LLMediaEvent EventType; 00042 virtual ~LLMediaObserver() {} 00043 virtual void onInit ( const EventType& eventIn ) { } 00044 virtual void onSetUrl ( const EventType& eventIn ) { } 00045 virtual void onLoad ( const EventType& eventIn ) { } 00046 virtual void onPlay ( const EventType& eventIn ) { } 00047 virtual void onPause ( const EventType& eventIn ) { } 00048 virtual void onStop ( const EventType& eventIn ) { } 00049 virtual void onUnload ( const EventType& eventIn ) { } 00050 virtual void onPopupMessage ( const EventType& eventIn ) { } 00051 }; 00052 00053 00054 #endif // llmediaobservers_h