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 ETapEvent = 1, |
|
35 ESwipeLeft, |
|
36 ESwipeRight, |
|
37 EHoldEvent |
|
38 }; |
|
39 public: |
|
40 |
|
41 |
|
42 /** |
|
43 * Populate the media list |
|
44 * this needs to be public as it is a callback. |
|
45 * @return TInt, a non-zero value if it is intended to |
|
46 * be called again, otherwise it should return zero. |
|
47 */ |
|
48 virtual void HandleShwGestureEventL(TShwGestureEventType aType) = 0; |
|
49 }; |
|
50 |
|
51 #endif //SHWGESTUREOBSERVER_H |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |