mpxplugins/viewplugins/views/inc/mpxcommonlistboxarrayobserver.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     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:  Listbox array observer
       
    15 *
       
    16 */
       
    17 
       
    18  
       
    19 
       
    20 #ifndef MMPXCOMMONLISTBOXARRAYOBSERVER_H
       
    21 #define MMPXCOMMONLISTBOXARRAYOBSERVER_H
       
    22 
       
    23 /**
       
    24  * Interface for getting event callbacks from listbox array 
       
    25  *
       
    26  * @lib mpxcommoncontainer.lib
       
    27  * @since S60 v3.1
       
    28  */
       
    29 NONSHARABLE_CLASS( MMPXCommonListBoxArrayObserver )
       
    30     {
       
    31 public:
       
    32 
       
    33     enum TMPXCommonListBoxArrayEvents
       
    34         {
       
    35         EMPXCommonListBoxArrayEventIconArrayChange,
       
    36         EMPXCommonListBoxArrayEventMediaArrayChange
       
    37         };
       
    38 
       
    39     /**
       
    40      * Handle listbox array events
       
    41      *
       
    42      *  @param aEvent list box event
       
    43      */               
       
    44     virtual void HandleListBoxArrayEventL( 
       
    45         TMPXCommonListBoxArrayEvents aEvent ) = 0;   
       
    46     };    
       
    47     
       
    48 #endif // MMPXCOMMONLISTBOXARRAYOBSERVER_H