TianoCore EDK2 master
Loading...
Searching...
No Matches
FileBuffer.h
Go to the documentation of this file.
1
9#ifndef _LIB_FILE_BUFFER_H_
10#define _LIB_FILE_BUFFER_H_
11
12#include "TextEditorTypes.h"
13
23 VOID
24 );
25
33 VOID
34 );
35
44 VOID
45 );
46
64 );
65
78 VOID
79 );
80
88 VOID
89 );
90
102 IN CONST CHAR16 *Str
103 );
104
118 IN CONST CHAR16 *FileName,
119 IN CONST BOOLEAN Recover
120 );
121
133 CONST CHAR16 *FileName
134 );
135
142VOID
144 IN CONST UINTN NewFilePosRow,
145 IN CONST UINTN NewFilePosCol
146 );
147
160 OUT EFI_EDITOR_LINE **CutLine
161 );
162
171 VOID
172 );
173
185 IN CONST CHAR16 *Str,
186 IN CONST UINTN Offset
187 );
188
202 IN CONST CHAR16 *Replace,
203 IN CONST UINTN SearchLen
204 );
205
215 IN CHAR16 *SearchStr,
216 IN CHAR16 *ReplaceStr,
217 IN UINTN Offset
218 );
219
226VOID
228 IN CONST INT32 TextX,
229 IN CONST INT32 TextY
230 );
231
235VOID
237 VOID
238 );
239
240#endif
UINT64 UINTN
VOID FileBufferMovePosition(IN CONST UINTN NewFilePosRow, IN CONST UINTN NewFilePosCol)
Definition: FileBuffer.c:2677
VOID FileBufferSetModified(VOID)
Definition: FileBuffer.c:3354
EFI_STATUS FileBufferRefresh(VOID)
Definition: FileBuffer.c:551
EFI_STATUS FileBufferCleanup(VOID)
Definition: FileBuffer.c:445
EFI_STATUS FileBufferRead(IN CONST CHAR16 *FileName, IN CONST BOOLEAN Recover)
Definition: FileBuffer.c:777
EFI_STATUS FileBufferRestorePosition(VOID)
Definition: FileBuffer.c:530
EFI_STATUS FileBufferCutLine(OUT EFI_EDITOR_LINE **CutLine)
Definition: FileBuffer.c:2791
EFI_STATUS FileBufferSearch(IN CONST CHAR16 *Str, IN CONST UINTN Offset)
Definition: FileBuffer.c:2947
EFI_STATUS FileBufferHandleInput(IN CONST EFI_INPUT_KEY *Key)
Definition: FileBuffer.c:2438
EFI_STATUS FileBufferSetFileName(IN CONST CHAR16 *Str)
Definition: FileBuffer.c:719
EFI_STATUS FileBufferReplace(IN CONST CHAR16 *Replace, IN CONST UINTN SearchLen)
Definition: FileBuffer.c:3052
EFI_STATUS FileBufferBackup(VOID)
Definition: FileBuffer.c:117
VOID FileBufferAdjustMousePosition(IN CONST INT32 TextX, IN CONST INT32 TextY)
Definition: FileBuffer.c:3158
EFI_STATUS FileBufferReplaceAll(IN CHAR16 *SearchStr, IN CHAR16 *ReplaceStr, IN UINTN Offset)
Definition: FileBuffer.c:3235
EFI_STATUS FileBufferInit(VOID)
Definition: FileBuffer.c:69
EFI_STATUS FileBufferSave(CONST CHAR16 *FileName)
EFI_STATUS FileBufferPasteLine(VOID)
Definition: FileBuffer.c:2874
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29