satengine/SatServer/Commands/SendSmCmd/inc/MSatSmsObserver.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-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:  Observer for the sms event
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSATSMSOBSERVER_H
       
    21 #define MSATSMSOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Observer for send sms event.
       
    30 *
       
    31 *  @lib SendSmCmd.lib
       
    32 *  @since Series 60 3.0
       
    33 */
       
    34 class MSatSmsObserver
       
    35     {
       
    36     protected:  // Constructors and destructor
       
    37 
       
    38         /**
       
    39         * C++ default constructor.
       
    40         */
       
    41         MSatSmsObserver() {};
       
    42 
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~MSatSmsObserver() {};
       
    47 
       
    48     public: // New functions
       
    49 
       
    50         /**
       
    51         * Notification of sms sent event.
       
    52         * @param aErrorCode Error code.
       
    53         */
       
    54         virtual void SmsSent( TInt aErrorCode ) = 0;
       
    55 
       
    56     private:
       
    57 
       
    58         // Prohibit copy constructor if not deriving from CBase.
       
    59         MSatSmsObserver( const MSatSmsObserver& );
       
    60 
       
    61         // Prohibit assigment operator if not deriving from CBase.
       
    62         MSatSmsObserver& operator=( const MSatSmsObserver& );
       
    63 
       
    64     };
       
    65 
       
    66 #endif      // MSATSMSOBSERVER_H
       
    67 
       
    68 // End of File