gba/gbaapi/inc/GbaServerSession.h
changeset 0 164170e6151a
child 1 d5423fbb4f29
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2007 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:  class RGbaServerSession definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GBASERVERSESSION_H_
       
    20 #define GBASERVERSESSION_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <gbautility.h>
       
    24 
       
    25 class RGbaServerSession : public RSessionBase
       
    26     {
       
    27     public:
       
    28         RGbaServerSession();
       
    29         TInt Connect();
       
    30         TVersion Version() const;
       
    31         TInt CancelBootstrap() const;
       
    32         TInt RequestOption(TUid optionUid, TDes8& aValue) const;
       
    33         TInt WriteOption(TUid optionUid, const TDesC8& aValue) const;
       
    34         TInt IsGBAUSupported( TBool& aIsGBAUSupported );
       
    35         void RequestBootstrap(TGBABootstrapInputParams& aInput, TGBABootstrapOutputParams& aOutput, TRequestStatus& aStatus);
       
    36     private:
       
    37         TPtr8   iGbaInputBuffer;
       
    38         TPtr8   iGbaOutputBuffer;
       
    39     };
       
    40 
       
    41 #endif // GBASERVERSESSION_H
       
    42 
       
    43 
       
    44 
       
    45 //EOF