epoc32/include/sipstrings.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/sipstrings.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,99 +0,0 @@
     1.4 -/*
     1.5 -* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 -* All rights reserved.
     1.7 -* This component and the accompanying materials are made available
     1.8 -* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.9 -* which accompanies this distribution, and is available
    1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 -*
    1.12 -* Initial Contributors:
    1.13 -* Nokia Corporation - initial contribution.
    1.14 -*
    1.15 -* Contributors:
    1.16 -*
    1.17 -* Description:
    1.18 -* Name        : sipstrings.h
    1.19 -* Part of     : SIP Codec
    1.20 -* Interface   : SDK API, SIP Codec API
    1.21 -* Version     : SIP/4.0 
    1.22 -*
    1.23 -*/
    1.24 -
    1.25 -
    1.26 -
    1.27 -#ifndef SIPSTRINGS_H
    1.28 -#define SIPSTRINGS_H
    1.29 -
    1.30 -//  INCLUDES
    1.31 -#include <e32base.h>
    1.32 -#include <stringpool.h>
    1.33 -#include "_sipcodecdefs.h"
    1.34 -
    1.35 -// FORWARD DECLARATIONS
    1.36 -class CSIPStrings;
    1.37 -
    1.38 -// CLASS DECLARATION
    1.39 -/**
    1.40 - * @publishedAll
    1.41 - * @released
    1.42 - *
    1.43 - * This class defines string pool for SIP Codec.
    1.44 - * The client of SIP Codec must call OpenL() before 
    1.45 - * invoking any function of SIP Codec classes.
    1.46 - * The client must close the string pool when finished using
    1.47 - * SIP Codec classes.
    1.48 - *
    1.49 - * @lib sipcodec.lib
    1.50 - */
    1.51 -class SIPStrings
    1.52 -	{
    1.53 -	public:	// Constructors and destructor
    1.54 - 		
    1.55 -		/**
    1.56 -		* Opens SIP Codec string pool.
    1.57 -		* Implemented with a reference count.
    1.58 -		*/
    1.59 -		IMPORT_C static void OpenL();
    1.60 -
    1.61 -		/**
    1.62 -		* Closes SIP Codec string pool.
    1.63 -		* In other words decrements reference count and if it reaches
    1.64 -		* zero, closes the string pool.	 
    1.65 -		* The user must not call Close() if it has not called OpenL().
    1.66 -		*/
    1.67 -		IMPORT_C static void Close(); 
    1.68 -
    1.69 -
    1.70 -	public: // New functions
    1.71 -	
    1.72 -		/**
    1.73 -		* Gets a case-insensitive string specified 
    1.74 -		* in the original string table.
    1.75 -		*
    1.76 -		* @param aIndex The string table enumeration value
    1.77 -		* @return Initialised RStringF object
    1.78 -		*/
    1.79 -		IMPORT_C static RStringF StringF(TInt aIndex);
    1.80 -
    1.81 -		/**
    1.82 -		* Gets the string pool used by SIP Codec.
    1.83 -		*
    1.84 -		* @return RStringPool: A handle to a string pool
    1.85 -		*/
    1.86 -		IMPORT_C static RStringPool Pool();
    1.87 -
    1.88 -		/**
    1.89 -		* Gets the string table used by SIP Codec.
    1.90 -		*
    1.91 -		* @return TStringTable&: The string pool table
    1.92 -		*/
    1.93 -		IMPORT_C static const TStringTable& Table();
    1.94 -	
    1.95 -	private:
    1.96 -
    1.97 -		static CSIPStrings* Strings();
    1.98 -		};
    1.99 -
   1.100 -#endif // SIPSTRINGS_H
   1.101 -
   1.102 -// End of File