VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/EditStatusBar.h@ 81028

最後變更 在這個檔案從81028是 80721,由 vboxsync 提交於 6 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.9 KB
 
1/** @file
2 Declares statusbar interface functions.
3
4 Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved. <BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef _LIB_STATUS_BAR_H_
10#define _LIB_STATUS_BAR_H_
11
12/**
13 Initialization function for Status Bar.
14
15 @retval EFI_SUCCESS The operation was successful.
16 @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
17 @sa StatusBarSetStatusString
18**/
19EFI_STATUS
20StatusBarInit (
21 VOID
22 );
23
24/**
25 Cleanup function for the status bar.
26**/
27VOID
28StatusBarCleanup (
29 VOID
30 );
31
32/**
33 Cause the status bar to refresh it's printing on the screen.
34
35 @param[in] EditorFirst TRUE to indicate the first launch of the editor.
36 FALSE otherwise.
37 @param[in] LastRow LastPrintable row.
38 @param[in] LastCol Last printable column.
39 @param[in] FileRow Row in the file.
40 @param[in] FileCol Column in the file.
41 @param[in] InsertMode TRUE to indicate InsertMode. FALSE otherwise.
42
43 @retval EFI_SUCCESS The operation was successful.
44**/
45EFI_STATUS
46StatusBarRefresh (
47 IN BOOLEAN EditorFirst,
48 IN UINTN LastRow,
49 IN UINTN LastCol,
50 IN UINTN FileRow,
51 IN UINTN FileCol,
52 IN BOOLEAN InsertMode
53 );
54
55/**
56 Set the status string text part.
57
58 @param[in] Str The string to use.
59
60 @retval EFI_SUCCESS The operation was successful.
61 @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
62**/
63EFI_STATUS
64StatusBarSetStatusString (
65 IN CHAR16 *Str
66 );
67
68/**
69 Function to retrieve the current status string.
70
71 @return The string that is used.
72**/
73CONST CHAR16*
74StatusBarGetString (
75 VOID
76 );
77
78/**
79 Function to set the need refresh boolean to TRUE.
80**/
81VOID
82StatusBarSetRefresh(
83 VOID
84 );
85
86/**
87 Function to get the need refresh boolean to TRUE.
88
89 @retval TRUE The status bar needs to be refreshed.
90**/
91BOOLEAN
92StatusBarGetRefresh(
93 VOID
94 );
95
96#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette