summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertestlistview.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-24 22:13:10 -0800
committerJames Cook <james@lindenlab.com>2009-11-24 22:13:10 -0800
commit458430be918500e1c93961a2d959542b3987f6a6 (patch)
treeaeb72ca3b108854f5322feb3ca2c43817deeb133 /indra/newview/llfloatertestlistview.cpp
parent0eb42cd40c04575a982cb238e2488b1309584e6d (diff)
Removed include llnotifications.h from llfloater.h trying to speed builds
Fixed many other includes related to this file. Cleaned out llfloatertestlistview to be an empty test floater.
Diffstat (limited to 'indra/newview/llfloatertestlistview.cpp')
-rw-r--r--indra/newview/llfloatertestlistview.cpp40
1 files changed, 2 insertions, 38 deletions
diff --git a/indra/newview/llfloatertestlistview.cpp b/indra/newview/llfloatertestlistview.cpp
index 5c942d0ed9..7171449738 100644
--- a/indra/newview/llfloatertestlistview.cpp
+++ b/indra/newview/llfloatertestlistview.cpp
@@ -33,45 +33,9 @@
#include "llfloatertestlistview.h"
-// Viewer includes
-#include "lllistview.h"
-
-// Linden library includes
-//#include "lluictrlfactory.h"
-
LLFloaterTestListView::LLFloaterTestListView(const LLSD& seed)
-: LLFloater(seed),
- mListView(NULL)
-{
- // set up named callback functions for test buttons
- mCommitCallbackRegistrar.add("TestListView.Test1",
- boost::bind(&LLFloaterTestListView::onClickTest1, this));
- mCommitCallbackRegistrar.add("TestListView.Test2",
- boost::bind(&LLFloaterTestListView::onClickTest2, this));
-}
+: LLFloater(seed)
+{}
LLFloaterTestListView::~LLFloaterTestListView()
{}
-
-BOOL LLFloaterTestListView::postBuild()
-{
- mListView = getChild<LLListView>("test_list_view");
- // just set a random property
- mListView->setString("set programmatically");
- return LLFloater::postBuild();
-}
-
-void LLFloaterTestListView::onListViewChanged()
-{
- llinfos << "list view changed" << llendl;
-}
-
-void LLFloaterTestListView::onClickTest1()
-{
- llinfos << "test 1" << llendl;
-}
-
-void LLFloaterTestListView::onClickTest2()
-{
- llinfos << "test 2" << llendl;
-}