helix_ren/helix_stub/external_packet_source_api/inc/CXPSPacket.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 18 Jan 2010 20:31:16 +0200
changeset 0 d7e778ce6e8e
permissions -rw-r--r--
Revision: 201001 Kit: 201003

/*
* Copyright (c) 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: 
*
*/



#ifndef __CXPSPACKET_H__
#define __CXPSPACKET_H__

#include <e32base.h>

class CXPSPacketHdr
{
public:
    TUint32 m_uTimeStamp;
	TUint16 m_uSeqNo;
	TUint32 m_uPayloadSize;
	TUint8  m_uMarker;
    TUint8  m_uStreamNumber;
};

class CXPSPacket 
{
public:
    CXPSPacketHdr m_PktHdr;
    TUint8* m_pPayload;
public: 
	CXPSPacket();
    CXPSPacket(CXPSPacketHdr* pHdr);
	CXPSPacket(TUint32 _ts, TUint16 _seq, TUint32 _size, TUint8 _sNo, TUint8 _marker);

	~CXPSPacket();
	TUint8* SetPayload(TUint8* pData) ; 
};




#endif // end of #ifndef __CXPSPACKET_H__