00001 /* 00002 * ============================================================================== 00003 * Name : MProEngNotifyHandler.h 00004 * Part of : Profiles / Profiles Engine Wrapper 00005 * Interface : SDK, Profiles Engine Wrapper 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright © 2002-2004 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 00022 #ifndef MPROENGNOTIFYHANDLER_H 00023 #define MPROENGNOTIFYHANDLER_H 00024 00025 // INCLUDES 00026 #include <e32def.h> 00027 00028 // FORWARD DECLARATIONS 00029 class MProEngNotifyHandlerExt; 00030 class MProEngProfileActivationObserver; 00031 class MProEngActiveProfileObserver; 00032 class MProEngProfileObserver; 00033 class MProEngProfileNameArrayObserver; 00034 00035 // CLASS DECLARATION 00036 00045 class MProEngNotifyHandler 00046 { 00047 public: // New functions 00048 00062 virtual TInt RequestProfileActivationNotificationsL( 00063 MProEngProfileActivationObserver& aObserver ) = 0; 00064 00079 virtual TInt RequestActiveProfileNotificationsL( 00080 MProEngActiveProfileObserver& aObserver ) = 0; 00081 00102 virtual TInt RequestProfileNotificationsL( 00103 MProEngProfileObserver& aObserver, 00104 TInt aProfileId ) = 0; 00105 00122 virtual TInt RequestProfileNameArrayNotificationsL( 00123 MProEngProfileNameArrayObserver& aObserver ) = 0; 00124 00130 virtual void CancelProfileActivationNotifications() = 0; 00131 00137 virtual void CancelActiveProfileNotifications() = 0; 00138 00146 virtual void CancelProfileNotifications( TInt aProfileId ) = 0; 00147 00153 virtual void CancelProfileNameArrayNotifications() = 0; 00154 00159 virtual void CancelAll() = 0; 00160 00161 public: 00162 00166 virtual ~MProEngNotifyHandler() {} 00167 00168 private: // Extension interface 00169 00173 virtual MProEngNotifyHandlerExt* Extension() { return NULL; } 00174 00175 }; 00176 00177 // MPROENGNOTIFYHANDLER_H 00178 #endif 00179 00180 // End of File 00181