diff -r 000000000000 -r 522cd55cc3d7 landmarksui/uicontrols/inc/MLmkMskObserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/landmarksui/uicontrols/inc/MLmkMskObserver.h Tue Feb 02 00:16:03 2010 +0200 @@ -0,0 +1,47 @@ +/* +* Copyright (c) 2002 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: LandmarksUi Content File - Provides an observer interface to Landmarks application +* for updation of middle softkey. +* +*/ + + + + + + +#ifndef MMSKOBSERVER_H +#define MMSKOBSERVER_H + +// CLASS DECLARATIONS +/** +* This interface defines specification to update MSK in landmarks +* application view w.r.t backend changes in Landmarks/Categores. +* It is implemented by the containers of the application to update +* the associated view. This callback will be called from the respective +* selectors,when there is any change noticed in the Landmarks/Categories. +*/ +class MLmkMskObserver + { + public: + /** + * Notifies the container that Landmarks/Categories have changed, + * so that containers can update their respective views. + * @param aEnableMsk to enable/disable MSK + */ + virtual void UpdateMskContainerL()=0; + virtual void UpdateMskContainerForFilterL(){}; + }; + +#endif //MMSKOBSERVER_H \ No newline at end of file