application/src/PodcastListView.cpp
branchsymbian1
changeset 86 a9d05a49b7cd
parent 70 0a94e3bc0ef2
child 145 cc0182a5da39
equal deleted inserted replaced
85:6d6eecde68e8 86:a9d05a49b7cd
    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 }
   316 	}
   318 	}
   317 
   319 
   318 void CPodcastListView::RunAboutDialogL()
   320 void CPodcastListView::RunAboutDialogL()
   319 {
   321 {
   320 	CAknNoteDialog* dlg = new(ELeave) CAknNoteDialog();
   322 	CAknNoteDialog* dlg = new(ELeave) CAknNoteDialog();
       
   323 	HBufC *aboutTextTemplate = iEikonEnv->AllocReadResourceLC(R_ABOUT_TEXT);
       
   324 	TBuf<255> aboutText;
       
   325 	aboutText.Format(*aboutTextTemplate, BUILD_NO);
       
   326 	dlg->SetTextL(aboutText);
       
   327 	CleanupStack::PopAndDestroy(aboutTextTemplate);
   321 	dlg->ExecuteLD(R_DLG_ABOUT);
   328 	dlg->ExecuteLD(R_DLG_ABOUT);
   322 }
   329 }
   323 
   330 
   324 void CPodcastListView::SetEmptyTextL(TInt aResourceId)
   331 void CPodcastListView::SetEmptyTextL(TInt aResourceId)
   325 	{
   332 	{