realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Inc/sipphoneregistrationobserver.h
branchGCC_SURGE
changeset 36 f91588750b61
parent 28 0cae6035b266
parent 35 a858c2cf6a45
equal deleted inserted replaced
28:0cae6035b266 36:f91588750b61
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name        : sipphoneregistrationobserver.h
       
    16 * Part of     : SIP Profile Agent / SIP IMS Agent
       
    17 * Version     : %version: 2 %
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef MSIPPHONEREGISTRATIONOBSERVER_H
       
    29 #define MSIPPHONEREGISTRATIONOBSERVER_H
       
    30 
       
    31 // INCLUDES
       
    32 #include <e32def.h>
       
    33 
       
    34 // CLASS DECLARATION
       
    35 /**
       
    36 * MSipPhoneRegistrationObserver defines an internal interface for observing 
       
    37 * phone's network registration status.
       
    38 */
       
    39 class MSipPhoneRegistrationObserver
       
    40     {
       
    41     public: // Abstract methods
       
    42 
       
    43         /**
       
    44          * Called when the phone's network registration status changes.
       
    45          */
       
    46         virtual void PhoneRegistrationStatusChangedL() = 0;
       
    47 
       
    48         /**
       
    49          * Called when there is a fatal failure when monitoring
       
    50          * the phone's network registration status.
       
    51          * The user should delete the monitor.
       
    52          * @param aError the failure reason
       
    53          */
       
    54         virtual void PhoneRegistrationStatusError( TInt aError ) = 0;
       
    55     };
       
    56 
       
    57 #endif // MSIPPHONEREGISTRATIONOBSERVER_H