atext/server/src/atextsession.cpp
changeset 21 5e5528a288fe
parent 0 29b1cd4cb562
child 24 b69e63ed1902
equal deleted inserted replaced
19:4b81101308c6 21:5e5528a288fe
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #include <badesca.h>
    19 #include <badesca.h>
   320         TRACE_FUNC_EXIT
   320         TRACE_FUNC_EXIT
   321         return retTemp;
   321         return retTemp;
   322         }
   322         }
   323     // Third, check a case where there is support but reply is not
   323     // Third, check a case where there is support but reply is not
   324     // expected. In this case "" must be returned to complete processing.
   324     // expected. In this case "" must be returned to complete processing.
       
   325     // Note: The EFalse setting is used only for normal mode.
   325     if ( !complInfo.iReplyExpected )
   326     if ( !complInfo.iReplyExpected )
   326         {
   327         {
   327         // Return ""
   328         // Return ""
   328         TRACE_INFO(( _L8("Command handled with support but no reply: return \"\"") ));
   329         TRACE_INFO(( _L8("Command handled with support but no reply: return \"\"") ));
   329         iMetadata->CompleteCommandMessage( NULL,
   330         iMetadata->CompleteCommandMessage( NULL,
   332                                            EReplyTypeOther,  // reply type from plugin
   333                                            EReplyTypeOther,  // reply type from plugin
   333                                            EFalse );         // no multipart
   334                                            EFalse );         // no multipart
   334         TRACE_FUNC_EXIT
   335         TRACE_FUNC_EXIT
   335         return retTemp;
   336         return retTemp;
   336         }
   337         }
   337     // The rest are for known command with reply. This case is handled in
   338     // The rest are for known command with reply or data in editor mode.
   338     // HandleCommand().
   339     // This case is handled in HandleCommand().
   339     TRACE_INFO(( _L8("Command handled: wait for asynchronous reply or do nothing") ));
   340     TRACE_INFO(( _L8("Command handled: wait for asynchronous reply or do nothing") ));
   340     TRACE_FUNC_EXIT
   341     TRACE_FUNC_EXIT
   341     return KErrNone;
   342     return KErrNone;
   342     }
   343     }
   343 
   344