00001 /* 00002 * ============================================================================ 00003 * Name : CPbkContactChangeNotifier.h 00004 * Part of : PbkEng.dll 00005 * 00006 * Description: 00007 * Class for registering CPbkContactEngine 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 __CPbkContactChangeNotifier_H__ 00023 #define __CPbkContactChangeNotifier_H__ 00024 00025 // INCLUDES 00026 #include <e32base.h> // CBase 00027 00028 // FORWARD DECLARATIONS 00029 class CPbkContactEngine; 00030 class MPbkContactDbObserver; 00031 00032 00033 // CLASS DECLARATION 00034 00039 class CPbkContactChangeNotifier : public CBase 00040 { 00041 public: // Constructors and destructor 00050 IMPORT_C static CPbkContactChangeNotifier* NewL 00051 (CPbkContactEngine& aEngine, MPbkContactDbObserver* aObserver); 00052 00057 ~CPbkContactChangeNotifier(); 00058 00059 private: // Implementation 00060 CPbkContactChangeNotifier 00061 (MPbkContactDbObserver* aObserver); 00062 void ConstructL(CPbkContactEngine& aEngine); 00063 00064 private: // data 00066 CPbkContactEngine* iEngine; 00068 MPbkContactDbObserver* iObserver; 00069 }; 00070 00071 00072 // __CPbkContactChangeNotifier_H__ 00073 #endif 00074 00075 // End of File