vtuis/videotelui/inc/commands/mvtuicommanditerator.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 23 Nov 2009 14:47:47 +0200
changeset 0 ed9695c8bcbe
permissions -rw-r--r--
Revision: 200948

/*
* 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:  Command iterator API definition.
*
*/


#ifndef M_VTUICOMMANDITERATOR_H
#define M_VTUICOMMANDITERATOR_H

#include <e32base.h>

/**
 *  MVtUiCommandIterator
 *
 *  API for iterating through set of commands.
 *
 *  @since S60 v3.2
 */
class MVtUiCommandIterator
    {

public:

    /**
     * Returns ETrue if the iteration has more elements
     *
     * @return ETrue if iteration contains more commands (i.e. call to Next()
     * will return a valid command), EFalse otherwise.
     */
    virtual TBool HasNext() const = 0;

    /**
     * Returns the next command in the iteration.
     *
     * @return Next command in the iteration.
     */
    virtual TInt Next() = 0;

    };

#endif // M_VTUICOMMANDITERATOR_H