javaextensions/satsa/apdu/src.s60/cstsmanagechannelresp.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     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 CSTSMANAGECHANNELRESP_H
       
    20 #define CSTSMANAGECHANNELRESP_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "cstsrespapdu.h"
       
    24 
       
    25 namespace java
       
    26 {
       
    27 namespace satsa
       
    28 {
       
    29 
       
    30 // CLASS DECLARATION
       
    31 /**
       
    32  *  Detailed response APDU class for Manage Channel command APDU
       
    33  *
       
    34  *  @since 3.0
       
    35  */
       
    36 NONSHARABLE_CLASS(CSTSManageChannelResp): public CSTSRespApdu
       
    37 {
       
    38 
       
    39 public: // Constructors and destructor
       
    40     /**
       
    41      * Two-phased constructor.
       
    42      */
       
    43     static CSTSManageChannelResp* NewLC(
       
    44         TInt aMaxLength = 2,//maximum length can be minimum at 2
       
    45         CSTSApdu::TSTSApduStandard aStandard = CSTSApdu::ESTSUICC);
       
    46 
       
    47     static CSTSManageChannelResp* NewL(
       
    48         TInt aMaxLength = 2,//maximum length can be minimum at 2
       
    49         CSTSApdu::TSTSApduStandard aStandard = CSTSApdu::ESTSUICC);
       
    50 
       
    51     /**
       
    52      * Destructor.
       
    53      */
       
    54     virtual ~CSTSManageChannelResp();
       
    55 
       
    56 public: // New functions
       
    57 
       
    58     /**
       
    59      * Gets channel number from response apdu
       
    60      * @since 3.0
       
    61      * @return Channel number
       
    62      */
       
    63     TInt GetChannel() const;
       
    64 
       
    65 private: // New functions
       
    66 
       
    67     /**
       
    68      * C++ default constructor.
       
    69      */
       
    70     CSTSManageChannelResp();
       
    71 
       
    72 };
       
    73 
       
    74 } // namespace satsa
       
    75 } // namespace java
       
    76 #endif // CSTSMANAGECHANNELRESP_H
       
    77 // End of File