equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: One value adapter for MDesCArray. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TBSMDESCARRAYADAPTER_H__ |
|
19 #define TBSMDESCARRAYADAPTER_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <E32Std.h> |
|
23 #include <BaDesCa.h> |
|
24 |
|
25 |
|
26 // CLASS DECLARATION |
|
27 /** |
|
28 * One value adapter for MDesCArray. |
|
29 * |
|
30 * @since 3.0 |
|
31 */ |
|
32 class TBSMDesCArrayAdapter : public MDesCArray |
|
33 { |
|
34 public: //Constructor & destructor |
|
35 |
|
36 /** |
|
37 * C++ constructor. |
|
38 * Takes the descriptor to adapt. |
|
39 */ |
|
40 IMPORT_C TBSMDesCArrayAdapter( const TDesC& aDesc ); |
|
41 |
|
42 |
|
43 public: //From MDesCArray |
|
44 |
|
45 IMPORT_C TInt MdcaCount() const; |
|
46 IMPORT_C TPtrC MdcaPoint( TInt aIndex ) const; |
|
47 |
|
48 |
|
49 private: //Data |
|
50 |
|
51 //OWN: Adapted descriptor |
|
52 TPtrC iDesc; |
|
53 }; |
|
54 |
|
55 |
|
56 #endif //TBSMDESCARRAYADAPTER_H__ |
|
57 |
|
58 // End of File |
|
59 |
|
60 |
|
61 |
|
62 |