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