diff options
author | Jacek Antonelli | 2008-08-15 23:44:58 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:58 -0500 |
commit | 089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch) | |
tree | 0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/newview/llpanelclassified.h | |
parent | Second Life viewer sources 1.16.0.5 (diff) | |
download | meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2 meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz |
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/newview/llpanelclassified.h')
-rw-r--r-- | linden/indra/newview/llpanelclassified.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelclassified.h b/linden/indra/newview/llpanelclassified.h index 498f8a5..0ebac2c 100644 --- a/linden/indra/newview/llpanelclassified.h +++ b/linden/indra/newview/llpanelclassified.h | |||
@@ -63,10 +63,14 @@ public: | |||
63 | 63 | ||
64 | /*virtual*/ void draw(); | 64 | /*virtual*/ void draw(); |
65 | 65 | ||
66 | void refresh(); | 66 | /*virtual*/ void refresh(); |
67 | 67 | ||
68 | void apply(); | 68 | void apply(); |
69 | 69 | ||
70 | // If can close, return TRUE. If cannot close, pop save/discard dialog | ||
71 | // and return FALSE. | ||
72 | BOOL canClose(); | ||
73 | |||
70 | // Setup a new classified, including creating an id, giving a sane | 74 | // Setup a new classified, including creating an id, giving a sane |
71 | // initial position, etc. | 75 | // initial position, etc. |
72 | void initNewClassified(); | 76 | void initNewClassified(); |
@@ -94,6 +98,8 @@ public: | |||
94 | static void callbackConfirmPublish(S32 option, void* data); | 98 | static void callbackConfirmPublish(S32 option, void* data); |
95 | 99 | ||
96 | protected: | 100 | protected: |
101 | static void saveCallback(S32 option, void* data); | ||
102 | |||
97 | static void onClickUpdate(void* data); | 103 | static void onClickUpdate(void* data); |
98 | static void onClickTeleport(void* data); | 104 | static void onClickTeleport(void* data); |
99 | static void onClickMap(void* data); | 105 | static void onClickMap(void* data); |
@@ -107,6 +113,8 @@ protected: | |||
107 | 113 | ||
108 | protected: | 114 | protected: |
109 | BOOL mInFinder; | 115 | BOOL mInFinder; |
116 | bool mDirty; | ||
117 | bool mForceClose; | ||
110 | LLUUID mClassifiedID; | 118 | LLUUID mClassifiedID; |
111 | LLUUID mRequestedID; | 119 | LLUUID mRequestedID; |
112 | LLUUID mCreatorID; | 120 | LLUUID mCreatorID; |
@@ -115,7 +123,6 @@ protected: | |||
115 | 123 | ||
116 | // Data will be requested on first draw | 124 | // Data will be requested on first draw |
117 | BOOL mDataRequested; | 125 | BOOL mDataRequested; |
118 | BOOL mEnableCommit; | ||
119 | 126 | ||
120 | // For avatar panel classifieds only, has the user been charged | 127 | // For avatar panel classifieds only, has the user been charged |
121 | // yet for this classified? That is, have they saved once? | 128 | // yet for this classified? That is, have they saved once? |