aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelgroup.h')
-rw-r--r--linden/indra/newview/llpanelgroup.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/linden/indra/newview/llpanelgroup.h b/linden/indra/newview/llpanelgroup.h
index 2157b34..90ce8fc 100644
--- a/linden/indra/newview/llpanelgroup.h
+++ b/linden/indra/newview/llpanelgroup.h
@@ -103,11 +103,11 @@ public:
103 103
104 void setAllowEdit(BOOL v) { mAllowEdit = v; } 104 void setAllowEdit(BOOL v) { mAllowEdit = v; }
105 105
106 void showNotice(const char* subject, 106 void showNotice(const std::string& subject,
107 const char* message, 107 const std::string& message,
108 const bool& has_inventory, 108 const bool& has_inventory,
109 const char* inventory_name, 109 const std::string& inventory_name,
110 LLOfferInfo* inventory_offer); 110 LLOfferInfo* inventory_offer);
111protected: 111protected:
112 LLPanelGroupTab* mCurrentTab; 112 LLPanelGroupTab* mCurrentTab;
113 LLPanelGroupTab* mRequestedTab; 113 LLPanelGroupTab* mRequestedTab;
@@ -123,8 +123,8 @@ protected:
123 std::string mInitialTab; 123 std::string mInitialTab;
124 std::string mFilename; 124 std::string mFilename;
125 125
126 LLString mDefaultNeedsApplyMesg; 126 std::string mDefaultNeedsApplyMesg;
127 LLString mWantApplyMesg; 127 std::string mWantApplyMesg;
128 128
129 BOOL mAllowEdit; 129 BOOL mAllowEdit;
130 BOOL mShowingNotifyDialog; 130 BOOL mShowingNotifyDialog;
@@ -148,14 +148,14 @@ public:
148 148
149 // Asks if something needs to be applied. 149 // Asks if something needs to be applied.
150 // If returning true, this function should modify the message to the user. 150 // If returning true, this function should modify the message to the user.
151 virtual bool needsApply(LLString& mesg) { return false; } 151 virtual bool needsApply(std::string& mesg) { return false; }
152 152
153 // Asks if there is currently a modal dialog being shown. 153 // Asks if there is currently a modal dialog being shown.
154 virtual BOOL hasModal() { return mHasModal; } 154 virtual BOOL hasModal() { return mHasModal; }
155 155
156 // Request to apply current data. 156 // Request to apply current data.
157 // If returning fail, this function should modify the message to the user. 157 // If returning fail, this function should modify the message to the user.
158 virtual bool apply(LLString& mesg) { return true; } 158 virtual bool apply(std::string& mesg) { return true; }
159 159
160 // Request a cancel of changes 160 // Request a cancel of changes
161 virtual void cancel() { } 161 virtual void cancel() { }
@@ -164,7 +164,7 @@ public:
164 virtual void update(LLGroupChange gc) { } 164 virtual void update(LLGroupChange gc) { }
165 165
166 // This is the text to be displayed when a help button is pressed. 166 // This is the text to be displayed when a help button is pressed.
167 virtual LLString getHelpText() const { return mHelpText; } 167 virtual std::string getHelpText() const { return mHelpText; }
168 168
169 // Display anything returned by getHelpText 169 // Display anything returned by getHelpText
170 static void onClickHelp(void* data); 170 static void onClickHelp(void* data);
@@ -184,7 +184,7 @@ public:
184protected: 184protected:
185 LLUUID mGroupID; 185 LLUUID mGroupID;
186 LLTabContainer* mTabContainer; 186 LLTabContainer* mTabContainer;
187 LLString mHelpText; 187 std::string mHelpText;
188 188
189 BOOL mAllowEdit; 189 BOOL mAllowEdit;
190 BOOL mHasModal; 190 BOOL mHasModal;