equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * Implementation of Scheme handler interface implementation for file:// scheme |
15 * Implementation of Scheme handler interface implementation for file:// scheme |
16 * |
16 * |
17 * |
17 * |
18 */ |
18 */ |
|
19 |
19 |
20 |
20 // INCLUDE FILES |
21 // INCLUDE FILES |
21 |
22 |
22 #include "FileHandler.h" |
23 #include "FileHandler.h" |
23 #include "SchemeDispLogger.h" |
24 #include "SchemeDispLogger.h" |
25 #include <eikenv.h> |
26 #include <eikenv.h> |
26 #include <apmstd.h> |
27 #include <apmstd.h> |
27 #include <apparc.h> |
28 #include <apparc.h> |
28 #include <eikproc.h> |
29 #include <eikproc.h> |
29 #include <f32file.h> |
30 #include <f32file.h> |
30 #include <APGTASK.H> |
31 #include <apgtask.h> |
31 #include <apgcli.h> |
32 #include <apgcli.h> |
32 |
33 |
33 // ================= CONSTANTS ======================= |
34 // ================= CONSTANTS ======================= |
34 _LIT( KLocalhostPattern,"file://localhost/"); |
35 _LIT( KLocalhostPattern,"file://localhost/"); |
35 _LIT( KEmptyPattern,"file:///"); |
36 _LIT( KEmptyPattern,"file:///"); |
139 HBufC* buf16 = HBufC::NewLC( |
140 HBufC* buf16 = HBufC::NewLC( |
140 iParsedUrl->Des().Length() + KBrowserPrefix.iTypeLength ); |
141 iParsedUrl->Des().Length() + KBrowserPrefix.iTypeLength ); |
141 buf16->Des().Copy( KBrowserPrefix ); |
142 buf16->Des().Copy( KBrowserPrefix ); |
142 buf16->Des().Append( *buf ); |
143 buf16->Des().Append( *buf ); |
143 |
144 |
144 iLauncher = CBrowserLauncher::NewL(); |
145 /* iLauncher = CBrowserLauncher::NewL(); |
145 iLauncher->LaunchBrowserEmbeddedL( buf16->Des(), |
146 iLauncher->LaunchBrowserEmbeddedL( buf16->Des(), |
146 NULL, |
147 NULL, |
147 this ); |
148 this );*/ |
148 CleanupStack::PopAndDestroy(); // buf16 |
149 CleanupStack::PopAndDestroy(); // buf16 |
149 } |
150 } |
150 CleanupStack::PopAndDestroy(); //buf |
151 CleanupStack::PopAndDestroy(); //buf |
151 |
152 |
152 CLOG_LEAVEFN( "CFileHandler::HandleUrlEmbeddedL()" ); |
153 CLOG_LEAVEFN( "CFileHandler::HandleUrlEmbeddedL()" ); |