summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewnotecard.h
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-04-29 16:09:00 +0300
committerAlexei Arabadji <aarabadji@productengine.com>2010-04-29 16:09:00 +0300
commit85e3432579844afa8f76b4071329264f85711507 (patch)
treeb27e91ddd6af1890a294361ed508ff6bf311de6a /indra/newview/llpreviewnotecard.h
parent8dae4c265e75e93ce3691ea1143e314f2fa84d93 (diff)
fixed EXT-6736 Notecard floater missing Keep/Discard Buttons (vwr 2.0)
Added missing 'Delete' button to the Notecard Preview dialog; reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/330/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpreviewnotecard.h')
-rw-r--r--indra/newview/llpreviewnotecard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpreviewnotecard.h b/indra/newview/llpreviewnotecard.h
index e0363eef54..98de99aa33 100644
--- a/indra/newview/llpreviewnotecard.h
+++ b/indra/newview/llpreviewnotecard.h
@@ -83,6 +83,8 @@ protected:
virtual void loadAsset();
bool saveIfNeeded(LLInventoryItem* copyitem = NULL);
+ void deleteNotecard();
+
static void onLoadComplete(LLVFS *vfs,
const LLUUID& asset_uuid,
LLAssetType::EType type,
@@ -90,6 +92,8 @@ protected:
static void onClickSave(void* data);
+ static void onClickDelete(void* data);
+
static void onSaveComplete(const LLUUID& asset_uuid,
void* user_data,
S32 status, LLExtStat ext_status);