00001 00032 #ifndef LL_LLFLOATERLANDHOLDINGS_H 00033 #define LL_LLFLOATERLANDHOLDINGS_H 00034 00035 #include "llfloater.h" 00036 00037 class LLMessageSystem; 00038 class LLTextBox; 00039 class LLScrollListCtrl; 00040 class LLButton; 00041 00042 class LLFloaterLandHoldings 00043 : public LLFloater 00044 { 00045 public: 00046 BOOL postBuild(); 00047 00048 static void show(void*); 00049 00050 virtual void draw(); 00051 00052 void refresh(); 00053 00054 void buttonCore(S32 which); 00055 00056 static void processPlacesReply(LLMessageSystem* msg, void**); 00057 00058 static void onClickTeleport(void*); 00059 static void onClickMap(void*); 00060 static void onClickLandmark(void*); 00061 00062 static void onGrantList(void* data); 00063 00064 protected: 00065 LLFloaterLandHoldings(); 00066 virtual ~LLFloaterLandHoldings(); 00067 00068 void refreshAggregates(); 00069 00070 protected: 00071 static LLFloaterLandHoldings* sInstance; 00072 00073 // Sum up as packets arrive the total holdings 00074 S32 mActualArea; 00075 S32 mBillableArea; 00076 00077 // Has a packet of data been received? 00078 // Used to clear out the mParcelList's "Loading..." indicator 00079 BOOL mFirstPacketReceived; 00080 00081 LLString mSortColumn; 00082 BOOL mSortAscending; 00083 }; 00084 00085 #endif