2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Phonebook contact editor exit callback abstract interface.
20 #ifndef __MPbkEditorOkToExitCallback_H__
21 #define __MPbkEditorOkToExitCallback_H__
26 * Phonebook contact editor exit callback interface. This callback is used in
27 * conjunction with the CPbkContactEditorDlg editing dialog. The user can set
28 * a callback function that is called before the dialog exit happens.
29 * @see CPbkContactEditorDlg
31 class MPbkEditorOkToExitCallback
36 * Returns ETrue if it is ok to exit the contact editor and
39 * @param aCommandId The exit command id.
40 * @return ETrue to exit the editor.
42 virtual TBool OkToExitL(
43 TInt aCommandId ) = 0;
47 #endif // __MPbkEditorOkToExitCallback_H__