mmsharing/mmshavailability/inc/musavatelephonystatusobserver.h
changeset 0 f0cf47e981f9
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  This observer is used by master - slave pattern to get 
       
    15 *                function call from the slave (availability)
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MUSAVATELEPHONYSTATUSOBSERVER_H
       
    21 #define MUSAVATELEPHONYSTATUSOBSERVER_H
       
    22 
       
    23 /**
       
    24  *  Availability Observer base class 
       
    25  *
       
    26  *  Observer interface for master clients.
       
    27  *
       
    28  *  @lib musavailabilityplugin.lib
       
    29  *  @since S60 v3.2
       
    30  */
       
    31  
       
    32 #include <etelmm.h>
       
    33 
       
    34 class MMusAvaTelephonyStatusObserver
       
    35     {
       
    36 
       
    37 public:
       
    38                         
       
    39     /**
       
    40      * Current Network Mode Status
       
    41      *
       
    42      * @since  S60 v3.2
       
    43      * @return 
       
    44      */
       
    45     virtual void PhoneNetworkModeStatus( 
       
    46                             RMobilePhone::TMobilePhoneNetworkMode aStatus ) = 0;
       
    47     
       
    48    /**
       
    49      * Current Network Registration Status
       
    50      *
       
    51      * @since  S60 v3.2
       
    52      * @return 
       
    53      */
       
    54     virtual void NetworkRegistrationStatus( 
       
    55                 RMobilePhone::TMobilePhoneRegistrationStatus aRegStatus ) = 0;
       
    56     };
       
    57     
       
    58 
       
    59 
       
    60 #endif //MUSAVATELEPHONYSTATUSOBSERVER_H