gsprofilesrv_plat/settings_framework_api/inc/GSTabbedViewOwner.h
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     1 /*
       
     2 * Copyright (c) 2005 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:   Header file for MGSTabbedViewOwner class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSTABBEDVIEWOWNER_H
       
    20 #define GSTABBEDVIEWOWNER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class CGSPluginInterface;
       
    25 
       
    26 /**
       
    27 * Interface for MGSTabbedView owner class. Views owning tabbed sub-views
       
    28 * implement this.
       
    29 */
       
    30 class MGSTabbedViewOwner
       
    31     {
       
    32     public:
       
    33         /**
       
    34         * @return Reference to owned tabbed views which should be included in
       
    35         *         the sub-view's tab group.
       
    36         */
       
    37         virtual CArrayPtrFlat<CGSPluginInterface>* TabbedViews() = 0;
       
    38 
       
    39         /**
       
    40         * Parent view implements this to handle switching tabs. This is needed
       
    41         * in case parent view needs to update selected item index according to
       
    42         * tab selection.
       
    43         *
       
    44         * @param selectedTabUid UID of the selected tab item.
       
    45         */
       
    46         virtual void TabChangedL( TUid selectedTabUid ) = 0;
       
    47     };
       
    48 
       
    49 #endif // GSTABBEDVIEWOWNER_H
       
    50 //End of File