wvuing/wvuiprocess/Inc/MCASingleListViewCB.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:41:52 +0200
changeset 0 094583676ce7
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* 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:  Abstract factory for creating command objects.
*
*/



#ifndef MCASINGLELISTVIEWCB_H
#define MCASINGLELISTVIEWCB_H

//  INCLUDES
#include <e32std.h>


// CLASS DECLARATION

/**
*  Interface for CallBack Method for singleview,
*  to retreive current item index and set the details of the retrived item.
*  @lib
*  @since 2.6
*/
class MCASingleListViewCB
    {
    public:
        /**
         * Gets the current item index from singlelistview
         * before resetting the array
         * @param aSettingsDialogParams - Retreive by reference from UI Component
         * @since 2.6
         */
        virtual TInt GetCurrentItemIndex( ) = 0;

        /**
        * Sets the item index to onwdata for singlelistview
        * on logout
        * @since 2.6
        */
        virtual void SetCurrentItemIndexL( TBool aFreshLogin /* = EFalse */ ) = 0;

        /**
         * Destructor
         */
        virtual ~MCASingleListViewCB() {};

    };

#endif      // MCASINGLELISTVIEWCB_H
// End of File