adaptationlayer/tsy/nokiatsy_dll/inc/cmmstaticutility.h
changeset 8 6295dc2169f3
parent 7 fa67e03b87df
equal deleted inserted replaced
7:fa67e03b87df 8:6295dc2169f3
     1 /*
     1 /*
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   145         * @param TDes8& aInetAddr: Clients IP address
   145         * @param TDes8& aInetAddr: Clients IP address
   146         */
   146         */
   147         static void ConvertIPAddressToClient(
   147         static void ConvertIPAddressToClient(
   148             const TDesC8& aGPDSAddres,
   148             const TDesC8& aGPDSAddres,
   149             TDes8& aInetAddr );
   149             TDes8& aInetAddr );
       
   150 
       
   151         /**
       
   152         * Converts IP address string from client into GPDS suitable format
       
   153         * @param TDes8& aClientAddr: Clients IP address
       
   154         * @param TDesC8& aGpdsAddres: GPDS IP address
       
   155         */
       
   156         static TInt ConvertIPAddressFromClient(
       
   157             const TDesC8& aClientAddr,
       
   158             TDes8& aGpdsAddr );
       
   159 
   150         /**
   160         /**
   151         * Converts number string to integer
   161         * Converts number string to integer
   152         * @param TUint& integer: integer value
   162         * @param TUint& integer: integer value
   153         * @param TDesC& buffer: buffer containing the number string
   163         * @param TDesC& buffer: buffer containing the number string
   154         */
   164         */
   232         * Get unicode character
   242         * Get unicode character
   233         * @param aCharacter Input character
   243         * @param aCharacter Input character
   234         * @return Unicode character
   244         * @return Unicode character
   235         */
   245         */
   236         static TUint16 GetUnicodeGsm( TUint8 aCharacter);
   246         static TUint16 GetUnicodeGsm( TUint8 aCharacter);
       
   247 
       
   248         /**
       
   249         * Converts data to GSM format
       
   250         * @param aInputString Input string
       
   251         * @param aGsmDataString Output string
       
   252         * @return None
       
   253         */
       
   254         static void ConvertUcs2To7BitCodedData(
       
   255             TDesC16& aInputString,
       
   256             TDes8& aGsmDataString );
   237 
   257 
   238         /**
   258         /**
   239         * Converts data to GSM format
   259         * Converts data to GSM format
   240         * @param aInputString Input string
   260         * @param aInputString Input string
   241         * @param aGsmDataString Output string
   261         * @param aGsmDataString Output string