llmediaemitterevents.h

Go to the documentation of this file.
00001 
00032 // header guard
00033 #ifndef llmediaemitterevents_h
00034 #define llmediaemitterevents_h
00035 
00036 #include "stdtypes.h"
00037 
00038 
00039 class LLMediaEvent
00040 {
00041         public:
00042                 LLMediaEvent ( S32 actionIn, const LLString& urlIn, void* data = NULL ):
00043                         action ( actionIn ),
00044                         url ( urlIn ),
00045                         mData(data)
00046                 { }
00047 
00048                 virtual ~LLMediaEvent () { }
00049 
00050                 S32 getAction () const { return action; }
00051                 LLString getUrl () const { return url; }
00052                 void* getData() const { return mData; }
00053 
00054         private:
00055                 S32 action;
00056                 std::string url;
00057                 void* mData;
00058 };
00059 
00060 
00061 #endif // llmediaemitterevents_h

Generated on Thu Jul 1 06:08:51 2010 for Second Life Viewer by  doxygen 1.4.7