]>
Commit | Line | Data |
---|---|---|
632820d1 | 1 | /** @file\r |
2 | Declares editor interface functions.\r | |
3 | \r | |
4 | Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r | |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _LIB_EDITOR_H_\r | |
16 | #define _LIB_EDITOR_H_\r | |
17 | \r | |
18 | #include "TextEditorTypes.h"\r | |
19 | \r | |
20 | /**\r | |
21 | The initialization function for MainEditor.\r | |
22 | \r | |
23 | @retval EFI_SUCCESS The operation was successful.\r | |
24 | @retval EFI_LOAD_ERROR A load error occured.\r | |
25 | **/\r | |
26 | EFI_STATUS\r | |
27 | EFIAPI\r | |
28 | MainEditorInit (\r | |
29 | VOID\r | |
30 | );\r | |
31 | \r | |
32 | /**\r | |
33 | The cleanup function for MainEditor.\r | |
34 | \r | |
35 | @retval EFI_SUCCESS The operation was successful.\r | |
36 | @retval EFI_LOAD_ERROR A load error occured.\r | |
37 | **/\r | |
38 | EFI_STATUS\r | |
39 | EFIAPI\r | |
40 | MainEditorCleanup (\r | |
41 | VOID\r | |
42 | );\r | |
43 | \r | |
44 | /**\r | |
45 | Refresh the main editor component.\r | |
46 | **/\r | |
47 | VOID\r | |
48 | EFIAPI\r | |
49 | MainEditorRefresh (\r | |
50 | VOID\r | |
51 | );\r | |
52 | \r | |
53 | /**\r | |
54 | Handle user key input. This routes to other functions for the actions.\r | |
55 | \r | |
56 | @retval EFI_SUCCESS The operation was successful.\r | |
57 | @retval EFI_LOAD_ERROR A load error occured.\r | |
58 | @retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r | |
59 | **/\r | |
60 | EFI_STATUS\r | |
61 | EFIAPI\r | |
62 | MainEditorKeyInput (\r | |
63 | VOID\r | |
64 | );\r | |
65 | \r | |
66 | /**\r | |
67 | Backup function for MainEditor\r | |
68 | \r | |
69 | @retval EFI_SUCCESS The operation was successful.\r | |
70 | **/\r | |
71 | EFI_STATUS\r | |
72 | EFIAPI\r | |
73 | MainEditorBackup (\r | |
74 | VOID\r | |
75 | );\r | |
76 | \r | |
77 | #endif\r |