satengine/SatServer/inc/MSatSendDataObserver.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 DataAvailable event observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSATSENDDATAOBSERVER_H
       
    21 #define MSATSENDDATAOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Interface for DataAvailable event observer. When DataAvailable 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 MSatSendDataObserver 
       
    37     {
       
    38     public:  // Constructors and destructor
       
    39         
       
    40         /**
       
    41         * C++ default constructor.
       
    42         */
       
    43         MSatSendDataObserver() {};
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         virtual ~MSatSendDataObserver() {};
       
    49 
       
    50     public: // New functions
       
    51 
       
    52         /**
       
    53         * Notification of data has been sent
       
    54         * @param aError Indicates the status of data sent. 
       
    55         * @param aLength Number of bytes sent
       
    56         */
       
    57         virtual void DataSentNotification(
       
    58             const TInt aError, 
       
    59             const TInt aLength ) = 0;
       
    60 
       
    61     private:
       
    62 
       
    63         // Prohibit copy constructor if not deriving from CBase.
       
    64         MSatSendDataObserver( const MSatSendDataObserver& );
       
    65 
       
    66         // Prohibit assigment operator if not deriving from CBase.
       
    67         MSatSendDataObserver& operator=( const MSatSendDataObserver& );
       
    68 
       
    69     };
       
    70 
       
    71 #endif      // MSATSENDDATAOBSERVER_H   
       
    72             
       
    73 // End of File