javaextensions/satsa/apdu/src.s60/mstscloseobserver.h
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 2008 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:
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MSTSCLOSEOBSERVER_H
       
    20 #define MSTSCLOSEOBSERVER_H
       
    21 
       
    22 namespace java
       
    23 {
       
    24 namespace satsa
       
    25 {
       
    26 
       
    27 // CLASS DECLARATION
       
    28 // Specifies observer for to close connection
       
    29 
       
    30 NONSHARABLE_CLASS(MSTSCloseObserver)
       
    31 {
       
    32 public: // data types
       
    33     enum TSTSCloseReason
       
    34     {
       
    35         ESTSCardNotAvailable,
       
    36         ESTSBTSapInUse
       
    37     };
       
    38 
       
    39 public: // New functions
       
    40 
       
    41 
       
    42     // Closes the connection
       
    43     virtual void NotifyClose(TInt aReason) = 0;
       
    44 
       
    45 }
       
    46 ;
       
    47 
       
    48 } // namespace satsa
       
    49 } // namespace java
       
    50 #endif // MSTSCLOSEOBSERVER_H
       
    51 // End of File