phonebookui/Phonebook2/CommandsExtension/inc/MPbk2vCardConverterObserver.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-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:  An observer for vcard conversion
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2VCARDCONVERTEROBSERVER_H
       
    20 #define MPBK2VCARDCONVERTEROBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 class MPbk2vCardConverterObserver
       
    25 	{
       
    26 	public:
       
    27 		
       
    28 		/**
       
    29 		 * Called when all contacts have been converted.
       
    30 		 * @param aCount count of converted contacts
       
    31 		 */
       
    32 		virtual void ConversionDone(TInt aCount) = 0;
       
    33 		
       
    34 		/**
       
    35 		 * Called when error occurs.
       
    36 		 * @param aError error code
       
    37 		 */
       
    38 		virtual void ConversionError(TInt aError) = 0;
       
    39 	};
       
    40 
       
    41 #endif // MPBK2VCARDCONVERTEROBSERVER_H
       
    42 
       
    43 // End of file