equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: AppUI engine implementation |
14 * Description: AppUI engine implementation |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: e92_68 % |
18 // Version : %version: e92_69 % |
19 |
19 |
20 |
20 |
21 #include <eikon.hrh> |
21 #include <eikon.hrh> |
22 #include <avkon.hrh> |
22 #include <avkon.hrh> |
23 #include <aknview.h> |
23 #include <aknview.h> |
940 TBool retVal = EFalse; |
940 TBool retVal = EFalse; |
941 |
941 |
942 // |
942 // |
943 // If we are embedded or the command is to open a document |
943 // If we are embedded or the command is to open a document |
944 // |
944 // |
945 if ( iAppUi->IsEmbedded() || aCommand != EApaCommandRun ) |
945 if ( iAppUi->IsEmbedded() || ( aCommand != EApaCommandRun && aDocumentName.Length() > 0 ) ) |
946 { |
946 { |
947 if ( iRecognizer->IsValidStreamingPrefix( aDocumentName ) ) |
947 if ( iRecognizer->IsValidStreamingPrefix( aDocumentName ) ) |
948 { |
948 { |
949 retVal = ETrue; |
949 retVal = ETrue; |
950 } |
950 } |