00001 /* 00002 * ============================================================================== 00003 * Name : sipprofileregistryobserver.h 00004 * Part of : SIP Profile Client 00005 * Interface : SDK API, SIP Profile API 00006 * Description : The observer class for monitoring SIP profiles. 00007 * Version : 1.0 00008 * 00009 * Copyright (c) 2003 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef MSIPPROFILEOREGISTRYBSERVER_H 00022 #define MSIPPROFILEOREGISTRYBSERVER_H 00023 00024 // INCLUDES 00025 #include <e32base.h> 00026 #include <e32std.h> 00027 00028 // FORWARD DECLARATIONS 00029 00030 // CLASS DECLARATION 00039 class MSIPProfileRegistryObserver 00040 { 00041 public: 00043 enum TEvent 00044 { 00050 EProfileCreated = 0, 00066 EProfileUpdated, 00073 EProfileRegistered, 00080 EProfileDeregistered, 00087 EProfileDestroyed 00088 }; 00089 00095 virtual void ProfileRegistryEventOccurred(TUint32 aProfileId, 00096 TEvent aEvent)=0; 00097 00105 virtual void ProfileRegistryErrorOccurred(TUint32 aProfileId, 00106 TInt aError)=0; 00107 }; 00108 00109 // MSIPPROFILEOREGISTRYBSERVER_H 00110 #endif