application/src/PodcastListView.cpp
branchRCL_3
changeset 218 2fd795b1e1b1
parent 163 f94dbd678dda
child 243 44d205147a83
equal deleted inserted replaced
208:03b26379213d 218:2fd795b1e1b1
    29 #include <akntoolbarextension.h>
    29 #include <akntoolbarextension.h>
    30 #include <aknquerydialog.h>
    30 #include <aknquerydialog.h>
    31 #include <barsread.h>
    31 #include <barsread.h>
    32 #include <akntitle.h>
    32 #include <akntitle.h>
    33 
    33 
       
    34 #include "buildno.h"
       
    35 
    34 const TInt KDefaultGran = 5;
    36 const TInt KDefaultGran = 5;
    35 
    37 
    36 CPodcastListContainer::CPodcastListContainer()
    38 CPodcastListContainer::CPodcastListContainer()
    37 {
    39 {
    38 }
    40 }
   318 	}
   320 	}
   319 
   321 
   320 void CPodcastListView::RunAboutDialogL()
   322 void CPodcastListView::RunAboutDialogL()
   321 {
   323 {
   322 	CAknNoteDialog* dlg = new(ELeave) CAknNoteDialog();
   324 	CAknNoteDialog* dlg = new(ELeave) CAknNoteDialog();
       
   325 	HBufC *aboutTextTemplate = iEikonEnv->AllocReadResourceLC(R_ABOUT_TEXT);
       
   326 	TBuf<255> aboutText;
       
   327 	aboutText.Format(*aboutTextTemplate, BUILD_NO);
       
   328 	dlg->SetTextL(aboutText);
       
   329 	CleanupStack::PopAndDestroy(aboutTextTemplate);
   323 	dlg->ExecuteLD(R_DLG_ABOUT);
   330 	dlg->ExecuteLD(R_DLG_ABOUT);
   324 }
   331 }
   325 
   332 
   326 void CPodcastListView::SetEmptyTextL(TInt aResourceId)
   333 void CPodcastListView::SetEmptyTextL(TInt aResourceId)
   327 	{
   334 	{