aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llselectmgr.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llselectmgr.h
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llselectmgr.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/linden/indra/newview/llselectmgr.h b/linden/indra/newview/llselectmgr.h
index 9cb107c..0f1ea4c 100644
--- a/linden/indra/newview/llselectmgr.h
+++ b/linden/indra/newview/llselectmgr.h
@@ -272,7 +272,7 @@ public:
272 void updateEffects(); 272 void updateEffects();
273 void cleanupNodes(); 273 void cleanupNodes();
274 274
275 BOOL isEmpty(); 275 BOOL isEmpty() const;
276 276
277 S32 getOwnershipCost(S32 &cost); 277 S32 getOwnershipCost(S32 &cost);
278 278
@@ -331,7 +331,7 @@ private:
331 ESelectType mSelectType; 331 ESelectType mSelectType;
332}; 332};
333 333
334typedef LLHandle<LLObjectSelection> LLObjectSelectionHandle; 334typedef LLSafeHandle<LLObjectSelection> LLObjectSelectionHandle;
335 335
336class LLSelectMgr : public LLEditMenuHandler 336class LLSelectMgr : public LLEditMenuHandler
337{ 337{
@@ -360,20 +360,20 @@ public:
360 static void cleanupGlobals(); 360 static void cleanupGlobals();
361 361
362 // LLEditMenuHandler interface 362 // LLEditMenuHandler interface
363 virtual BOOL canUndo(); 363 virtual BOOL canUndo() const;
364 virtual void undo(); 364 virtual void undo();
365 365
366 virtual BOOL canRedo(); 366 virtual BOOL canRedo() const;
367 virtual void redo(); 367 virtual void redo();
368 368
369 virtual BOOL canDoDelete(); 369 virtual BOOL canDoDelete() const;
370 virtual void doDelete(); 370 virtual void doDelete();
371 371
372 virtual void deselect(); 372 virtual void deselect();
373 virtual BOOL canDeselect(); 373 virtual BOOL canDeselect() const;
374 374
375 virtual void duplicate(); 375 virtual void duplicate();
376 virtual BOOL canDuplicate(); 376 virtual BOOL canDuplicate() const;
377 377
378 void clearSelections(); 378 void clearSelections();
379 void update(); 379 void update();
@@ -486,6 +486,7 @@ public:
486 BOOL selectionAllPCode(LLPCode code); // all objects have this PCode 486 BOOL selectionAllPCode(LLPCode code); // all objects have this PCode
487 BOOL selectionGetClickAction(U8 *out_action); 487 BOOL selectionGetClickAction(U8 *out_action);
488 bool selectionGetIncludeInSearch(bool* include_in_search_out); // true if all selected objects have same 488 bool selectionGetIncludeInSearch(bool* include_in_search_out); // true if all selected objects have same
489 BOOL selectionGetGlow(F32 *glow);
489 490
490 void selectionSetMaterial(U8 material); 491 void selectionSetMaterial(U8 material);
491 void selectionSetImage(const LLUUID& imageid); // could be item or asset id 492 void selectionSetImage(const LLUUID& imageid); // could be item or asset id
@@ -501,6 +502,7 @@ public:
501 void selectionSetMediaTypeAndURL( U8 media_type, const std::string& media_url ); 502 void selectionSetMediaTypeAndURL( U8 media_type, const std::string& media_url );
502 void selectionSetClickAction(U8 action); 503 void selectionSetClickAction(U8 action);
503 void selectionSetIncludeInSearch(bool include_in_search); 504 void selectionSetIncludeInSearch(bool include_in_search);
505 void selectionSetGlow(const F32 glow);
504 506
505 void selectionSetObjectPermissions(U8 perm_field, BOOL set, U32 perm_mask, BOOL override = FALSE); 507 void selectionSetObjectPermissions(U8 perm_field, BOOL set, U32 perm_mask, BOOL override = FALSE);
506 void selectionSetObjectName(const LLString& name); 508 void selectionSetObjectName(const LLString& name);