diff -r 000000000000 -r e686773b3f54 phonebookui/Phonebook/View/inc/PbkContactEditorStrategyFactory.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phonebookui/Phonebook/View/inc/PbkContactEditorStrategyFactory.h Tue Feb 02 10:12:17 2010 +0200 @@ -0,0 +1,55 @@ +/* +* 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: +* Contact editor strategy factory. +* +*/ + + +#ifndef __PbkContactEditorStrategyFactory_H__ +#define __PbkContactEditorStrategyFactory_H__ + +// INCLUDES +#include + +// FORWARD DECLARATIONS +class MPbkContactEditorStrategy; +class CPbkContactEngine; +class CPbkContactItem; + +// CLASS DECLARATION + +/** + * @internal Only Phonebook internal use supported! + * + * Phonebook Contact editor strategy factory. + */ +NONSHARABLE_CLASS(PbkContactEditorStrategyFactory) + { + public: // Constructors + /** + * Creates a strategy object for a contact editor. + * @param aEngine Phonebook engine + * @param aContactItem contact item + * @param aIsNewContact ETrue if the contact is new + */ + static MPbkContactEditorStrategy* CreateL( + CPbkContactEngine& aEngine, + CPbkContactItem& aContactItem, + TBool aIsNewContact); + }; + +#endif // __PbkContactEditorStrategyFactory_H__ + +// End of File