diff -r 000000000000 -r ff3acec5bc43 mpxplugins/viewplugins/inc/mpxlayoutswitchobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpxplugins/viewplugins/inc/mpxlayoutswitchobserver.h Thu Dec 17 08:45:05 2009 +0200 @@ -0,0 +1,42 @@ +/* +* Copyright (c) 2006 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: Definition of layout switch observer class. +* +*/ + + + +#ifndef M_MMPXLAYOUTSWITCHOBSERVER_H +#define M_MMPXLAYOUTSWITCHOBSERVER_H + + +/** + * Observer class to receive events about layout switch events + * + * @lib mpxplaybackview.lib + * @since S60 v3.0 + */ +NONSHARABLE_CLASS( MMPXLayoutSwitchObserver ) + { +public: + + /** + * Callback function when layout is changed. + * + * @since S60 v3.0 + */ + virtual void HandleLayoutChange() = 0; + }; + +#endif // M_MMPXLAYOUTSWITCHOBSERVER_H