3 Copyright (c) 2006, Tristan Gingold. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the
6 BSD License which accompanies this distribution. The full text of the
7 license may be found at http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 #ifndef _UNIX_UGA_IO_H_
21 #define _UNIX_UGA_IO_H_
23 #include <Protocol/SimplePointer.h>
24 #include <Protocol/SimpleTextIn.h>
25 #include <Protocol/SimpleTextInEx.h>
26 #include <Protocol/UgaDraw.h>
28 #define EFI_UNIX_UGA_IO_PROTOCOL_GUID {0xf2e5e2c6, 0x8985, 0x11db, {0xa1, 0x91, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } }
30 typedef struct _EFI_UNIX_UGA_IO_PROTOCOL EFI_UNIX_UGA_IO_PROTOCOL
;
35 EFI_UNIX_UGA_IO_PROTOCOL
*Uga
41 EFI_UNIX_UGA_IO_PROTOCOL
*Uga
,
48 (EFIAPI
*UGACheckKey
)(
49 EFI_UNIX_UGA_IO_PROTOCOL
*Uga
55 EFI_UNIX_UGA_IO_PROTOCOL
*Uga
,
61 (EFIAPI
*UGAKeySetState
) (
62 IN EFI_UNIX_UGA_IO_PROTOCOL
*UgaIo
,
63 IN EFI_KEY_TOGGLE_STATE
*KeyToggleState
69 (EFIAPI
*UGA_REGISTER_KEY_NOTIFY_CALLBACK
) (
71 IN EFI_KEY_DATA
*KeyData
76 (EFIAPI
*UGARegisterKeyNotify
) (
77 IN EFI_UNIX_UGA_IO_PROTOCOL
*UgaIo
,
78 IN UGA_REGISTER_KEY_NOTIFY_CALLBACK CallBack
,
96 IN EFI_UNIX_UGA_IO_PROTOCOL
*Uga
,
97 IN EFI_UGA_PIXEL
*BltBuffer OPTIONAL
,
98 IN EFI_UGA_BLT_OPERATION BltOperation
,
104 (EFIAPI
*UGAIsKeyPressed
) (
105 IN EFI_UNIX_UGA_IO_PROTOCOL
*UgaIo
,
106 IN EFI_KEY_DATA
*KeyData
111 (EFIAPI
*UGACheckPointer
)(
112 EFI_UNIX_UGA_IO_PROTOCOL
*Uga
117 (EFIAPI
*UGAGetPointerState
)(
118 EFI_UNIX_UGA_IO_PROTOCOL
*Uga
,
119 EFI_SIMPLE_POINTER_STATE
*state
122 struct _EFI_UNIX_UGA_IO_PROTOCOL
{
126 UGACheckKey UgaCheckKey
;
127 UGAKeySetState UgaKeySetState
;
129 UGARegisterKeyNotify UgaRegisterKeyNotify
;
131 UGAIsKeyPressed UgaIsKeyPressed
;
132 UGACheckPointer UgaCheckPointer
;
133 UGAGetPointerState UgaGetPointerState
;
137 extern EFI_GUID gEfiUnixUgaIoProtocolGuid
;