| 190 |
};
|
190 |
};
|
| 191 |
|
191 |
|
| 192 |
class LLItemBridge : public LLInvFVBridge
|
192 |
class LLItemBridge : public LLInvFVBridge
|
| 193 |
{
|
193 |
{
|
| 194 |
public:
|
194 |
public:
|
| 195 |
LLItemBridge(LLInventoryPanel* inventory,
|
195 |
LLItemBridge(LLInventoryPanel* inventory,
|
| 196 |
LLFolderView* root,
|
196 |
LLFolderView* root,
|
| 197 |
const LLUUID& uuid) :
|
197 |
const LLUUID& uuid) :
|
| 198 |
LLInvFVBridge(inventory, root, uuid) {}
|
198 |
LLInvFVBridge(inventory, root, uuid) {}
|
| 199 |
|
199 |
|
| 200 |
virtual void performAction(LLInventoryModel* model, std::string action);
|
202 |
virtual void performAction(LLInventoryModel* model, std::string action);
|
| 201 |
virtual void selectItem();
|
203 |
virtual void selectItem();
|
| 202 |
virtual void restoreItem();
|
204 |
virtual void restoreItem();
|
| 203 |
virtual void restoreToWorld();
|
205 |
virtual void restoreToWorld();
|
| 204 |
virtual void gotoItem();
|
206 |
virtual void gotoItem();
|
| 205 |
virtual LLUIImagePtr getIcon() const;
|
207 |
virtual LLUIImagePtr getIcon() const;
|
| 206 |
virtual const std::string& getDisplayName() const;
|
208 |
virtual const std::string& getDisplayName() const;
|
| 207 |
virtual std::string getLabelSuffix() const;
|
209 |
virtual std::string getLabelSuffix() const;
|
| 208 |
virtual LLFontGL::StyleFlags getLabelStyle() const;
|
210 |
virtual LLFontGL::StyleFlags getLabelStyle() const;
|
| 209 |
virtual PermissionMask getPermissionMask() const;
|
211 |
virtual PermissionMask getPermissionMask() const;
|
| 210 |
virtual time_t getCreationDate() const;
|
212 |
virtual time_t getCreationDate() const;
|
| 211 |
virtual BOOL isItemRenameable() const;
|
213 |
virtual BOOL isItemRenameable() const;
|
| 212 |
virtual BOOL renameItem(const std::string& new_name);
|
214 |
virtual BOOL renameItem(const std::string& new_name);
|
| 213 |
virtual BOOL removeItem();
|
215 |
virtual BOOL removeItem();
|
| 214 |
virtual BOOL isItemCopyable() const;
|
216 |
virtual BOOL isItemCopyable() const;
|
| 215 |
virtual BOOL hasChildren() const { return FALSE; }
|
217 |
virtual BOOL hasChildren() const { return FALSE; }
|
| 216 |
virtual BOOL isUpToDate() const { return TRUE; }
|
218 |
virtual BOOL isUpToDate() const { return TRUE; }
|
| 218 |
/*virtual*/ void clearDisplayName() { mDisplayName.clear(); }
|
219 |
/*virtual*/ void clearDisplayName() { mDisplayName.clear(); }
|
| 219 |
|
220 |
|
| 220 |
LLViewerInventoryItem* getItem() const;
|
221 |
LLViewerInventoryItem* getItem() const;
|
| 221 |
|
222 |
|
| 222 |
protected:
|
223 |
protected:
|
| 223 |
BOOL confirmRemoveItem(const LLSD& notification, const LLSD& response);
|
224 |
BOOL confirmRemoveItem(const LLSD& notification, const LLSD& response);
|
| 224 |
virtual BOOL isItemPermissive() const;
|
225 |
virtual BOOL isItemPermissive() const;
|
| 225 |
static void buildDisplayName(LLInventoryItem* item, std::string& name);
|
226 |
static void buildDisplayName(LLInventoryItem* item, std::string& name);
|
| 226 |
|
227 |
|
| 227 |
mutable std::string mDisplayName;
|
228 |
mutable std::string mDisplayName;
|
Other reviews