From d0b03a62fd799317d5da0bd56615739ce3b5b052 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:54 -0500 Subject: Second Life viewer sources 1.20.9 --- linden/indra/newview/llpaneldirplaces.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/llpaneldirplaces.h') diff --git a/linden/indra/newview/llpaneldirplaces.h b/linden/indra/newview/llpaneldirplaces.h index 4785f94..7bc2b08 100644 --- a/linden/indra/newview/llpaneldirplaces.h +++ b/linden/indra/newview/llpaneldirplaces.h @@ -32,17 +32,31 @@ #ifndef LL_LLPANELDIRPLACES_H #define LL_LLPANELDIRPLACES_H -#include "llpaneldirfind.h" +#include "llpaneldirbrowser.h" // UI class forward declarations +class LLLineEditor; -class LLPanelDirPlaces : public LLPanelDirFind +class LLPanelDirPlaces : public LLPanelDirBrowser { public: LLPanelDirPlaces(const std::string& name, LLFloaterDirectory* floater); virtual ~LLPanelDirPlaces(); - /*virtual*/ void search(const std::string& search_text); + /*virtual*/ void draw(); + virtual BOOL postBuild(); + + static void onClickSearch(void *userdata); + static void onKeystrokeName(LLLineEditor* line, void* data); + + void performQuery(); + + // Initially fill in some data for the panel. + void initialQuery(); + +private: + void queryCore(const LLString& name, S32 category, BOOL pg_only); }; + #endif -- cgit v1.1