emailcontacts/remotecontactlookup/settingplugin/inc/cfscrclsettingview.h
branchRCL_3
changeset 33 da5135c61bad
parent 32 a3a1ae9acec6
child 34 cd2816114bd1
equal deleted inserted replaced
32:a3a1ae9acec6 33:da5135c61bad
     1 /*
       
     2 * Copyright (c) 2008 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:  Remote Contact Lookup Extension setting view.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CFSCRCLSETTINGVIEW_H
       
    20 #define CFSCRCLSETTINGVIEW_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <MPbk2SettingsViewExtension.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CFscRclSettingControl;
       
    27 /**
       
    28 *  CFscRclSettingView - phonebook settings view extension
       
    29 *  
       
    30 */
       
    31 class CFscRclSettingView : public CBase, public MPbk2SettingsViewExtension
       
    32     {
       
    33     public:  // Construction and destruction
       
    34         
       
    35         /**
       
    36          * Creates a new instance of this class.
       
    37          *
       
    38          * @return  A new instance of this class.
       
    39          */
       
    40         static CFscRclSettingView* NewL();
       
    41         
       
    42         /**
       
    43          * Creates a new instance of this class.
       
    44          * 
       
    45          * @return  A new instance of this class.
       
    46          */
       
    47         static CFscRclSettingView* NewLC();
       
    48         
       
    49         /**
       
    50          * Destructor.
       
    51          */
       
    52         ~CFscRclSettingView();
       
    53         
       
    54     public:     // Methods from MPbk2SettingsViewExtension
       
    55         
       
    56         MPbk2SettingsControlExtension* CreatePbk2SettingsControlExtensionL();
       
    57         
       
    58         void DynInitMenuPaneL(TInt aMenuId,CEikMenuPane* aMenuPane);
       
    59         
       
    60         TBool HandleCommandL(TInt aCommand);
       
    61         
       
    62     public:     // Methods from MPbk2UiReleasable
       
    63         void DoRelease();
       
    64         
       
    65     private:    // CFscRclSettingView private constructors
       
    66         
       
    67         CFscRclSettingView();
       
    68         
       
    69         void ConstructL();
       
    70         
       
    71     private:    // CFscRclSettingView private member variables
       
    72 
       
    73         // Phonebook2 settings extension reference
       
    74         CFscRclSettingControl* iSettingsControl;        
       
    75     };
       
    76 
       
    77 #endif // CFSCRCLSETTINGVIEW_H