]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h
ShellPkg: Clean up source files
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / Clipboard.h
CommitLineData
632820d1 1/** @file\r
ba0014b9 2 Defines DiskImage - the view of the file that is visible at any point,\r
632820d1 3 as well as the event handlers for editing the file\r
ba0014b9
LG
4\r
5 Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved. <BR>\r
632820d1 6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _LIB_CLIP_BOARD_H_\r
17#define _LIB_CLIP_BOARD_H_\r
18\r
19#include "HexEditor.h"\r
20\r
a1d4bfcc 21/**\r
22 Initialization function for HDiskImage\r
23\r
24 @param[in] EFI_SUCCESS The operation was successful.\r
25 @param[in] EFI_LOAD_ERROR A load error occured.\r
26**/\r
632820d1 27EFI_STATUS\r
28HClipBoardInit (\r
29 VOID\r
30 );\r
a1d4bfcc 31\r
32/**\r
33 Initialization function for HDiskImage.\r
34\r
35 @param[in] EFI_SUCCESS The operation was successful.\r
36 @param[in] EFI_LOAD_ERROR A load error occured.\r
37**/\r
632820d1 38EFI_STATUS\r
39HClipBoardCleanup (\r
40 VOID\r
41 );\r
42\r
a1d4bfcc 43/**\r
44 Set a buffer into the clipboard.\r
45\r
46 @param[in] Buffer The buffer to add to the clipboard.\r
47 @param[in] Size The size of Buffer in bytes.\r
48\r
49 @retval EFI_SUCCESS The operation was successful.\r
50**/\r
632820d1 51EFI_STATUS\r
52HClipBoardSet (\r
a1d4bfcc 53 IN UINT8 *Buffer,\r
54 IN UINTN Size\r
632820d1 55 );\r
a1d4bfcc 56\r
57/**\r
58 Get a buffer from the clipboard.\r
59\r
60 @param[out] Buffer The pointer to the buffer to add to the clipboard.\r
61\r
62 @return the size of the buffer.\r
63**/\r
632820d1 64UINTN\r
65HClipBoardGet (\r
a1d4bfcc 66 OUT UINT8 **Buffer\r
632820d1 67 );\r
68\r
69#endif\r