photosgallery/slideshow/view/src/shwgestureobserver.h
author William Roberts <williamr@symbian.org>
Thu, 08 Apr 2010 20:18:37 +0100
branchCompilerCompatibility
changeset 20 d1bdfdf534bd
parent 9 6b87b143d312
permissions -rw-r--r--
Add missing EXPORT_C in cpp files, and reinstate the DEF file additions, to fix Bug 2473 Mystery solved - RVCT 2.2 only exports functions on the basis of EXPORT_C, but RVCT 4.0 is triggered by the IMPORT_C as well

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:    Slideshow view implementation
*
*/






#ifndef SHWGESTUREOBSERVER_H
#define SHWGESTUREOBSERVER_H


class MShwGestureObserver
	{
	
public:
	
	enum TShwGestureEventType
		{
        ENoEvent = 0, 	// This should not be Propogated to observers. 
						// Reserved for those events we will not handle now. 
        ETapEvent,
		ESwipeLeft,
		ESwipeRight,
		EHoldEvent
		};
public:	


	/**
	 * Populate the media list
	 * this needs to be public as it is a callback.
	 * @return TInt, a non-zero value if it is intended to
     *      be called again, otherwise it should return zero.
	 */
	virtual void HandleShwGestureEventL(TShwGestureEventType aType) = 0;
	};
	
#endif //SHWGESTUREOBSERVER_H