llmediaimplregister.h

Go to the documentation of this file.
00001 
00032 #ifndef LLIMEDIAIMPLREGISTER_H
00033 #define LLIMEDIAIMPLREGISTER_H
00034 
00035 #include <string>
00036 
00037 #include "llmediaimplfactory.h"
00038 
00040 //
00041 class LLMediaImplRegister
00042 {
00043         public:
00044                 LLMediaImplRegister( std::string impl_name, LLMediaImplMaker* impl_maker ) :
00045                   mImplName( impl_name )
00046                 {
00047                         LLMediaImplFactory::getInstance()->registerImpl( impl_name, impl_maker );
00048                 };
00049 
00050                 std::string getImplName()
00051                 {
00052                         return mImplName;
00053                 };
00054 
00055         private:
00056                 std::string mImplName;
00057 };
00058 
00059 #endif  // LLIMEDIAIMPLREGISTER_H

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