summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelclassified.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelclassified.h')
-rw-r--r--indra/newview/llpanelclassified.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/indra/newview/llpanelclassified.h b/indra/newview/llpanelclassified.h
index eccc83cf53..7e384824ab 100644
--- a/indra/newview/llpanelclassified.h
+++ b/indra/newview/llpanelclassified.h
@@ -208,8 +208,6 @@ public:
virtual ~LLPanelClassifiedInfo();
- virtual void setExitCallback(const commit_callback_t& cb);
-
/*virtual*/ void onOpen(const LLSD& key);
/*virtual*/ BOOL postBuild();
@@ -218,7 +216,7 @@ public:
virtual void setAvatarId(const LLUUID& avatar_id) { mAvatarId = avatar_id; }
- LLUUID& getAvatarId() { return mAvatarId; }
+ virtual LLUUID& getAvatarId() { return mAvatarId; }
virtual void setSnapshotId(const LLUUID& id);
@@ -242,6 +240,16 @@ public:
virtual LLVector3d& getPosGlobal() { return mPosGlobal; }
+ virtual void setParcelId(const LLUUID& id) { mParcelId = id; }
+
+ virtual LLUUID getParcelId() { return mParcelId; }
+
+ virtual bool getInfoLoaded() { return mInfoLoaded; }
+
+ virtual void setInfoLoaded(bool loaded) { mInfoLoaded = loaded; }
+
+ virtual void setExitCallback(const commit_callback_t& cb);
+
protected:
LLPanelClassifiedInfo();
@@ -265,6 +273,8 @@ private:
LLUUID mAvatarId;
LLUUID mClassifiedId;
LLVector3d mPosGlobal;
+ LLUUID mParcelId;
+ bool mInfoLoaded;
};
class LLPanelClassifiedEdit : public LLPanelClassifiedInfo
@@ -305,23 +315,15 @@ protected:
std::string makeClassifiedName();
- void setParcelId(const LLUUID& id) { mParcelId = id; }
-
- LLUUID getParcelId() { return mParcelId; }
-
S32 getPriceForListing();
U8 getClassifiedFlags();
void onClickSetLocation();
- void onSnapshotChanged(LLUICtrl* ctrl);
void onClassifiedChanged();
void onClickSave();
private:
- LLTextureCtrl* mSnapshotCtrl;
-
- LLUUID mParcelId;
bool mNewClassified;
};