wim/inc/ScardNotifyObserver.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2003 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 file contains definition of abstract MScardNotifyObserver
       
    15 *               class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MSCARDNOTIFYOBSERVER_H
       
    22 #define MSCARDNOTIFYOBSERVER_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include "ScardDefs.h"
       
    26 
       
    27 //  CONSTANTS  
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Defines a pure virtual function for notifying card events.
       
    33 *  Reader Launcher must send reference of object implementing this interface
       
    34 *  to specific Reader Handler in order to give Reader Handler a ability to 
       
    35 *  notify occured events.
       
    36 *
       
    37 *  @lib Scard.lib
       
    38 *  @since Series60 2.1
       
    39 */
       
    40 class MScardNotifyObserver
       
    41     {
       
    42     public:
       
    43 
       
    44         /**
       
    45         * Notify on card event. Pure virtual.
       
    46         * @param aEvent Scard Event
       
    47         * @param aReaderID Reader ID
       
    48         * @return void
       
    49         */
       
    50         virtual void NotifyCardEvent( TScardServiceStatus aEvent, 
       
    51                                       TReaderID aReaderID ) = 0;
       
    52     };
       
    53 
       
    54 #endif      // MSCARDNOTIFYOBSERVER_H
       
    55 
       
    56 // End of File