diff options
author | Kelly Washington <kelly@lindenlab.com> | 2007-05-30 17:39:09 +0000 |
---|---|---|
committer | Kelly Washington <kelly@lindenlab.com> | 2007-05-30 17:39:09 +0000 |
commit | 3e9872a297c3cf3f929e688e0e89a78f6bc050f5 (patch) | |
tree | ab3877f764cc27dbdca0b683f07e6ea3a3ac8a23 /indra/newview/llpanelclassified.h | |
parent | 7b61f1d0ec30e97fd3b7c5caf4b0e675c6e9a1f5 (diff) |
merge -r61423:62602 svn/branches/maintenance --> release
Diffstat (limited to 'indra/newview/llpanelclassified.h')
-rw-r--r-- | indra/newview/llpanelclassified.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/indra/newview/llpanelclassified.h b/indra/newview/llpanelclassified.h index c959c0f82f..ca6a05eb31 100644 --- a/indra/newview/llpanelclassified.h +++ b/indra/newview/llpanelclassified.h @@ -43,10 +43,14 @@ public: /*virtual*/ void draw(); - void refresh(); + /*virtual*/ void refresh(); void apply(); + // If can close, return TRUE. If cannot close, pop save/discard dialog + // and return FALSE. + BOOL canClose(); + // Setup a new classified, including creating an id, giving a sane // initial position, etc. void initNewClassified(); @@ -74,6 +78,8 @@ public: static void callbackConfirmPublish(S32 option, void* data); protected: + static void saveCallback(S32 option, void* data); + static void onClickUpdate(void* data); static void onClickTeleport(void* data); static void onClickMap(void* data); @@ -87,6 +93,8 @@ protected: protected: BOOL mInFinder; + bool mDirty; + bool mForceClose; LLUUID mClassifiedID; LLUUID mRequestedID; LLUUID mCreatorID; @@ -95,7 +103,6 @@ protected: // Data will be requested on first draw BOOL mDataRequested; - BOOL mEnableCommit; // For avatar panel classifieds only, has the user been charged // yet for this classified? That is, have they saved once? |