equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2005 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 |
|
21 #ifndef __RtpManagerDef_H |
|
22 #define __RtpManagerDef_H |
|
23 |
|
24 // CONSTANTS |
|
25 const TUint KRtpMaxPayloadTypes( 128 ); // number of Payload types available. |
|
26 const TInt KUseDefaultIap( -1 ); |
|
27 |
|
28 // DATA TYPES |
|
29 enum TObjectType |
|
30 { |
|
31 ESession = 0, |
|
32 EStream |
|
33 }; |
|
34 |
|
35 // CLASS DECLARATION |
|
36 class TArrayStore |
|
37 { |
|
38 public : |
|
39 inline TArrayStore( const TRtpId aMagicKey ); |
|
40 inline TArrayStore( const TRtpId aMagicKey, const TUint aSessionAddress, |
|
41 const TObjectType aObjectType ); |
|
42 inline TRtpId GetMagicKey() const; |
|
43 inline TUint GetSessionAddress() const; |
|
44 inline TObjectType GetObjectType() const; |
|
45 |
|
46 static const TInt iOffset; |
|
47 private: // Data |
|
48 const TRtpId iMagicKey; |
|
49 const TUint iSessionAddress; |
|
50 const TObjectType iObjectType; |
|
51 }; |
|
52 |
|
53 #include "rtpmanagerdef.inl" |
|
54 |
|
55 #endif |
|
56 |
|
57 // End of file |