00001 /* 00002 * ============================================================================ 00003 * Name : MPbkContactDbObserver.h 00004 * Part of : PbkEng.dll 00005 * 00006 * Description: 00007 * Interface class declaration for Phonebook contact database observers. 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 __MPbkContactDbObserver_H__ 00023 #define __MPbkContactDbObserver_H__ 00024 00025 // INCLUDES 00026 #include <cntdef.h> // cntdbobs.h requires TContactItemId from this header 00027 #include <cntdbobs.h> // MContactDbObserver 00028 00029 // FORWARD DECLARATIONS 00030 class CPbkContactEngine; 00031 00032 // CLASS DECLARATION 00033 00040 class MPbkContactDbObserver : public MContactDbObserver 00041 { 00042 protected: // Derived class interface 00048 virtual void HandleDatabaseEventL(TContactDbObserverEvent aEvent) = 0; 00049 00061 virtual void DatabaseEventHandledL(TContactDbObserverEvent /*aEvent*/) 00062 { 00063 // Empty default implementation 00064 } 00065 00070 virtual ~MPbkContactDbObserver() { } 00071 00072 private: // friend declarations 00074 friend class CPbkContactEngine; 00075 }; 00076 00077 00078 // __MPbkContactDbObserver_H__ 00079 #endif 00080 00081 // End of File