summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateruipreview.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-10-07 20:54:31 +0000
committerJames Cook <james@lindenlab.com>2009-10-07 20:54:31 +0000
commitec84b639ed71c1dac8457867148d8aea6d595685 (patch)
tree71f46df7991cff5a9e9cf500c9b3c339d84a2637 /indra/newview/llfloateruipreview.h
parentec278c9dfb71d9ccebacc858240a08d02c758b88 (diff)
EXT-1339 Create onClose method in LLFloater, and remove most bindings to mCloseSignal. In the vast majority of cases, mCloseSignal is being bound to an onClose function. Just make it virtual and be done with it. Renamed a couple of LLPanel close methods to onClosePanel() to distinguish them. Reviewed with Richard.
Diffstat (limited to 'indra/newview/llfloateruipreview.h')
-rw-r--r--indra/newview/llfloateruipreview.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llfloateruipreview.h b/indra/newview/llfloateruipreview.h
index b8c378e2e9..2a98c90727 100644
--- a/indra/newview/llfloateruipreview.h
+++ b/indra/newview/llfloateruipreview.h
@@ -96,7 +96,9 @@ public:
std::string getLocStr(S32 ID); // fetches the localization string based on what is selected in the drop-down menu
void displayFloater(BOOL click, S32 ID, bool save = false); // needs to be public so live file can call it when it finds an update
- BOOL postBuild(); // post-build setup (called by superclass' constructor)
+ /*virtual*/ BOOL postBuild();
+ /*virtual*/ void onClose(bool app_quitting);
+
void refreshList(); // refresh list (empty it out and fill it up from scratch)
void addFloaterEntry(const std::string& path); // add a single file's entry to the list of floaters
@@ -116,9 +118,6 @@ public:
typedef std::map<std::string, std::pair<StringListPtr,StringListPtr> > DiffMap;
DiffMap mDiffsMap; // map, of filename to pair of list of changed element paths and list of errors
-protected:
- void onClose(const LLSD& app_quitting);
-
private:
// XUI elements for this floater
LLScrollListCtrl* mFileList; // scroll list control for file list