diff options
Diffstat (limited to 'linden/indra/llui/llctrlselectioninterface.h')
-rw-r--r-- | linden/indra/llui/llctrlselectioninterface.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llui/llctrlselectioninterface.h b/linden/indra/llui/llctrlselectioninterface.h index b4d3fc0..f303861 100644 --- a/linden/indra/llui/llctrlselectioninterface.h +++ b/linden/indra/llui/llctrlselectioninterface.h | |||
@@ -64,14 +64,14 @@ public: | |||
64 | 64 | ||
65 | // TomY TODO: Simply cast the UUIDs to LLSDs, using the selectByValue function | 65 | // TomY TODO: Simply cast the UUIDs to LLSDs, using the selectByValue function |
66 | virtual BOOL setCurrentByID( const LLUUID& id ) = 0; | 66 | virtual BOOL setCurrentByID( const LLUUID& id ) = 0; |
67 | virtual LLUUID getCurrentID() = 0; | 67 | virtual LLUUID getCurrentID() const = 0; |
68 | 68 | ||
69 | BOOL selectByValue(LLSD value); | 69 | BOOL selectByValue(const LLSD value); |
70 | BOOL deselectByValue(LLSD value); | 70 | BOOL deselectByValue(const LLSD value); |
71 | virtual BOOL setSelectedByValue(LLSD value, BOOL selected) = 0; | 71 | virtual BOOL setSelectedByValue(const LLSD& value, BOOL selected) = 0; |
72 | virtual LLSD getSelectedValue() = 0; | 72 | virtual LLSD getSelectedValue() = 0; |
73 | 73 | ||
74 | virtual BOOL isSelected(LLSD value) = 0; | 74 | virtual BOOL isSelected(const LLSD& value) const = 0; |
75 | 75 | ||
76 | virtual BOOL operateOnSelection(EOperation op) = 0; | 76 | virtual BOOL operateOnSelection(EOperation op) = 0; |
77 | virtual BOOL operateOnAll(EOperation op) = 0; | 77 | virtual BOOL operateOnAll(EOperation op) = 0; |
@@ -101,7 +101,7 @@ class LLCtrlScrollInterface | |||
101 | public: | 101 | public: |
102 | virtual ~LLCtrlScrollInterface(); | 102 | virtual ~LLCtrlScrollInterface(); |
103 | 103 | ||
104 | virtual S32 getScrollPos() = 0; | 104 | virtual S32 getScrollPos() const = 0; |
105 | virtual void setScrollPos( S32 pos ) = 0; | 105 | virtual void setScrollPos( S32 pos ) = 0; |
106 | virtual void scrollToShowSelected() = 0; | 106 | virtual void scrollToShowSelected() = 0; |
107 | }; | 107 | }; |