FreeRDP
Loading...
Searching...
No Matches
libwinpr/clipboard/clipboard.h
1
20#ifndef WINPR_CLIPBOARD_PRIVATE_H
21#define WINPR_CLIPBOARD_PRIVATE_H
22
23#include <winpr/winpr.h>
24#include <winpr/clipboard.h>
25
26#include <winpr/collections.h>
27
28typedef struct
29{
30 UINT32 syntheticId;
31 CLIPBOARD_SYNTHESIZE_FN pfnSynthesize;
33
34typedef struct
35{
36 UINT32 formatId;
37 char* formatName;
38
39 UINT32 numSynthesizers;
40 wClipboardSynthesizer* synthesizers;
42
44{
45 UINT64 ownerId;
46
47 /* clipboard formats */
48
49 UINT32 numFormats;
50 UINT32 maxFormats;
51 UINT32 nextFormatId;
52 wClipboardFormat* formats;
53
54 /* clipboard data */
55
56 UINT32 size;
57 void* data;
58 UINT32 formatId;
59 UINT32 sequenceNumber;
60
61 /* clipboard file handling */
62
63 wArrayList* localFiles;
64 UINT32 fileListSequenceNumber;
65
66 wClipboardDelegate delegate;
67
69};
70
71WINPR_LOCAL BOOL ClipboardInitSynthesizers(wClipboard* clipboard);
72
73WINPR_LOCAL char* parse_uri_to_local_file(const char* uri, size_t uri_len);
74
75extern const char* mime_text_plain;
76
77#endif /* WINPR_CLIPBOARD_PRIVATE_H */