equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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: Implements a empty container for gsplugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CEMPTYCONTAINER_H |
|
20 #define CEMPTYCONTAINER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 #include <coecntrl.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * CCEmptyContainer |
|
31 * |
|
32 */ |
|
33 class CCEmptyContainer : public CCoeControl |
|
34 { |
|
35 public: |
|
36 // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 ~CCEmptyContainer(); |
|
42 |
|
43 /** |
|
44 * Two-phased constructor. |
|
45 */ |
|
46 static CCEmptyContainer* NewL ( const TRect& aRect, const CCoeControl* aParent ); |
|
47 |
|
48 /** |
|
49 * Two-phased constructor. |
|
50 */ |
|
51 static CCEmptyContainer* NewLC ( const TRect& aRect, const CCoeControl* aParent ); |
|
52 |
|
53 public: |
|
54 // from base class CCoeControl |
|
55 TInt CountComponentControls() const; |
|
56 |
|
57 CCoeControl* ComponentControl( TInt aIndex ) const; |
|
58 |
|
59 private: |
|
60 |
|
61 /** |
|
62 * Constructor for performing 1st stage construction |
|
63 */ |
|
64 CCEmptyContainer(); |
|
65 |
|
66 /** |
|
67 * EPOC default constructor for performing 2nd stage construction |
|
68 */ |
|
69 void ConstructL ( const TRect& aRect, const CCoeControl* aParent ); |
|
70 |
|
71 }; |
|
72 |
|
73 #endif // CEMPTYCONTAINER_H |