added message logger / builder floaters
This commit is contained in:
32
indra/newview/llfloatermessagebuilder.h
Normal file
32
indra/newview/llfloatermessagebuilder.h
Normal file
@@ -0,0 +1,32 @@
|
||||
// <edit>]
|
||||
#ifndef LL_LLFLOATERMESSAGEBUILDER_H
|
||||
#define LL_LLFLOATERMESSAGEBUILDER_H
|
||||
#include "llfloater.h"
|
||||
class LLFloaterMessageBuilder : public LLFloater
|
||||
{
|
||||
public:
|
||||
LLFloaterMessageBuilder(std::string initial_text);
|
||||
~LLFloaterMessageBuilder();
|
||||
static void show(std::string initial_text);
|
||||
BOOL postBuild();
|
||||
static BOOL addField(e_message_variable_type var_type, const char* var_name, std::string input, BOOL hex);
|
||||
static void onClickSend(void* user_data);
|
||||
static void onCommitPacketCombo(LLUICtrl* ctrl, void* user_data);
|
||||
static LLFloaterMessageBuilder* sInstance;
|
||||
BOOL handleKeyHere(KEY key, MASK mask);
|
||||
std::string mInitialText;
|
||||
struct parts_var
|
||||
{
|
||||
std::string name;
|
||||
std::string value;
|
||||
BOOL hex;
|
||||
e_message_variable_type var_type;
|
||||
};
|
||||
struct parts_block
|
||||
{
|
||||
std::string name;
|
||||
std::vector<parts_var> vars;
|
||||
};
|
||||
};
|
||||
#endif
|
||||
// </edit>
|
||||
Reference in New Issue
Block a user