diff options
| author | Debi King (Dessie) <dessie@lindenlab.com> | 2012-01-19 15:49:48 -0500 |
|---|---|---|
| committer | Debi King (Dessie) <dessie@lindenlab.com> | 2012-01-19 15:49:48 -0500 |
| commit | 7e9ba401d1489ef96c5315f03332f28d62d97899 (patch) | |
| tree | c2eabeb3f4f635ae49e5a3e9b07da54dad30eee2 /indra/newview/llpreviewscript.h | |
| parent | 2abb1a81c56a27eab02157851cb9e67730231bb6 (diff) | |
| parent | 4c5141c5677a2e98c1331026d4e119abee6ab2ae (diff) | |
reconciled .hgtags
Diffstat (limited to 'indra/newview/llpreviewscript.h')
| -rw-r--r-- | indra/newview/llpreviewscript.h | 6 |
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; } |
