equal
deleted
inserted
replaced
|
1 // common.h |
|
2 // |
|
3 // Copyright (c) 2006 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #ifndef COMMON_H |
|
14 #define COMMON_H |
|
15 |
|
16 class TOverflow16 : public TDes16Overflow |
|
17 { |
|
18 public: |
|
19 TOverflow16() : iOverflow(EFalse) {} |
|
20 void Overflow(TDes16 &) { iOverflow = ETrue; } |
|
21 TBool iOverflow; |
|
22 }; |
|
23 class TOverflow8 : public TDes8Overflow |
|
24 { |
|
25 public: |
|
26 TOverflow8() : iOverflow(EFalse) {} |
|
27 void Overflow(TDes8 &) { iOverflow = ETrue; } |
|
28 TBool iOverflow; |
|
29 }; |
|
30 |
|
31 |
|
32 #endif |