mpbkfetchcallbacks.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name     : MPbkFetchCallback from MPbkFetchCallbacks.h
00004 *  Part of  : PbkView.dll
00005 *
00006 *  Description:
00007 *     Fetch dialog MPbkFetchKeyCallback for Phonebook.
00008 *  Version:
00009 *
00010 *  Copyright (C) 2002 Nokia Corporation.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia Corporation. All rights are reserved. Copying, 
00014 *  including reproducing, storing,  adapting or translating, any 
00015 *  or all of this material requires the prior written consent of 
00016 *  Nokia Corporation. This material also contains confidential 
00017 *  information which may not be disclosed to others without the 
00018 *  prior written consent of Nokia Corporation.
00019 * ============================================================================
00020 */
00021 
00022 #ifndef __MPbkFetchCallbacks_H__
00023 #define __MPbkFetchCallbacks_H__
00024 
00025 //  INCLUDES
00026 #include <e32def.h>
00027 #include <cntdef.h> // TContactItemId
00028 #include <w32std.h> // TKeyEvent, TEventCode
00029 
00030 //  FORWARD DECLARATIONS
00031 class CContactIdArray;
00032 
00033 // CLASS DECLARATION
00034 
00038 class MPbkFetchKeyCallback
00039     {
00040     public:
00042         enum TResult
00043             {
00045             EKeyWasNotConsumed,
00047             EKeyWasConsumed,
00049             EAccept,
00051             ECancel
00052             };
00053 
00060         virtual TResult PbkFetchKeyCallbackL
00061             (const TKeyEvent& aKeyEvent, TEventCode aType)=0;
00062 
00063     protected:
00068         virtual ~MPbkFetchKeyCallback() { }
00069     };
00070 
00071 
00075 class MPbkFetchDlgAccept
00076     {
00077     public:
00081         enum TPbkFetchAccepted
00082             {
00084             KFetchYes = 0,
00086             KFetchNo,
00088             KFetchCanceled
00089             };
00090 
00099         virtual TPbkFetchAccepted PbkFetchAcceptedL
00100             (TContactItemId aId, CContactIdArray* aMarkedEntries) = 0;
00101 
00102     protected:
00107         virtual ~MPbkFetchDlgAccept() { }
00108     };
00109 
00110 // __MPbkFetchCallbacks_H__
00111 #endif
00112 
00113 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top