1 /* |
|
2 * Copyright (c) 2007 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: Dummy controller class for Cameraapp Unit Tests* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CAMERAAPPTESTBITMAPMANAGER_H |
|
21 #define CAMERAAPPTESTBITMAPMANAGER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <fbs.h> |
|
25 |
|
26 // CONSTANTS |
|
27 _LIT( KTestData, "This is the test data" ); |
|
28 |
|
29 // MACROS |
|
30 //#define ?macro ?macro_def |
|
31 |
|
32 // DATA TYPES |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * Handle intercommunication between camcorder UI and engine. |
|
40 * |
|
41 * @since 2.8 |
|
42 */ |
|
43 class CCameraappTestBitmapManager : public CBase |
|
44 { |
|
45 public: // Constructors and destructor |
|
46 |
|
47 /** |
|
48 * Two-phased constructor. |
|
49 */ |
|
50 static CCameraappTestBitmapManager* NewL(); |
|
51 |
|
52 /** |
|
53 * Destructor. |
|
54 */ |
|
55 virtual ~CCameraappTestBitmapManager(); |
|
56 |
|
57 public: // New functions |
|
58 |
|
59 CFbsBitmap& Bitmap( TInt aBitmapIndex ) const; |
|
60 CFbsBitmap& NextBitmap(); |
|
61 |
|
62 protected: // New functions |
|
63 |
|
64 private: |
|
65 |
|
66 /** |
|
67 * C++ default constructor. |
|
68 */ |
|
69 CCameraappTestBitmapManager(); |
|
70 |
|
71 /** |
|
72 * Symbian OS 2nd phase constructor. |
|
73 * @since 2.1 |
|
74 */ |
|
75 void ConstructL(); |
|
76 |
|
77 void IncrementBitmapIndex(); |
|
78 |
|
79 public: // Data |
|
80 // ?one_line_short_description_of_data |
|
81 //?data_declaration; |
|
82 |
|
83 protected: // Data |
|
84 // ?one_line_short_description_of_data |
|
85 //?data_declaration; |
|
86 |
|
87 private: // Data |
|
88 // Test bitmaps |
|
89 RPointerArray<CFbsBitmap> iBitmaps; |
|
90 // Index into test bitmap array |
|
91 TInt iBitmapIndex; |
|
92 }; |
|
93 |
|
94 #endif // CAMERAAPPTESTBITMAPMANAGER_H |
|
95 |
|
96 // End of File |
|