uiservicetab/vimpstui/inc/cvimpstuisinglestylelistbox.h
author Simon Howkins <simonh@symbian.org>
Mon, 29 Nov 2010 11:18:43 +0000
branchRCL_3
changeset 37 7506649dda4d
parent 0 5e5d6b214f4f
permissions -rw-r--r--
Corrected path to files being exported - not in the same dir as bld.inf

/*
* Copyright (c) 2008 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:  Custom listbox component for the contact list
*
*/


#ifndef _CVIMPSTUISINGLESTYLELISTBOX_H
#define _CVIMPSTUISINGLESTYLELISTBOX_H


#include <aknlists.h>

// FORWARD DECLARATIONS
class MVIMPSTProcessArray;
class CVIMPSTUiListBoxModel;

//CLASS DECLARATION
/**
 *   single style /1 line  Custom listbox component for the contact list
 *
 *  Allows to change the model for the listbox.
 *  This is done because we have to customize the behaviour of the find pane,
 *  so that filtered list shows also the contact lists where the searched 
 *  contacts exist.
 *
 *  @lib vimpstui.dll
 *  @since S60 v5.0
 */
class CVIMPSTUiSingleStyleListBox : public CAknSingleGraphicStyleListBox
                       
    {

public://CAknColumnListBox

    /**
     * Creates the model
     * @see CAknColumnListBox
     */
    void CreateModelL();
 
    
public: // New functions

    /**
    * Give listbox a direct access to contact list model. 
    * @param aContactListModel Model of this listbox
    */
    void SetContactListModelL(MVIMPSTProcessArray& aItemModel );


    };


#endif // _CVIMPSTUISINGLESTYLELISTBOX_H