classicui_pub/lists_api/inc/aknmarkingmodeobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 25 May 2010 12:58:19 +0300
branchRCL_3
changeset 25 941195f2d488
parent 23 3d340a0166ff
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2009 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:  Marking mode observer interface.
*
*/

#ifndef M_AKNMARKINGMODEOBSERVER_H
#define M_AKNMARKINGMODEOBSERVER_H

/**
 * Collection observer.
 *
 * This interface is intended for those objects that are interested
 * of collection state and need to receive collection notifications.
 *
 * @lib eikcoctl
 * @since S60 v5.2
 */
class MAknMarkingModeObserver
    {
public:

    /**
     * This method is called when marking mode is activated or deactivated.
     * 
     * @param aActivated @c ETrue if marking mode was activated, @c EFalse
     *                   if marking mode was deactivated.
     */
    virtual void MarkingModeStatusChanged( TBool aActivated ) = 0;

    /**
     * This method is called just before marking mode is closed. Client can 
     * either accept or decline closing.
     * 
     * @return @c ETrue if marking mode should be closed, otherwise @c EFalse.
     */
    virtual TBool ExitMarkingMode() const = 0;
    };

#endif // M_AKNMARKINGMODEOBSERVER_H