|
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: Container widget control class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef ALFCONTAINERCONTROL_H_ |
|
20 #define ALFCONTAINERCONTROL_H_ |
|
21 |
|
22 #include <alf/alfwidgetcontrol.h> |
|
23 |
|
24 namespace Alf |
|
25 { |
|
26 |
|
27 /** |
|
28 * Control class of the container widget. |
|
29 * |
|
30 * This class implements logic of the container widget. |
|
31 * |
|
32 * Container widget automatically creates an AlfContainerControl object |
|
33 * for it's control. It is not possible to construct this control through |
|
34 * AlfContainerWidgetFactoryPlugin. |
|
35 */ |
|
36 class AlfContainerControl : public CAlfWidgetControl |
|
37 { |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Default constructor |
|
42 * |
|
43 * @param aEnv UI Accelerator Toolkit environment where this container widget |
|
44 * is created. |
|
45 */ |
|
46 AlfContainerControl(CAlfEnv& aEnv); |
|
47 |
|
48 /** |
|
49 * Default destructor |
|
50 */ |
|
51 virtual ~AlfContainerControl(); |
|
52 |
|
53 /** |
|
54 * Handles events sent to widget control. |
|
55 * |
|
56 * @since S60 ?S60_version |
|
57 * @param aEvent The event to be handled. |
|
58 * @return True if the event is handled, false elsevhere. |
|
59 */ |
|
60 virtual AlfEventStatus handleEvent( const TAlfEvent& aEvent ); |
|
61 }; |
|
62 |
|
63 } |
|
64 |
|
65 #endif /*ALFCONTAINERCONTROL_H_*/ |