cpbkselectfielddlg.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name     : CPbkSelectFieldDlg from CPbkSelectFieldDlg.h
00004 *  Part of  : PbkView.dll
00005 *
00006 *  Description:
00007 *     Phonebook field selection dialog.
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 __CPbkSelectFieldDlg_H__
00023 #define __CPbkSelectFieldDlg_H__
00024 
00025 //  INCLUDES
00026 #include <e32base.h>    // CBase
00027 
00028 // FORWARD DECLARATIONS
00029 class TPbkContactItemField;
00030 class CPbkFieldArray;
00031 class MPbkControlKeyObserver;
00032 
00033 
00034 // CLASS DECLARATION
00035 
00042 class CPbkSelectFieldDlg : public CBase
00043     {
00044     public:  // Interface
00048         IMPORT_C CPbkSelectFieldDlg();
00049 
00062         IMPORT_C TPbkContactItemField* ExecuteLD
00063             (CPbkFieldArray& aArray, 
00064             TInt aCbaResourceId, 
00065             const TDesC& aHeading = KNullDesC, 
00066             TInt aFocusIndex=-1);
00067 
00071         IMPORT_C ~CPbkSelectFieldDlg();
00072 
00080         IMPORT_C void SetObserver(MPbkControlKeyObserver* aKeyObserver);
00081 
00086         IMPORT_C void AttemptExitL(TBool aAccept);
00087 
00092         IMPORT_C void ResetWhenDestroyed(CPbkSelectFieldDlg** aSelfPtr);
00093 
00094     private: // Data
00096         class CListBox;
00098         CListBox* iListBox;
00100         class CPopupList;
00102         CPopupList* iPopupList;
00104         MPbkControlKeyObserver* iKeyObserver;
00106         TBool* iDestroyedPtr;
00108         CPbkSelectFieldDlg** iSelfPtr;
00110         TInt32 iSpare1;
00111     }; 
00112 
00113 // __CPbkSelectFieldDlg_H__
00114 #endif
00115             
00116 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top