diff -r 94fc26b6e006 -r 1fa3fb47b1e3 mmserv/tms/inc/tmsutility.h --- a/mmserv/tms/inc/tmsutility.h Tue Jul 06 14:50:35 2010 +0300 +++ b/mmserv/tms/inc/tmsutility.h Wed Aug 18 10:17:22 2010 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). + * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -11,7 +11,7 @@ * * Contributors: * - * Description: Telephony Multimedia Service + * Description: Tracing and convertion utility. * */ @@ -60,6 +60,7 @@ #define RET_REASON_IF_ERR(s) if(s!=0) return s #define TMSRESULT(result) TMSUtility::TMSResult(result) +#define SYMBIANRESULT(result) TMSUtility::SymbianResult(result) #define TOTMSOUTPUT(output) TMSUtility::ToTMSOutput(output) #define TOTAROUTPUT(output) TMSUtility::ToTAROutput(output) #define TOFOURCC(format) TMSUtility::ToFourCC(format) @@ -73,6 +74,7 @@ { public: IMPORT_C static gint TMSResult(const gint error); + IMPORT_C static TInt SymbianResult(const gint error); IMPORT_C static gint EtelToTMSResult(const gint error); IMPORT_C static TMSAudioOutput ToTMSOutput( CTelephonyAudioRouting::TAudioOutput taroutput);