helix_ren/helix_stub/external_packet_source_api/inc/CXPSPacket.h
changeset 0 d7e778ce6e8e
equal deleted inserted replaced
-1:000000000000 0:d7e778ce6e8e
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __CXPSPACKET_H__
       
    21 #define __CXPSPACKET_H__
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 class CXPSPacketHdr
       
    26 {
       
    27 public:
       
    28     TUint32 m_uTimeStamp;
       
    29 	TUint16 m_uSeqNo;
       
    30 	TUint32 m_uPayloadSize;
       
    31 	TUint8  m_uMarker;
       
    32     TUint8  m_uStreamNumber;
       
    33 };
       
    34 
       
    35 class CXPSPacket 
       
    36 {
       
    37 public:
       
    38     CXPSPacketHdr m_PktHdr;
       
    39     TUint8* m_pPayload;
       
    40 public: 
       
    41 	CXPSPacket();
       
    42     CXPSPacket(CXPSPacketHdr* pHdr);
       
    43 	CXPSPacket(TUint32 _ts, TUint16 _seq, TUint32 _size, TUint8 _sNo, TUint8 _marker);
       
    44 
       
    45 	~CXPSPacket();
       
    46 	TUint8* SetPayload(TUint8* pData) ; 
       
    47 };
       
    48 
       
    49 
       
    50 
       
    51 
       
    52 #endif // end of #ifndef __CXPSPACKET_H__