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