]>
Commit | Line | Data |
---|---|---|
d42aab6e HT |
1 | /** @file\r |
2 | internal worker functions for FileHandleWrappers to use\r | |
3 | \r | |
4 | Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r | |
56ba3746 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
d42aab6e HT |
6 | \r |
7 | **/\r | |
8 | \r | |
9 | #ifndef _FILE_HANDLE_INTERNAL_HEADER_\r | |
10 | #define _FILE_HANDLE_INTERNAL_HEADER_\r | |
11 | \r | |
12 | /**\r | |
13 | Move the cursor position one character backward.\r | |
14 | \r | |
15 | @param[in] LineLength Length of a line. Get it by calling QueryMode\r | |
16 | @param[in, out] Column Current column of the cursor position\r | |
17 | @param[in, out] Row Current row of the cursor position\r | |
18 | **/\r | |
19 | VOID\r | |
d42aab6e HT |
20 | MoveCursorBackward (\r |
21 | IN UINTN LineLength,\r | |
22 | IN OUT UINTN *Column,\r | |
23 | IN OUT UINTN *Row\r | |
24 | );\r | |
25 | \r | |
26 | /**\r | |
27 | Move the cursor position one character forward.\r | |
28 | \r | |
29 | @param[in] LineLength Length of a line.\r | |
30 | @param[in] TotalRow Total row of a screen\r | |
31 | @param[in, out] Column Current column of the cursor position\r | |
32 | @param[in, out] Row Current row of the cursor position\r | |
33 | **/\r | |
34 | VOID\r | |
d42aab6e HT |
35 | MoveCursorForward (\r |
36 | IN UINTN LineLength,\r | |
37 | IN UINTN TotalRow,\r | |
38 | IN OUT UINTN *Column,\r | |
39 | IN OUT UINTN *Row\r | |
40 | );\r | |
41 | \r | |
42 | /**\r | |
43 | Prints out each previously typed command in the command list history log.\r | |
44 | \r | |
45 | When each screen is full it will pause for a key before continuing.\r | |
46 | \r | |
47 | @param[in] TotalCols How many columns are on the screen\r | |
48 | @param[in] TotalRows How many rows are on the screen\r | |
49 | @param[in] StartColumn which column to start at\r | |
50 | **/\r | |
51 | VOID\r | |
d42aab6e HT |
52 | PrintCommandHistory (\r |
53 | IN CONST UINTN TotalCols,\r | |
54 | IN CONST UINTN TotalRows,\r | |
55 | IN CONST UINTN StartColumn\r | |
56 | );\r | |
57 | \r | |
58 | #endif //_FILE_HANDLE_INTERNAL_HEADER_\r | |
59 | \r |