diff -r 000000000000 -r 307788aac0a8 realtimenetprots/sipfw/SDP/inc/SdpCodecTemplate.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/realtimenetprots/sipfw/SDP/inc/SdpCodecTemplate.h Tue Feb 02 01:03:15 2010 +0200 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 2003-2009 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: +* Name : SdpCodecTemplate.h +* Part of : SDP Codec +* Interface : - +* Version : 1.0 +* +*/ + + + + +/** + @internalComponent +*/ + +#ifndef SDPCODECTEMPLATE_H +#define SDPCODECTEMPLATE_H + +// INCLUDES +#include +#include + +#include "_sdpdefs.h" +#include "e32std.h" +#include "stringpool.h" + +class RReadStream; +class RWriteStream; + +template class SdpCodecTemplate + { + public: + + static void ExternalizeL(const T* aElement, RWriteStream& aWriteStream); + static void ExternalizeArrayL(RPointerArray aArray,RWriteStream& aStream); + static void EncodeArrayL(RPointerArray aArray, RWriteStream& aStream); + static void EncodeL(const T* aElement, RWriteStream& aWriteStream); + static void InternalizeArrayL(RPointerArray& aArray, RReadStream& aStream); + static void + CloneArrayL(RPointerArray& aArray, RPointerArray aSourceArray); + + }; + +#include "SdpCodecTemplate.inl" + +#endif