graphics_plat/guestvideodriver_api/inc/guestvideodriverprotocol.h
branchbug235_bringup_0
changeset 146 4d1fe4a7ce83
child 153 d8f29c307082
equal deleted inserted replaced
145:8f2c3e21aac9 146:4d1fe4a7ce83
       
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Header file for the guest video driver
       
    15 
       
    16 
       
    17 #ifndef __GUESTVIDEODRIVERPROTOCOL_H
       
    18 #define __GUESTVIDEODRIVERPROTOCOL_H
       
    19 
       
    20 #include <e32cmn.h>
       
    21 #include "guestvideodrivercommon.h"
       
    22 
       
    23 /**
       
    24  * Namespace for Platform Simulator Video Driver.
       
    25  * The user API - kernel LDD messaging protocol is defined within this
       
    26  * namespace.
       
    27  */
       
    28 namespace GuestVideoDriver
       
    29     {
       
    30 
       
    31     /**
       
    32      * Enumeration of different requests
       
    33      */
       
    34     enum TRequestId
       
    35         {
       
    36         ERequestExecuteCommand = 0x1001, // Asynchronous (DoRequest)
       
    37         ERequestMapAddress = 0x1002, // Synchronous (DoControl)
       
    38         ERequestLoadCommands = 0x1004, // Synchronous (DoRequest)
       
    39         ERequestSgHandles = 0x1005, //Synchronous (DoControl)
       
    40         };
       
    41 
       
    42     }
       
    43 
       
    44 
       
    45 #endif // __GUESTVIDEODRIVERPROTOCOL_H