phonebookui/Phonebook2/UIControls/inc/CPbk2ContactEditorUrlField.h
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2002-2007 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:  Phonebook 2 contact editor URL field.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPBK2CONTACTEDITORURLFIELD_H
       
    20 #define CPBK2CONTACTEDITORURLFIELD_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "CPbk2ContactEditorTextField.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  * Phonebook 2 contact editor URL field.
       
    29  */
       
    30 NONSHARABLE_CLASS(CPbk2ContactEditorUrlField) :
       
    31         public CPbk2ContactEditorTextField
       
    32     {
       
    33     public:  // Constructors and destructor
       
    34         
       
    35         /**
       
    36          * Creates a new instance of this class.
       
    37          *
       
    38          * @param aContactField         Contact field.
       
    39          * @param aUiBuilder            UI builder for adding the
       
    40          *                              field into dialog.
       
    41          * @param aIconInfoContainer    Icon container for
       
    42          *                              setting the icon.
       
    43          * @return  A new instance of this class.
       
    44          */
       
    45         static CPbk2ContactEditorUrlField* NewLC(
       
    46                 CPbk2PresentationContactField& aContactField,
       
    47                 MPbk2ContactEditorUiBuilder& aUiBuilder,
       
    48                 CPbk2IconInfoContainer& aIconInfoContainer );
       
    49         
       
    50         /**
       
    51          * Destructor.
       
    52          */
       
    53         virtual ~CPbk2ContactEditorUrlField();
       
    54             
       
    55     private: // Implementation
       
    56         CPbk2ContactEditorUrlField(
       
    57                 CPbk2PresentationContactField& aContactField,
       
    58                 MPbk2ContactEditorUiBuilder& aUiBuilder,
       
    59                 CPbk2IconInfoContainer& aIconInfoContainer );
       
    60         void ConstructL();
       
    61     };
       
    62 
       
    63 #endif // CPBK2CONTACTEDITORURLFIELD_H
       
    64             
       
    65 // End of File