diff options
author | Richard Nelson <none@none> | 2010-07-30 09:56:49 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-07-30 09:56:49 -0700 |
commit | 989552161d94a0371bb0f9a19da379a523881889 (patch) | |
tree | 68f513f7697e07fe3a74b362636cecc6a06f8075 /indra/llui/llcallbackmap.h | |
parent | fdb5223031a9909abe667e7ec49e7b5ad7388cfc (diff) |
added LLPanel::childSetAction() that does not take a void* argument
implemented childGetVisibleTab/PanelWithHelp using breadth-first-search iterator
moved tentative state from llview to lluictrl
changes llcallbackmap to use boost::function
Diffstat (limited to 'indra/llui/llcallbackmap.h')
-rw-r--r-- | indra/llui/llcallbackmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llcallbackmap.h b/indra/llui/llcallbackmap.h index 97b1e2fc50..60c4fc6b6d 100644 --- a/indra/llui/llcallbackmap.h +++ b/indra/llui/llcallbackmap.h @@ -35,12 +35,13 @@ #include <map> #include <string> +#include <boost/function.hpp> class LLCallbackMap { public: // callback definition. - typedef void* (*callback_t)(void* data); + typedef boost::function<void* (void* data)> callback_t; typedef std::map<std::string, LLCallbackMap> map_t; typedef map_t::iterator map_iter_t; |