llcallbackmap.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_CALLBACK_MAP_H
00033 #define LL_CALLBACK_MAP_H
00034 
00035 #include <map>
00036 #include "llstring.h"
00037 
00038 class LLCallbackMap
00039 {
00040 public:
00041         // callback definition.
00042         typedef void* (*callback_t)(void* data);
00043         
00044         typedef std::map<LLString, LLCallbackMap> map_t;
00045         typedef map_t::iterator map_iter_t;
00046         typedef map_t::const_iterator map_const_iter_t;
00047 
00048         LLCallbackMap() : mCallback(NULL), mData(NULL) { }
00049         LLCallbackMap(callback_t callback, void* data) : mCallback(callback), mData(data) { }
00050 
00051         callback_t      mCallback;
00052         void*           mData;
00053 };
00054 
00055 #endif // LL_CALLBACK_MAP_H

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