diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-03-12 16:48:49 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-03-12 16:48:49 +0200 |
commit | 72d68cbc078cf2c1b9dc3ff81c2c1965f5d6f8c5 (patch) | |
tree | 43711174b0f5cc30c2bc9b95d3731f494749e2a6 /indra/llui/llluafloater.h | |
parent | ee8bc528bbf97ee8cc488651fb263b07b5c1c818 (diff) |
Initial implementation of LLLuaFloater
Diffstat (limited to 'indra/llui/llluafloater.h')
-rw-r--r-- | indra/llui/llluafloater.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/indra/llui/llluafloater.h b/indra/llui/llluafloater.h new file mode 100644 index 0000000000..0b7e86746a --- /dev/null +++ b/indra/llui/llluafloater.h @@ -0,0 +1,52 @@ +/** + * @file llluafloater.h + * + * $LicenseInfo:firstyear=2024&license=viewerlgpl$ + * Second Life Viewer Source Code + * Copyright (C) 2024, Linden Research, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; + * version 2.1 of the License only. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA + * $/LicenseInfo$ + */ + +#ifndef LL_LLLUAFLOATER_H +#define LL_LLLUAFLOATER_H + +#include "llfloater.h" +#include "lleventdispatcher.h" +#include "llevents.h" + +class LLLuaFloater : public LLFloater +{ +public: + LLLuaFloater(const LLSD &key); + BOOL postBuild(); + + void onClose(bool app_quitting); + + void post(const LLSD &data); + static void showLuaFloater(const LLSD &data); + +private: + LLReqID mReqID; + LLEventDispatcher mDispatcher; + LLTempBoundListener mBoundListener; + + std::string mListenerPumpName; + std::string mCommandPumpName; +}; +#endif |