Added some debugging tools to the preview assets.

This commit is contained in:
phr0z3nt04st
2010-07-08 13:24:10 -05:00
parent 82aef8fa4c
commit c0ad0f82a9
16 changed files with 1091 additions and 45 deletions

View File

@@ -84,6 +84,11 @@ public:
// asset system. :(
void refreshFromInventory();
// <edit>
LLUUID getNotecardItemID();
LLUUID getObjectID();
virtual LLUUID getItemID();
// </edit>
protected:
virtual void loadAsset();
@@ -97,6 +102,8 @@ protected:
void* user_data, S32 status, LLExtStat ext_status);
static void onClickSave(void* data);
// <edit>
static void onClickGetItems(void* data);
static void onSaveComplete(const LLUUID& asset_uuid,
void* user_data,
@@ -114,6 +121,11 @@ protected:
LLUUID mNotecardItemID;
LLUUID mObjectID;
// <edit>
virtual BOOL canSaveAs() const;
virtual void saveAs();
// </edit>
};