diff -r 000000000000 -r e686773b3f54 phonebookui/Phonebook/View/inc/CPbkReadingEditorBinderVisitor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phonebookui/Phonebook/View/inc/CPbkReadingEditorBinderVisitor.h Tue Feb 02 10:12:17 2010 +0200 @@ -0,0 +1,74 @@ +/* +* 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 +#include +#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