--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ccservices/cmsservices/cmsengine/Server/inc/cmsserverutils.h Tue Feb 02 10:12:17 2010 +0200
@@ -0,0 +1,55 @@
+/*
+* Copyright (c) 2007 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"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*
+*/
+
+
+// INCLUDE FILES
+#include <e32std.h>
+#include "cmscontactfielditem.h"
+
+//KONSTS
+_LIT( KCmsServerLogDir, "CCA" );
+_LIT( KCmsServerLogFile, "cmsserver.txt" );
+
+class CCmsContactFieldItem;
+
+class CmsServerUtils
+ {
+ public:
+
+ static HBufC* ReadMsgParam16LC( TInt aMsgIndex, const RMessage2& aMessage );
+
+ static HBufC8* ReadMsgParam8LC( TInt aMsgIndex, const RMessage2& aMessage );
+
+ static TInt ConvertDesc( const TDesC8& aNumberDesc );
+
+ static TPtr8 DescriptorCast( const TDesC8& aConstData );
+
+ static HBufC8* ConvertDescLC( const TDesC& a16bitDescriptor );
+
+ static HBufC* ConvertDescLC( const TDesC8& a8bitDescriptor );
+
+ static TInt MatchFieldType( CCmsContactFieldItem::TCmsContactField aCmsFieldType );
+
+ static TBool IsFeatureSupportedL( TInt aFeature, const TDesC& aScheme );
+
+ static TBool IsVoIPSupportedL();
+
+ static CCmsContactFieldItem::TCmsContactField MatchFieldType( TInt aPhonebookResId );
+
+
+ };