diff options
author | nat-goodspeed <nat@lindenlab.com> | 2023-07-18 18:15:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 18:15:56 +0300 |
commit | 64a0911eeff765e43e634b7bad857a26cc931ce0 (patch) | |
tree | 6019f8ead7a11f745380c83d1967d2136a347177 /indra/llcommon/lleventapi.cpp | |
parent | 4c848c8258aa0f8a29aed0bebf9cdbcf32a2c96f (diff) | |
parent | 3b46c892719ced98cdb3265801cd5f62353b3ced (diff) |
Merge pull request #280 from secondlife/dispatch-maint-v2
Major improvements to LLLeap functionality
Diffstat (limited to 'indra/llcommon/lleventapi.cpp')
-rw-r--r-- | indra/llcommon/lleventapi.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcommon/lleventapi.cpp b/indra/llcommon/lleventapi.cpp index ff5459c1eb..3d46ef1034 100644 --- a/indra/llcommon/lleventapi.cpp +++ b/indra/llcommon/lleventapi.cpp @@ -35,6 +35,7 @@ // external library headers // other Linden headers #include "llerror.h" +#include "lazyeventapi.h" LLEventAPI::LLEventAPI(const std::string& name, const std::string& desc, const std::string& field): lbase(name, field), @@ -43,6 +44,13 @@ LLEventAPI::LLEventAPI(const std::string& name, const std::string& desc, const s { } +LLEventAPI::LLEventAPI(const LL::LazyEventAPIParams& params): + LLEventAPI(params.name, params.desc, params.field) +{ + // call initialization functions with our brand-new instance pointer + params.init(this); +} + LLEventAPI::~LLEventAPI() { } |