epoc32/include/networking/qos3gpp_subconparams.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // 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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    13 // Description:
    13 // Description:
    14 // Header file for the 3GPP SubConnection Extension Parameters
    14 // Header file for the 3GPP SubConnection Extension Parameters
    15 // 
    15 // 
    16 //
    16 //
    17 
    17 
    18 
       
    19 
       
    20 /**
    18 /**
    21  @file
    19  @file
    22  @publishedAll
    20  @publishedAll
       
    21  @released
    23 */
    22 */
    24 
    23 
    25 
    24 
    26 #ifndef QOS3GPP_SUBCONPARAMS_H
    25 #ifndef QOS3GPP_SUBCONPARAMS_H
    27 #define QOS3GPP_SUBCONPARAMS_H
    26 #define QOS3GPP_SUBCONPARAMS_H
    28 
    27 
    29 #include <es_sock.h>
    28 #include <es_sock.h>
    30 #include <comms-infras/metadata.h>
    29 #include <comms-infras/metadata.h>
    31 #include <comms-infras/metatype.h>
    30 #include <comms-infras/metatype.h>
       
    31 
       
    32 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    32 #include <etelqos.h>
    33 #include <etelqos.h>
       
    34 #else
       
    35 #include <eteldefaultqos.h>
       
    36 #endif
       
    37 #include <comms-infras/es_parameterfamily.h>
    33 
    38 
    34 const TInt KSubCon3GPPExtParamsFactoryUid = 0x1020D460;
    39 const TInt KSubCon3GPPExtParamsFactoryUid = 0x1020D460;
    35 const TInt KSubConQosR99ParamsType = 1;
    40 const TInt KSubConQosR99ParamsType = 1;
    36 const TInt KSubConnSBLPR5ExtensionParamsType = 2;
    41 const TInt KSubConnSBLPR5ExtensionParamsType = 2;
    37 
    42 
    61 		EUid = KSubCon3GPPExtParamsFactoryUid,
    66 		EUid = KSubCon3GPPExtParamsFactoryUid,
    62 		EId = KSubConQosR99ParamsType,
    67 		EId = KSubConQosR99ParamsType,
    63 		};
    68 		};
    64 public:
    69 public:
    65 	inline static CSubConQosR99ParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType);
    70 	inline static CSubConQosR99ParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType);
       
    71 	inline static CSubConQosR99ParamSet* NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType);
    66 	inline static CSubConQosR99ParamSet* NewL();
    72 	inline static CSubConQosR99ParamSet* NewL();
    67 
    73 
    68 	inline CSubConQosR99ParamSet();
    74 	inline CSubConQosR99ParamSet();
    69 
    75 
    70 	inline RPacketQoS::TTrafficClass GetTrafficClass() const;
    76 	inline RPacketQoS::TTrafficClass GetTrafficClass() const;
   115 
   121 
   116 
   122 
   117 #ifdef SYMBIAN_NETWORKING_UMTSR5  
   123 #ifdef SYMBIAN_NETWORKING_UMTSR5  
   118 
   124 
   119 /** Extension QoS Parameter Set for UMTS Release 5 */
   125 /** Extension QoS Parameter Set for UMTS Release 5 */
       
   126 
   120 class CSubConImsExtParamSet : public CSubConExtensionParameterSet
   127 class CSubConImsExtParamSet : public CSubConExtensionParameterSet
   121 	{
   128 	{
   122 public:
   129 public:
   123 	enum 
   130 	enum 
   124 		{
   131 		{
   125 		EUid = KSubCon3GPPExtParamsFactoryUid,
   132 		EUid = KSubCon3GPPExtParamsFactoryUid,
   126 		EId = KSubConImsExtParamsType,
   133 		EId = KSubConImsExtParamsType,
   127 		};
   134 		};
   128 public:
   135 public:
   129 	inline static CSubConImsExtParamSet* NewL(CSubConParameterFamily& aFamily,CSubConParameterFamily::TParameterSetType aType);
   136 	inline static CSubConImsExtParamSet* NewL(CSubConParameterFamily& aFamily,CSubConParameterFamily::TParameterSetType aType);
       
   137 	inline static CSubConImsExtParamSet* NewL(RParameterFamily& aFamily,RParameterFamily::TParameterSetType aType);
   130 	inline static CSubConImsExtParamSet* NewL();
   138 	inline static CSubConImsExtParamSet* NewL();
   131 	inline CSubConImsExtParamSet();
   139 	inline CSubConImsExtParamSet();
   132 	
   140 	
   133 	// New IM CN Signalling Indicator   
   141 	// New IM CN Signalling Indicator   
   134 	inline TBool GetImsSignallingIndicator() const;
   142 	inline TBool GetImsSignallingIndicator() const;
   150 		EId = KSubConQosR5ParamsType,
   158 		EId = KSubConQosR5ParamsType,
   151 		};
   159 		};
   152 	
   160 	
   153 public:
   161 public:
   154 	inline static CSubConQosR5ParamSet* NewL(CSubConParameterFamily& aFamily,CSubConParameterFamily::TParameterSetType aType);
   162 	inline static CSubConQosR5ParamSet* NewL(CSubConParameterFamily& aFamily,CSubConParameterFamily::TParameterSetType aType);
       
   163 	inline static CSubConQosR5ParamSet* NewL(RParameterFamily& aFamily,RParameterFamily::TParameterSetType aType);
   155 	inline static CSubConQosR5ParamSet* NewL();
   164 	inline static CSubConQosR5ParamSet* NewL();
   156 	inline CSubConQosR5ParamSet();
   165 	inline CSubConQosR5ParamSet();
   157 
   166 
   158 	inline TBool GetSignallingIndicator() const;
   167 	inline TBool GetSignallingIndicator() const;
   159 	inline void SetSignallingIndicator(TBool aSignallingIndicator);
   168 	inline void SetSignallingIndicator(TBool aSignallingIndicator);
   213 		};
   222 		};
   214 	
   223 	
   215 
   224 
   216 public:
   225 public:
   217 	inline static CSubConSBLPR5ExtensionParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType);
   226 	inline static CSubConSBLPR5ExtensionParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType);
       
   227 	inline static CSubConSBLPR5ExtensionParamSet* NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType);
   218 	inline static CSubConSBLPR5ExtensionParamSet* NewL();
   228 	inline static CSubConSBLPR5ExtensionParamSet* NewL();
   219 
   229 
   220 	/**	Media Authorization Token setter and getter functions. */
   230 	/**	Media Authorization Token setter and getter functions. */
   221 	inline const TAuthToken& GetMAT() const;
   231 	inline const TAuthToken& GetMAT() const;
   222 	inline void SetMAT(const TAuthToken& aAuthToken);
   232 	inline void SetMAT(const TAuthToken& aAuthToken);
   240 	
   250 	
   241 	/** Multiple Flow Identifiers. */
   251 	/** Multiple Flow Identifiers. */
   242 	RFlowIdentifiers	iFlowIds;
   252 	RFlowIdentifiers	iFlowIds;
   243 	};
   253 	};
   244 
   254 
   245 /** Factory used to create instances of IP SubConnection Parameters.
   255 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
   246 
   256 #include <networking/qos3GPP_subconparams_factory.h>
   247 @internalComponent
   257 #endif
   248 @released Since 9.3
       
   249 */
       
   250 class CSubCon3GPPExtParamsFactory : public CBase
       
   251 	{
       
   252 public:
       
   253 	static CSubConExtensionParameterSet* NewL(TAny* aConstructionParameters);
       
   254 	};
       
   255 
   258 
   256 #include <networking/qos3gpp_subconparams.inl>
   259 #include <networking/qos3gpp_subconparams.inl>
   257 
   260 
   258 #endif
   261 #endif
   259 // QOS3GPP_SUBCONPARAMS_H
   262 // QOS3GPP_SUBCONPARAMS_H