wvuing/wvuiprocess/Inc/MCASingleListViewCB.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Abstract factory for creating command objects.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MCASINGLELISTVIEWCB_H
       
    21 #define MCASINGLELISTVIEWCB_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  Interface for CallBack Method for singleview,
       
    31 *  to retreive current item index and set the details of the retrived item.
       
    32 *  @lib
       
    33 *  @since 2.6
       
    34 */
       
    35 class MCASingleListViewCB
       
    36     {
       
    37     public:
       
    38         /**
       
    39          * Gets the current item index from singlelistview
       
    40          * before resetting the array
       
    41          * @param aSettingsDialogParams - Retreive by reference from UI Component
       
    42          * @since 2.6
       
    43          */
       
    44         virtual TInt GetCurrentItemIndex( ) = 0;
       
    45 
       
    46         /**
       
    47         * Sets the item index to onwdata for singlelistview
       
    48         * on logout
       
    49         * @since 2.6
       
    50         */
       
    51         virtual void SetCurrentItemIndexL( TBool aFreshLogin /* = EFalse */ ) = 0;
       
    52 
       
    53         /**
       
    54          * Destructor
       
    55          */
       
    56         virtual ~MCASingleListViewCB() {};
       
    57 
       
    58     };
       
    59 
       
    60 #endif      // MCASINGLELISTVIEWCB_H
       
    61 // End of File