/*
* 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: 
*    Interface for Phonebook command observer.
*
*/


#ifndef __MPbkMenuCommandObserver_H__
#define __MPbkMenuCommandObserver_H__

//  INCLUDES

//  FORWARD DECLARATIONS

// CLASS DECLARATION
enum TPbkCommandStatus
    {
    EPbkCommandCanceled = 0,
    EPbkCommandExecuted = 1,
	EPbkCommandNotHandled
    };

/**
 * Interface for Phonebook command observer.
 */
class MPbkMenuCommandObserver
    {
    public: // Interface
        /**
		 * Pre command execution callback.
         */
        virtual void PreCommandExecutionL() = 0;

        /**
		 * Post command execution callback.
         *
         * @param aStatus Command execution status
         */
        virtual void PostCommandExecutionL(TPbkCommandStatus aStatus) = 0;

    protected:
        /**
         * Destructor.
         */
        virtual ~MPbkMenuCommandObserver() { }
    };

#endif // __MPbkMenuCommandObserver_H__
            

// End of File
