summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewnotecard.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreviewnotecard.h')
-rw-r--r--indra/newview/llpreviewnotecard.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpreviewnotecard.h b/indra/newview/llpreviewnotecard.h
index be3c804f9b..a7289ebc9a 100644
--- a/indra/newview/llpreviewnotecard.h
+++ b/indra/newview/llpreviewnotecard.h
@@ -108,7 +108,8 @@ protected:
bool onExternalChange(const std::string& filename);
bool loadNotecardText(const std::string& filename);
bool writeToFile(const std::string& filename);
- std::string getTmpFileName();
+ std::string getCleanNameForTmpFile() const;
+ std::string getTmpFileName(const std::string& note_name) const;
protected:
LLViewerTextEditor* mEditor = nullptr;
@@ -118,6 +119,8 @@ protected:
LLButton* mDeleteBtn = nullptr;
LLUICtrl* mLockBtn = nullptr;
+ std::string mNoteName;
+
LLUUID mAssetID;
LLUUID mObjectID;