equal
deleted
inserted
replaced
93 OstTraceFunctionExit0( GLXCOMMANDHANDLERNEWMEDIA_CREATECOMMANDL_EXIT ); |
93 OstTraceFunctionExit0( GLXCOMMANDHANDLERNEWMEDIA_CREATECOMMANDL_EXIT ); |
94 return command; |
94 return command; |
95 } |
95 } |
96 |
96 |
97 |
97 |
98 TInt GlxCommandHandlerNewMedia::ExecuteLD(TGlxMediaId& aNewMediaId) |
98 TInt GlxCommandHandlerNewMedia::ExecuteLD(TGlxMediaId& aNewMediaId,QString& aTitle) |
99 { |
99 { |
100 OstTraceFunctionEntry0( GLXCOMMANDHANDLERNEWMEDIA_EXECUTELD_ENTRY ); |
100 OstTraceFunctionEntry0( GLXCOMMANDHANDLERNEWMEDIA_EXECUTELD_ENTRY ); |
101 GlxMpxCommandHandler::executeCommand(EGlxCmdAddMedia, KGlxCollectionPluginAlbumsImplementationUid); |
101 GlxMpxCommandHandler::executeCommand(EGlxCmdAddMedia, KGlxCollectionPluginAlbumsImplementationUid); |
102 mShowConfirmation = true; |
102 mShowConfirmation = true; |
103 if (iNewMediaCreationError == KErrNone) |
103 if (iNewMediaCreationError == KErrNone) |
106 iSchedulerWait->Start(); |
106 iSchedulerWait->Start(); |
107 |
107 |
108 if (iNewMediaCreationError == KErrNone) |
108 if (iNewMediaCreationError == KErrNone) |
109 { |
109 { |
110 aNewMediaId = iNewMediaId; |
110 aNewMediaId = iNewMediaId; |
|
111 aTitle = QString::fromUtf16(iNewMediaItemTitle->Des().Ptr(),iNewMediaItemTitle->Length()); |
111 } |
112 } |
112 } |
113 } |
113 |
114 |
114 TInt error = iNewMediaCreationError; |
115 TInt error = iNewMediaCreationError; |
115 OstTraceFunctionExit0( GLXCOMMANDHANDLERNEWMEDIA_EXECUTELD_EXIT ); |
116 OstTraceFunctionExit0( GLXCOMMANDHANDLERNEWMEDIA_EXECUTELD_EXIT ); |