satengine/SatServer/Engine/inc/MSatIconObserver.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 CSatIconHandler
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSATICONOBSERVER_H
       
    21 #define MSATICONOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Observer for CSatIconHandler
       
    30 *
       
    31 *  @lib SatEngine.lib
       
    32 *  @since Series 60 3.0
       
    33 */
       
    34 class MSatIconObserver
       
    35     {
       
    36     public:  // Constructors and destructor
       
    37 
       
    38         /**
       
    39         * Two-phased constructor.
       
    40         */
       
    41         MSatIconObserver() {};
       
    42 
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~MSatIconObserver() {};
       
    47 
       
    48     public: // New functions
       
    49 
       
    50         /**
       
    51         * Notification of getting icon info from SIM.
       
    52         */
       
    53         virtual void NotifyGetIconInfo() = 0;
       
    54 
       
    55         /**
       
    56         * Notification of getting icon image.
       
    57         */
       
    58         virtual void NotifyGetIconInstanceL() = 0;
       
    59 
       
    60         /**
       
    61         * Notification of getting icon color lookup table.
       
    62         */
       
    63         virtual void NotifyGetClutL() = 0;
       
    64 
       
    65         /**
       
    66         * Notification of operation failure.
       
    67         * @param aErrorCode Reason of failure.
       
    68         */
       
    69         virtual void NotifyFailure( TInt aErrorCode ) = 0;
       
    70         
       
    71         /**
       
    72         * Error completion for handler
       
    73         * @param aError Received error code
       
    74         * @return Result of completion
       
    75         */
       
    76         virtual TInt CompleteError( TInt aError ) const = 0;
       
    77 
       
    78     private:
       
    79 
       
    80         // Prohibit copy constructor if not deriving from CBase.
       
    81         MSatIconObserver( const MSatIconObserver& );
       
    82 
       
    83         // Prohibit assigment operator if not deriving from CBase.
       
    84         MSatIconObserver& operator=( const MSatIconObserver& );
       
    85 
       
    86     };
       
    87 
       
    88 #endif      // MSATICONOBSERVER_H
       
    89 
       
    90 // End of File