aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewscript.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpreviewscript.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/linden/indra/newview/llpreviewscript.h b/linden/indra/newview/llpreviewscript.h
index 4aadc8b..9cc0e46 100644
--- a/linden/indra/newview/llpreviewscript.h
+++ b/linden/indra/newview/llpreviewscript.h
@@ -67,6 +67,7 @@ public:
67 const LLViewHandle& floater_handle, 67 const LLViewHandle& floater_handle,
68 void (*load_callback)(void* userdata), 68 void (*load_callback)(void* userdata),
69 void (*save_callback)(void* userdata, BOOL close_after_save), 69 void (*save_callback)(void* userdata, BOOL close_after_save),
70 void (*search_replace_callback)(void* userdata),
70 void* userdata, 71 void* userdata,
71 S32 bottom_pad = 0); // pad below bottom row of buttons 72 S32 bottom_pad = 0); // pad below bottom row of buttons
72 ~LLScriptEdCore(); 73 ~LLScriptEdCore();
@@ -130,6 +131,7 @@ private:
130 LLTextEditor* mEditor; 131 LLTextEditor* mEditor;
131 void (*mLoadCallback)(void* userdata); 132 void (*mLoadCallback)(void* userdata);
132 void (*mSaveCallback)(void* userdata, BOOL close_after_save); 133 void (*mSaveCallback)(void* userdata, BOOL close_after_save);
134 void (*mSearchReplaceCallback) (void* userdata);
133 void* mUserdata; 135 void* mUserdata;
134 LLComboBox *mFunctions; 136 LLComboBox *mFunctions;
135 BOOL mForceClose; 137 BOOL mForceClose;
@@ -169,14 +171,15 @@ protected:
169 const LLUUID& item_id, 171 const LLUUID& item_id,
170 const LLTransactionID& tid); 172 const LLTransactionID& tid);
171 173
174 static void onSearchReplace(void* userdata);
172 static void onLoad(void* userdata); 175 static void onLoad(void* userdata);
173 static void onSave(void* userdata, BOOL close_after_save); 176 static void onSave(void* userdata, BOOL close_after_save);
174 177
175 static void onLoadComplete(LLVFS *vfs, const LLUUID& uuid, 178 static void onLoadComplete(LLVFS *vfs, const LLUUID& uuid,
176 LLAssetType::EType type, 179 LLAssetType::EType type,
177 void* user_data, S32 status); 180 void* user_data, S32 status, LLExtStat ext_status);
178 static void onSaveComplete(const LLUUID& uuid, void* user_data, S32 status); 181 static void onSaveComplete(const LLUUID& uuid, void* user_data, S32 status, LLExtStat ext_status);
179 static void onSaveBytecodeComplete(const LLUUID& asset_uuid, void* user_data, S32 status); 182 static void onSaveBytecodeComplete(const LLUUID& asset_uuid, void* user_data, S32 status, LLExtStat ext_status);
180 static LLPreviewLSL* getInstance(const LLUUID& uuid); 183 static LLPreviewLSL* getInstance(const LLUUID& uuid);
181 184
182 static void* createScriptEdPanel(void* userdata); 185 static void* createScriptEdPanel(void* userdata);
@@ -229,14 +232,15 @@ protected:
229 const LLTransactionID& tid, 232 const LLTransactionID& tid,
230 BOOL is_running); 233 BOOL is_running);
231 234
235 static void onSearchReplace(void* userdata);
232 static void onLoad(void* userdata); 236 static void onLoad(void* userdata);
233 static void onSave(void* userdata, BOOL close_after_save); 237 static void onSave(void* userdata, BOOL close_after_save);
234 238
235 static void onLoadComplete(LLVFS *vfs, const LLUUID& asset_uuid, 239 static void onLoadComplete(LLVFS *vfs, const LLUUID& asset_uuid,
236 LLAssetType::EType type, 240 LLAssetType::EType type,
237 void* user_data, S32 status); 241 void* user_data, S32 status, LLExtStat ext_status);
238 static void onSaveTextComplete(const LLUUID& asset_uuid, void* user_data, S32 status); 242 static void onSaveTextComplete(const LLUUID& asset_uuid, void* user_data, S32 status, LLExtStat ext_status);
239 static void onSaveBytecodeComplete(const LLUUID& asset_uuid, void* user_data, S32 status); 243 static void onSaveBytecodeComplete(const LLUUID& asset_uuid, void* user_data, S32 status, LLExtStat ext_status);
240 static void onRunningCheckboxClicked(LLUICtrl*, void* userdata); 244 static void onRunningCheckboxClicked(LLUICtrl*, void* userdata);
241 static void onReset(void* userdata); 245 static void onReset(void* userdata);
242 246