llmediaimplexample2.h

Go to the documentation of this file.
00001 
00032 #ifndef LLMEDIAIMPLEXAMPLE2_H
00033 #define LLMEDIAIMPLEXAMPLE2_H
00034 
00035 #include "llmediaimplcommon.h"
00036 #include "llmediaimplfactory.h"
00037 
00038 class LLMediaManagerData;
00039 class LLMediaImplMaker;
00040 
00041 class LLMediaImplExample2 :
00042         public LLMediaImplCommon
00043 {
00044         public:
00045                 LLMediaImplExample2();
00046 
00047                 static bool startup( LLMediaManagerData* init_data );
00048                 static bool closedown();
00049 
00050                 /* virtual */ bool init();
00051                 /* virtual */ bool navigateTo( const std::string url );
00052                 /* virtual */ bool load( const std::string url );
00053                 /* virtual */ std::string getVersion();
00054                 /* virtual */ bool updateMedia();
00055                 /* virtual */ unsigned char* getMediaData();
00056                 /* virtual */ bool reset();
00057         /* virtual */ bool setRequestedMediaSize( int width, int height );
00058 
00059         private:
00060                 unsigned char* mMediaPixels;
00061                 int mXpos;
00062                 int mYpos;
00063 };
00064 
00065 class LLMediaImplExample2Maker : public LLMediaImplMaker
00066 {
00067         public:
00068                 LLMediaImplExample2Maker();
00069                 LLMediaImplExample2* create()
00070                 {
00071                         return new LLMediaImplExample2();
00072                 }
00073 };
00074 
00075 #endif  // LLMEDIAIMPLEXAMPLE2_H

Generated on Fri May 16 08:32:20 2008 for SecondLife by  doxygen 1.5.5