codhandler/roapapp/src/RoapAppUi.cpp
changeset 13 10e98eab6f85
parent 0 dd21522fd290
child 16 a359256acfc6
equal deleted inserted replaced
8:7c90e6132015 13:10e98eab6f85
    47 #include "RoapAppLogger.h"
    47 #include "RoapAppLogger.h"
    48 #include <HttpDownloadMgrCommon.h>
    48 #include <HttpDownloadMgrCommon.h>
    49 
    49 
    50 #ifdef __SERIES60_HELP
    50 #ifdef __SERIES60_HELP
    51 // Context-Sensitve Help File
    51 // Context-Sensitve Help File
    52 #include <csxhelp/browser.hlp.hrh>
    52 #include <csxhelp/drm.hlp.hrh>
    53 #endif // __SERIES60_HELP
    53 #endif // __SERIES60_HELP
    54 //#include "browser.hlp.hrh" // replace with DRMUI.hlp.hrh when ready 
       
    55 
    54 
    56 // ================= CONSTANTS =======================
    55 // ================= CONSTANTS =======================
    57 /// For launching more info DRM_HLP_REGISTRATION
       
    58 _LIT(KDRM_HLP_REGISTRATION,"DRM_HLP_REGISTRATION"); 
       
    59 
       
    60 /// Temp file directory:
    56 /// Temp file directory:
    61 _LIT( KRoapTempFilePath, "c:\\system\\temp\\" );
    57 _LIT( KRoapTempFilePath, "c:\\system\\temp\\" );
    62 
    58 
    63 /// Next Line
    59 /// Next Line
    64 _LIT( KNextLine, "\n" );
    60 _LIT( KNextLine, "\n" );
   375 
   371 
   376 TInt CRoapAppUi::ShowRoapCallback( TAny* aPtr )
   372 TInt CRoapAppUi::ShowRoapCallback( TAny* aPtr )
   377 {
   373 {
   378     TInt err( KErrNone );    
   374     TInt err( KErrNone );    
   379     CRoapAppUi* self = static_cast<CRoapAppUi*>(aPtr);
   375     CRoapAppUi* self = static_cast<CRoapAppUi*>(aPtr);
   380     TRAP( err, self->LaunchHelpL( KDRM_HLP_REGISTRATION ) ); // KOSS_HLP_SAVED_PAGES for testing       
   376     TRAP( err, self->LaunchHelpL( KDRM_HLP_REGISTRATION ) );
   381     return err;        
   377     return err;        
   382 }
   378 }
   383 
   379 
   384 
   380 
   385 // ----------------------------------------------------------
   381 // ----------------------------------------------------------
   985 		}
   981 		}
   986 		
   982 		
   987 	CLOG(( 2, _L("<- CRoapAppUi::HandleDMgrEventL") ));
   983 	CLOG(( 2, _L("<- CRoapAppUi::HandleDMgrEventL") ));
   988     }
   984     }
   989 
   985 
       
   986