summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-12-08 11:56:44 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-12-08 11:56:44 -0800
commit52dd4daadaeaad69c17771ecc1dfdf5de6a2d69f (patch)
treec663cbf3ba052de25543d52298279a4ebd0ba095
parentf4fd622686e1a7aa915cd1539e409e1a1d9e5457 (diff)
adding notes about visible / enable callback registries being merged
-rw-r--r--indra/llui/lluictrl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lluictrl.h b/indra/llui/lluictrl.h
index 983700065d..b9a4f61e15 100644
--- a/indra/llui/lluictrl.h
+++ b/indra/llui/lluictrl.h
@@ -80,6 +80,7 @@ public:
Optional<commit_callback_t> function;
};
+ // also used for visible callbacks
struct EnableCallbackParam : public LLInitParam::Block<EnableCallbackParam, CallbackParam >
{
Optional<enable_callback_t> function;
@@ -260,6 +261,7 @@ public:
{};
class CommitCallbackRegistry : public CallbackRegistry<commit_callback_t, CommitCallbackRegistry>{};
+ // the enable callback registry is also used for visiblity callbacks
class EnableCallbackRegistry : public CallbackRegistry<enable_callback_t, EnableCallbackRegistry>{};
protected: