mmserv/sts/inc/stsclientservercommon.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 common types and constants used by the STS server
       
    16  * and sessions.
       
    17  */
       
    18 
       
    19 #ifndef STSCLIENTSERVERCOMMON_H_
       
    20 #define STSCLIENTSERVERCOMMON_H_
       
    21 
       
    22 // SYMBIAN INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <systemtoneservice.h>
       
    25 
       
    26 // CONSTANTS
       
    27 _LIT( KStsServerFile, "StsServer" );
       
    28 _LIT( KStsServerName, "!StsServer" );
       
    29 
       
    30 const TInt KStsServerMajorVersion = 0;
       
    31 const TInt KStsServerMinorVersion = 1;
       
    32 const TInt KStsServerBuild = 0;
       
    33 
       
    34 // This type enumerates the client/server messages for the STS server.
       
    35 enum TStsServerCommandType
       
    36     {
       
    37     StsMsg_PlayTone,
       
    38     StsMsg_StopTone,
       
    39     StsMsg_ENDMARKER
       
    40     };
       
    41 
       
    42 const TStsServerCommandType KStsCmdLast =
       
    43         (TStsServerCommandType) ((int) StsMsg_ENDMARKER - 1);
       
    44 
       
    45 #endif // STSCLIENTSERVERCOMMON_H_