diff -r b5e99d8877c7 -r 0dcb073356a5 realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Inc/sipphoneregistrationobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Inc/sipphoneregistrationobserver.h Wed Sep 01 12:27:36 2010 +0100 @@ -0,0 +1,57 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Name : sipphoneregistrationobserver.h +* Part of : SIP Profile Agent / SIP IMS Agent +* Version : %version: 2 % +* +*/ + + + + +/** + @internalComponent +*/ + +#ifndef MSIPPHONEREGISTRATIONOBSERVER_H +#define MSIPPHONEREGISTRATIONOBSERVER_H + +// INCLUDES +#include + +// CLASS DECLARATION +/** +* MSipPhoneRegistrationObserver defines an internal interface for observing +* phone's network registration status. +*/ +class MSipPhoneRegistrationObserver + { + public: // Abstract methods + + /** + * Called when the phone's network registration status changes. + */ + virtual void PhoneRegistrationStatusChangedL() = 0; + + /** + * Called when there is a fatal failure when monitoring + * the phone's network registration status. + * The user should delete the monitor. + * @param aError the failure reason + */ + virtual void PhoneRegistrationStatusError( TInt aError ) = 0; + }; + +#endif // MSIPPHONEREGISTRATIONOBSERVER_H