diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-12-14 14:12:01 -0600 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-12-14 14:12:01 -0600 |
commit | 3c858d7e2d6633df14df473a918d2fb848403972 (patch) | |
tree | 62b36692a0c1df2f34a85bc7fd4111afb2737d81 /indra/llcommon/lleventapi.cpp | |
parent | 8b86e2ad1b1326cb3e98acd857dc93f4f1455b8c (diff) | |
parent | 32de0cb67d824498d0fc9d489ce19731ebfddfdf (diff) |
Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601
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() { } |