equal
deleted
inserted
replaced
|
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: Slideshow view implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef SHWGESTUREOBSERVER_H |
|
24 #define SHWGESTUREOBSERVER_H |
|
25 |
|
26 |
|
27 class MShwGestureObserver |
|
28 { |
|
29 |
|
30 public: |
|
31 |
|
32 enum TShwGestureEventType |
|
33 { |
|
34 ENoEvent = 0, // This should not be Propogated to observers. |
|
35 // Reserved for those events we will not handle now. |
|
36 ETapEvent, |
|
37 ESwipeLeft, |
|
38 ESwipeRight, |
|
39 EHoldEvent |
|
40 }; |
|
41 public: |
|
42 |
|
43 |
|
44 /** |
|
45 * Populate the media list |
|
46 * this needs to be public as it is a callback. |
|
47 * @return TInt, a non-zero value if it is intended to |
|
48 * be called again, otherwise it should return zero. |
|
49 */ |
|
50 virtual void HandleShwGestureEventL(TShwGestureEventType aType) = 0; |
|
51 }; |
|
52 |
|
53 #endif //SHWGESTUREOBSERVER_H |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |