summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.h
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2012-01-09 09:56:52 -0800
committerLeslie Linden <leslie@lindenlab.com>2012-01-09 09:56:52 -0800
commit1422be8312fcf19cbeecda8c109ea1e7b11eaa49 (patch)
tree7d78e1590126e849750755ab73f09edf8de9bc17 /indra/newview/llpreviewscript.h
parentc98bf3cd509dd7bf10837713a911f9932c476e1f (diff)
parent3dfb1536fa3bb85f6648a76591e80c3feea9eb83 (diff)
Merge from viewer-development
Diffstat (limited to 'indra/newview/llpreviewscript.h')
-rw-r--r--indra/newview/llpreviewscript.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpreviewscript.h b/indra/newview/llpreviewscript.h
index f86be615c4..7563cecd9d 100644
--- a/indra/newview/llpreviewscript.h
+++ b/indra/newview/llpreviewscript.h
@@ -79,6 +79,7 @@ public:
/*virtual*/ BOOL postBuild();
BOOL canClose();
void setEnableEditing(bool enable);
+ bool canLoadOrSaveToFile( void* userdata );
void setScriptText(const std::string& text, BOOL is_valid);
bool loadScriptText(const std::string& filename);
@@ -98,6 +99,11 @@ public:
static void onClickForward(void* userdata);
static void onBtnInsertSample(void*);
static void onBtnInsertFunction(LLUICtrl*, void*);
+ static void onBtnLoadFromFile(void*);
+ static void onBtnSaveToFile(void*);
+
+ static bool enableSaveToFileMenu(void* userdata);
+ static bool enableLoadFromFileMenu(void* userdata);
virtual bool hasAccelerators() const { return true; }