application/src/PodcastSearchView.cpp
branchtwolistboxes
changeset 318 a231cc388498
parent 317 5afc95a6ad83
child 367 4b75876aa85a
equal deleted inserted replaced
317:5afc95a6ad83 318:a231cc388498
    85 	icons->AppendL( CGulIcon::NewL( bitmap, mask ) );
    85 	icons->AppendL( CGulIcon::NewL( bitmap, mask ) );
    86 	CleanupStack::Pop(2); // bitmap, mask
    86 	CleanupStack::Pop(2); // bitmap, mask
    87 	
    87 	
    88 	iListContainer->SetListboxIcons(icons);
    88 	iListContainer->SetListboxIcons(icons);
    89 	CleanupStack::Pop(icons); // icons
    89 	CleanupStack::Pop(icons); // icons
    90 
       
    91 	iListContainer->Listbox()->SetListBoxObserver(this);
       
    92 	
    90 	
    93 	SetEmptyTextL(R_PODCAST_EMPTY_SEARCH);
    91 	SetEmptyTextL(R_PODCAST_EMPTY_SEARCH);
    94 }
    92 }
    95     
    93     
    96 CPodcastSearchView::~CPodcastSearchView()
    94 CPodcastSearchView::~CPodcastSearchView()
    97     {
    95     {
    98 	DP("CPodcastSearchView::~CPodcastSearchView BEGIN");
    96 	DP("CPodcastSearchView::~CPodcastSearchView BEGIN");
    99 	iPodcastModel.FeedEngine().RemoveObserver(this);
    97 	iPodcastModel.FeedEngine().RemoveObserver(this);
   100 	DP("CPodcastSearchView::~CPodcastSearchView END");
    98 	DP("CPodcastSearchView::~CPodcastSearchView END");
   101     }
    99     }
   102 
       
   103 void CPodcastSearchView::SizeChanged()
       
   104 	{
       
   105 	
       
   106 	}
       
   107 
   100 
   108 TUid CPodcastSearchView::Id() const
   101 TUid CPodcastSearchView::Id() const
   109 {
   102 {
   110 	return KUidPodcastSearchViewID;
   103 	return KUidPodcastSearchViewID;
   111 }
   104 }