equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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 for GSParentPlugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef GSCONTAINEREXT_H |
|
19 #define GSCONTAINEREXT_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32std.h> |
|
23 #include <e32base.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 class MGSWatchDog; |
|
27 |
|
28 /* |
|
29 * Double click preventer. |
|
30 */ |
|
31 class CGsDoubleClickPreventer : public CTimer |
|
32 { |
|
33 public: |
|
34 IMPORT_C static CGsDoubleClickPreventer* NewL(); |
|
35 |
|
36 CGsDoubleClickPreventer(); |
|
37 IMPORT_C void Start(); |
|
38 private: |
|
39 void ConstructL(); |
|
40 protected: |
|
41 void RunL() {}; |
|
42 }; |
|
43 |
|
44 /** |
|
45 * Extension for container. |
|
46 * |
|
47 */ |
|
48 class CGsContainerExt : public CBase |
|
49 { |
|
50 public: |
|
51 IMPORT_C static CGsContainerExt* NewL(); |
|
52 ~CGsContainerExt() |
|
53 { |
|
54 iDblClickPreventer->Cancel(); |
|
55 delete iDblClickPreventer; |
|
56 } |
|
57 private: |
|
58 void ConstructL(); |
|
59 public: |
|
60 MGSWatchDog* iGSWatchDog; |
|
61 CGsDoubleClickPreventer* iDblClickPreventer; |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // GSCONTAINEREXT_H |