diff options
Diffstat (limited to 'linden/indra/newview/llinventorybridge.h')
-rw-r--r-- | linden/indra/newview/llinventorybridge.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/linden/indra/newview/llinventorybridge.h b/linden/indra/newview/llinventorybridge.h index cca56c2..80b65b2 100644 --- a/linden/indra/newview/llinventorybridge.h +++ b/linden/indra/newview/llinventorybridge.h | |||
@@ -199,7 +199,7 @@ public: | |||
199 | 199 | ||
200 | protected: | 200 | protected: |
201 | LLInvFVBridge(LLInventoryPanel* inventory, const LLUUID& uuid) : | 201 | LLInvFVBridge(LLInventoryPanel* inventory, const LLUUID& uuid) : |
202 | mInventoryPanel(inventory), mUUID(uuid) {} | 202 | mInventoryPanel(inventory), mUUID(uuid), mInvType(LLInventoryType::IT_NONE) {} |
203 | 203 | ||
204 | LLInventoryObject* getInventoryObject() const; | 204 | LLInventoryObject* getInventoryObject() const; |
205 | BOOL isInTrash() const; | 205 | BOOL isInTrash() const; |
@@ -235,7 +235,7 @@ public: | |||
235 | virtual void selectItem(); | 235 | virtual void selectItem(); |
236 | virtual void restoreItem(); | 236 | virtual void restoreItem(); |
237 | 237 | ||
238 | virtual LLViewerImage* getIcon() const; | 238 | virtual LLUIImagePtr getIcon() const; |
239 | virtual const LLString& getDisplayName() const; | 239 | virtual const LLString& getDisplayName() const; |
240 | virtual LLString getLabelSuffix() const; | 240 | virtual LLString getLabelSuffix() const; |
241 | virtual PermissionMask getPermissionMask() const; | 241 | virtual PermissionMask getPermissionMask() const; |
@@ -275,7 +275,7 @@ public: | |||
275 | virtual void restoreItem(); | 275 | virtual void restoreItem(); |
276 | 276 | ||
277 | 277 | ||
278 | virtual LLViewerImage* getIcon() const; | 278 | virtual LLUIImagePtr getIcon() const; |
279 | virtual BOOL renameItem(const LLString& new_name); | 279 | virtual BOOL renameItem(const LLString& new_name); |
280 | virtual BOOL removeItem(); | 280 | virtual BOOL removeItem(); |
281 | virtual BOOL isClipboardPasteable() const; | 281 | virtual BOOL isClipboardPasteable() const; |
@@ -297,7 +297,7 @@ public: | |||
297 | 297 | ||
298 | protected: | 298 | protected: |
299 | LLFolderBridge(LLInventoryPanel* inventory, const LLUUID& uuid) : | 299 | LLFolderBridge(LLInventoryPanel* inventory, const LLUUID& uuid) : |
300 | LLInvFVBridge(inventory, uuid) {} | 300 | LLInvFVBridge(inventory, uuid), mCallingCards(FALSE), mWearables(FALSE) {} |
301 | 301 | ||
302 | // menu callbacks | 302 | // menu callbacks |
303 | static void pasteClipboard(void* user_data); | 303 | static void pasteClipboard(void* user_data); |
@@ -337,7 +337,7 @@ class LLScriptBridge : public LLItemBridge | |||
337 | { | 337 | { |
338 | friend class LLInvFVBridge; | 338 | friend class LLInvFVBridge; |
339 | public: | 339 | public: |
340 | LLViewerImage* getIcon() const; | 340 | LLUIImagePtr getIcon() const; |
341 | 341 | ||
342 | protected: | 342 | protected: |
343 | LLScriptBridge( LLInventoryPanel* inventory, const LLUUID& uuid ) : | 343 | LLScriptBridge( LLInventoryPanel* inventory, const LLUUID& uuid ) : |
@@ -351,7 +351,7 @@ class LLTextureBridge : public LLItemBridge | |||
351 | public: | 351 | public: |
352 | virtual const LLString& getPrefix() { return sPrefix; } | 352 | virtual const LLString& getPrefix() { return sPrefix; } |
353 | 353 | ||
354 | virtual LLViewerImage* getIcon() const; | 354 | virtual LLUIImagePtr getIcon() const; |
355 | virtual void openItem(); | 355 | virtual void openItem(); |
356 | 356 | ||
357 | protected: | 357 | protected: |
@@ -367,7 +367,7 @@ class LLSoundBridge : public LLItemBridge | |||
367 | public: | 367 | public: |
368 | virtual const LLString& getPrefix() { return sPrefix; } | 368 | virtual const LLString& getPrefix() { return sPrefix; } |
369 | 369 | ||
370 | virtual LLViewerImage* getIcon() const; | 370 | virtual LLUIImagePtr getIcon() const; |
371 | virtual void openItem(); | 371 | virtual void openItem(); |
372 | virtual void previewItem(); | 372 | virtual void previewItem(); |
373 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); | 373 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); |
@@ -387,7 +387,7 @@ public: | |||
387 | virtual const LLString& getPrefix() { return sPrefix; } | 387 | virtual const LLString& getPrefix() { return sPrefix; } |
388 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); | 388 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); |
389 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); | 389 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); |
390 | virtual LLViewerImage* getIcon() const; | 390 | virtual LLUIImagePtr getIcon() const; |
391 | virtual void openItem(); | 391 | virtual void openItem(); |
392 | 392 | ||
393 | protected: | 393 | protected: |
@@ -427,7 +427,7 @@ public: | |||
427 | 427 | ||
428 | virtual LLString getLabelSuffix() const; | 428 | virtual LLString getLabelSuffix() const; |
429 | //virtual const LLString& getDisplayName() const; | 429 | //virtual const LLString& getDisplayName() const; |
430 | virtual LLViewerImage* getIcon() const; | 430 | virtual LLUIImagePtr getIcon() const; |
431 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); | 431 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); |
432 | virtual void openItem(); | 432 | virtual void openItem(); |
433 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); | 433 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); |
@@ -454,7 +454,7 @@ class LLNotecardBridge : public LLItemBridge | |||
454 | public: | 454 | public: |
455 | virtual const LLString& getPrefix() { return sPrefix; } | 455 | virtual const LLString& getPrefix() { return sPrefix; } |
456 | 456 | ||
457 | virtual LLViewerImage* getIcon() const; | 457 | virtual LLUIImagePtr getIcon() const; |
458 | virtual void openItem(); | 458 | virtual void openItem(); |
459 | 459 | ||
460 | protected: | 460 | protected: |
@@ -471,7 +471,7 @@ class LLGestureBridge : public LLItemBridge | |||
471 | public: | 471 | public: |
472 | virtual const LLString& getPrefix() { return sPrefix; } | 472 | virtual const LLString& getPrefix() { return sPrefix; } |
473 | 473 | ||
474 | virtual LLViewerImage* getIcon() const; | 474 | virtual LLUIImagePtr getIcon() const; |
475 | 475 | ||
476 | // Only suffix for gesture items, not task items, because only | 476 | // Only suffix for gesture items, not task items, because only |
477 | // gestures in your inventory can be active. | 477 | // gestures in your inventory can be active. |
@@ -501,7 +501,7 @@ public: | |||
501 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); | 501 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); |
502 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); | 502 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); |
503 | 503 | ||
504 | virtual LLViewerImage* getIcon() const; | 504 | virtual LLUIImagePtr getIcon() const; |
505 | virtual void openItem(); | 505 | virtual void openItem(); |
506 | 506 | ||
507 | protected: | 507 | protected: |
@@ -519,7 +519,7 @@ class LLObjectBridge : public LLItemBridge | |||
519 | public: | 519 | public: |
520 | virtual const LLString& getPrefix() { return sPrefix; } | 520 | virtual const LLString& getPrefix() { return sPrefix; } |
521 | 521 | ||
522 | virtual LLViewerImage* getIcon() const; | 522 | virtual LLUIImagePtr getIcon() const; |
523 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); | 523 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); |
524 | virtual void openItem(); | 524 | virtual void openItem(); |
525 | virtual LLFontGL::StyleFlags getLabelStyle() const; | 525 | virtual LLFontGL::StyleFlags getLabelStyle() const; |
@@ -552,7 +552,7 @@ class LLLSLTextBridge : public LLItemBridge | |||
552 | public: | 552 | public: |
553 | virtual const LLString& getPrefix() { return sPrefix; } | 553 | virtual const LLString& getPrefix() { return sPrefix; } |
554 | 554 | ||
555 | virtual LLViewerImage* getIcon() const; | 555 | virtual LLUIImagePtr getIcon() const; |
556 | virtual void openItem(); | 556 | virtual void openItem(); |
557 | 557 | ||
558 | protected: | 558 | protected: |
@@ -568,7 +568,7 @@ class LLWearableBridge : public LLItemBridge | |||
568 | { | 568 | { |
569 | friend class LLInvFVBridge; | 569 | friend class LLInvFVBridge; |
570 | public: | 570 | public: |
571 | virtual LLViewerImage* getIcon() const; | 571 | virtual LLUIImagePtr getIcon() const; |
572 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); | 572 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, LLString action); |
573 | virtual void openItem(); | 573 | virtual void openItem(); |
574 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); | 574 | virtual void buildContextMenu(LLMenuGL& menu, U32 flags); |