summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelexperiencepicker.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-29 07:43:28 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-29 07:56:09 +0300
commit1b68f71348ecf3983b76b40d7940da8377f049b7 (patch)
tree2974eddaef130a067c26033d60a59fc790365b3d /indra/newview/llpanelexperiencepicker.h
parentaf4ea94efc1999f3b19fd8d643d0331f0b77e265 (diff)
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
Diffstat (limited to 'indra/newview/llpanelexperiencepicker.h')
-rw-r--r--indra/newview/llpanelexperiencepicker.h82
1 files changed, 41 insertions, 41 deletions
diff --git a/indra/newview/llpanelexperiencepicker.h b/indra/newview/llpanelexperiencepicker.h
index 97aa04cf4c..fc8b1d5418 100644
--- a/indra/newview/llpanelexperiencepicker.h
+++ b/indra/newview/llpanelexperiencepicker.h
@@ -1,4 +1,4 @@
-/**
+/**
* @file llpanelexperiencepicker.h
* @brief Header file for llpanelexperiencepicker
* @author dolphin@lindenlab.com
@@ -36,61 +36,61 @@ class LLLineEditor;
class LLPanelExperiencePicker : public LLPanel
{
public:
- friend class LLExperienceSearchResponder;
- friend class LLFloaterExperiencePicker;
+ friend class LLExperienceSearchResponder;
+ friend class LLFloaterExperiencePicker;
- typedef boost::function<void (const uuid_vec_t&)> select_callback_t;
- // filter function for experiences, return true if the experience should be hidden.
- typedef boost::function<bool (const LLSD&)> filter_function;
- typedef std::vector<filter_function> filter_list;
+ typedef boost::function<void (const uuid_vec_t&)> select_callback_t;
+ // filter function for experiences, return true if the experience should be hidden.
+ typedef boost::function<bool (const LLSD&)> filter_function;
+ typedef std::vector<filter_function> filter_list;
- LLPanelExperiencePicker();
- virtual ~LLPanelExperiencePicker();
+ LLPanelExperiencePicker();
+ virtual ~LLPanelExperiencePicker();
- BOOL postBuild();
+ BOOL postBuild();
- void addFilter(filter_function func){mFilters.push_back(func);}
- template <class IT>
- void addFilters(IT begin, IT end){mFilters.insert(mFilters.end(), begin, end);}
- void setDefaultFilters();
+ void addFilter(filter_function func){mFilters.push_back(func);}
+ template <class IT>
+ void addFilters(IT begin, IT end){mFilters.insert(mFilters.end(), begin, end);}
+ void setDefaultFilters();
- static bool FilterWithProperty(const LLSD& experience, S32 prop);
- static bool FilterWithoutProperties(const LLSD& experience, S32 prop);
- static bool FilterWithoutProperty(const LLSD& experience, S32 prop);
- static bool FilterMatching(const LLSD& experience, const LLUUID& id);
- bool FilterOverRating(const LLSD& experience);
+ static bool FilterWithProperty(const LLSD& experience, S32 prop);
+ static bool FilterWithoutProperties(const LLSD& experience, S32 prop);
+ static bool FilterWithoutProperty(const LLSD& experience, S32 prop);
+ static bool FilterMatching(const LLSD& experience, const LLUUID& id);
+ bool FilterOverRating(const LLSD& experience);
private:
- void editKeystroke(LLLineEditor* caller, void* user_data);
+ void editKeystroke(LLLineEditor* caller, void* user_data);
- void onBtnFind();
- void onBtnSelect();
- void onBtnClose();
- void onBtnProfile();
- void onList();
- void onMaturity();
- void onPage(S32 direction);
+ void onBtnFind();
+ void onBtnSelect();
+ void onBtnClose();
+ void onBtnProfile();
+ void onList();
+ void onMaturity();
+ void onPage(S32 direction);
- void getSelectedExperienceIds( const LLScrollListCtrl* results, uuid_vec_t &experience_ids );
- void setAllowMultiple(bool allow_multiple);
+ void getSelectedExperienceIds( const LLScrollListCtrl* results, uuid_vec_t &experience_ids );
+ void setAllowMultiple(bool allow_multiple);
- void find();
+ void find();
static void findResults(LLHandle<LLPanelExperiencePicker> hparent, LLUUID queryId, LLSD foundResult);
- bool isSelectButtonEnabled();
- void processResponse( const LLUUID& query_id, const LLSD& content );
+ bool isSelectButtonEnabled();
+ void processResponse( const LLUUID& query_id, const LLSD& content );
- void filterContent();
- bool isExperienceHidden(const LLSD& experience) const ;
- std::string getMaturityString(int maturity);
+ void filterContent();
+ bool isExperienceHidden(const LLSD& experience) const ;
+ std::string getMaturityString(int maturity);
- select_callback_t mSelectionCallback;
- filter_list mFilters;
- LLUUID mQueryID;
- LLSD mResponse;
- bool mCloseOnSelect;
- S32 mCurrentPage;
+ select_callback_t mSelectionCallback;
+ filter_list mFilters;
+ LLUUID mQueryID;
+ LLSD mResponse;
+ bool mCloseOnSelect;
+ S32 mCurrentPage;
};
#endif // LL_LLPANELEXPERIENCEPICKER_H