mmserv/sts/stsimplementation/src/rstssession.h
changeset 14 80975da52420
child 16 43d09473c595
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
       
     1 /*
       
     2  * Copyright (c) 2010 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  * This file defines the interface to the client side session of the
       
    16  * STS Server.
       
    17  */
       
    18 
       
    19 #ifndef RSTSSESSION_H_
       
    20 #define RSTSSESSION_H_
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <systemtoneservice.h>
       
    24 
       
    25 class RStsSession : public RSessionBase
       
    26     {
       
    27 public:
       
    28 
       
    29     TInt Connect();
       
    30 
       
    31     void Close();
       
    32 
       
    33     TInt SendPlayTone(CSystemToneService::TToneType aToneType,
       
    34             unsigned int& aPlayToneContext);
       
    35 
       
    36     TInt SendStopTone(unsigned int aPlayToneContext);
       
    37 
       
    38 private:
       
    39 
       
    40     TInt StartServer();
       
    41 
       
    42     };
       
    43 
       
    44 #endif // RSTSSESSION_H_