csxhelp/src/CSXHDocument.cpp
branchRCL_3
changeset 5 d06b1526f62c
parent 0 1f04cf54edd8
equal deleted inserted replaced
1:27f5851bd5a5 5:d06b1526f62c
    57     // Create the application user interface, and return a pointer to it,
    57     // Create the application user interface, and return a pointer to it,
    58     // the framework takes ownership of this object. ConstructL of the AppUi
    58     // the framework takes ownership of this object. ConstructL of the AppUi
    59     // object will be called by the Application Framework
    59     // object will be called by the Application Framework
    60     iHelpAppUi = new (ELeave) CCSXHAppUi;
    60     iHelpAppUi = new (ELeave) CCSXHAppUi;
    61     
    61     
    62     iHelpDataBase = CCSXHHelpDataBase::NewL(CCSXHAppUi::GetCoeEnv(),AppCaption());
    62     HBufC* appToc = CCSXHAppUi::GetCoeEnv()->AllocReadResourceLC( R_CSHELP_TOC_APP_HELPS );
       
    63     iHelpDataBase = CCSXHHelpDataBase::NewL(CCSXHAppUi::GetCoeEnv(),AppCaption(), *appToc);
       
    64     CleanupStack::PopAndDestroy( appToc );
       
    65 	
    63 	iDisplayTopic = iHelpDataBase->GetMainTopics();
    66 	iDisplayTopic = iHelpDataBase->GetMainTopics();
    64 	iPrevTopic = NULL;
    67 	iPrevTopic = NULL;
    65 	
    68 	
    66 	iProgressDialog = NULL;
    69 	iProgressDialog = NULL;
    67     
    70