equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2002-2010 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 "Eclipse Public License v1.0" |
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.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
22 const TUint KReplyBufferMessageSlot =1; |
22 const TUint KReplyBufferMessageSlot =1; |
23 const TUint KRemoteBufferMessageSlot =2; |
23 const TUint KRemoteBufferMessageSlot =2; |
24 |
24 |
25 const TUint KAsyncMessageSlotAnimDllHandle =0; |
25 const TUint KAsyncMessageSlotAnimDllHandle =0; |
26 const TUint KAsyncMessageSlotAnimHandle =1; |
26 const TUint KAsyncMessageSlotAnimHandle =1; |
|
27 const TUint KMaxWservStringSize =600; |
|
28 |
|
29 inline TInt PadValue(TInt aValue) |
|
30 { |
|
31 TInt padding=aValue&0x3; |
|
32 if (padding>0) |
|
33 padding=4-padding; |
|
34 return padding; |
|
35 } |
|
36 |
|
37 inline TInt PaddedValue(TInt aValue) |
|
38 { |
|
39 return aValue + PadValue(aValue); |
|
40 } |
27 |
41 |
28 class TDescriptorType |
42 class TDescriptorType |
29 { |
43 { |
30 public: |
44 public: |
31 enum TBufferType |
45 enum TBufferType |