omadrm/drmengine/server/inc/drmclockclientserver.h
changeset 0 95b198f216e5
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2003 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:  This file represents the commands for client/server 
       
    15 *                communications and common internal data types.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef DRMCLOCKCLIENTSERVER_H
       
    21 #define DRMCLOCKCLIENTSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32def.h>
       
    25 
       
    26 namespace DRMClock 
       
    27     {
       
    28     // CONSTANTS
       
    29     const TUint8 KServerMajorVersion = 3;
       
    30     const TUint8 KServerMinorVersion = 0;
       
    31     const TUint16 KServerBuildVersion = 0;
       
    32 
       
    33     _LIT( KServerName, "!DRMClockServer" );  
       
    34         
       
    35     // MACROS
       
    36     // DATA TYPES
       
    37 
       
    38     enum TDRMClockCommand 
       
    39         {
       
    40         /*
       
    41           Command: Notifies the clients of the server
       
    42           Params:
       
    43           TRequestStatus& aRequestStatus ( given by the user )
       
    44         */
       
    45         EGetDRMTime = 0x01,
       
    46     
       
    47         /*
       
    48           Command: Waits for notifications from the server
       
    49           Params:
       
    50           TRequestStatus& aRequestStatus ( given by the client )
       
    51         */
       
    52         EUpdateDRMTime = 0x02
       
    53         };
       
    54     }    
       
    55     
       
    56     
       
    57 
       
    58 #endif      // DRMCLIENTSERVER_H
       
    59 
       
    60 // End of File