phonebookui/Phonebook/View/inc/CPbkReadingEditorBinderVisitor.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 13 Oct 2010 14:15:33 +0300
branchRCL_3
changeset 85 38bb213f60ba
parent 0 e686773b3f54
permissions -rw-r--r--
Revision: 201039 Kit: 201041

/*
* Copyright (c) 2002 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: 
*       Implements MPbkFieldEditorVisitor for Japanese reading fields.
*
*/


#ifndef __CPbkReadingEditorBinderVisitor_H__
#define __CPbkReadingEditorBinderVisitor_H__

//  INCLUDES
#include <e32base.h>
#include <PbkFields.hrh>
#include "MPbkFieldEditorVisitor.h"


// FORWARD DECLARATIONS
class CReadingConverter;

// CLASS DECLARATION

/**
 * Implements MPbkEditorBinderVisitor for Japanese reading fields.
 */
NONSHARABLE_CLASS(CPbkReadingEditorBinderVisitor) : 
        public CBase,
        public MPbkFieldEditorVisitor
    {
    public: // Construction
        /**
         * Creates a new instance of this class.
         */
        static CPbkReadingEditorBinderVisitor* NewL();

        /**
         * Destructor.
         */
		~CPbkReadingEditorBinderVisitor();
		
    public:  // New methods
    
        /**
         * Prepares the binder for destruction of an editor
         */
        void NotifyEditorDeletion( TPbkFieldId aFieldId );

    public:  // from MPbkFieldEditorVisitor
        void VisitL(MPbkFieldEditorControl& aThis);

    private: // implementation
        CPbkReadingEditorBinderVisitor();

    private: // data
        ///Own: converter for first name field
        CReadingConverter* iFirstNameConverter;
        ///Own: converter for last name field
        CReadingConverter* iLastNameConverter;
    };

#endif // __CPbkReadingEditorBinderVisitor_H__
            
// End of File