satengine/SatServer/inc/MSatBIPChannelStatusObserver.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  Interface for ChannelStatus event observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSATBIPCHANNELSTATUSOBSERVER_H
       
    21 #define MSATBIPCHANNELSTATUSOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Interface for ChannelStatus event observer. When ChannelStatus event occurs, the
       
    30 *  implementors of this class will be notified. However, this class must be send to
       
    31 *  MSatBIPEventNotifier to get the notification.
       
    32 *
       
    33 *  @lib SatEngine
       
    34 *  @since Series 60 3.0
       
    35 */
       
    36 class MSatBIPChannelStatusObserver
       
    37     {
       
    38     public:  // Constructors and destructor
       
    39 
       
    40         /**
       
    41         * C++ default constructor.
       
    42         */
       
    43         MSatBIPChannelStatusObserver() {};
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         virtual ~MSatBIPChannelStatusObserver() {};
       
    49 
       
    50     public: // New functions
       
    51 
       
    52         /**
       
    53         * Notification of an event.
       
    54         * @param aChannelId ID of the channel that started this event.
       
    55         * @param aStatus Status that caused this event.
       
    56         */
       
    57         virtual void ChannelStatus(
       
    58             const TInt aChannelId,
       
    59             const TInt aStatus ) = 0;
       
    60 
       
    61     private:
       
    62 
       
    63         // Prohibit copy constructor if not deriving from CBase.
       
    64         MSatBIPChannelStatusObserver(
       
    65             const MSatBIPChannelStatusObserver& );
       
    66 
       
    67         // Prohibit assigment operator if not deriving from CBase.
       
    68         MSatBIPChannelStatusObserver&
       
    69             operator=( const MSatBIPChannelStatusObserver& );
       
    70 
       
    71     };
       
    72 
       
    73 #endif      // MSATBIPCHANNELSTATUSOBSERVER_H
       
    74 
       
    75 // End of File