1 | /* $Id: ClipboardProvider-HostService.cpp 78809 2019-05-28 10:54:53Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Shared Clipboard - Provider implementation for host service (host side).
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2019 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 |
|
---|
19 | /*********************************************************************************************************************************
|
---|
20 | * Header Files *
|
---|
21 | *********************************************************************************************************************************/
|
---|
22 | #define LOG_GROUP LOG_GROUP_SHARED_CLIPBOARD
|
---|
23 | #include <VBox/GuestHost/SharedClipboard-uri.h>
|
---|
24 |
|
---|
25 | #include <iprt/asm.h>
|
---|
26 | #include <iprt/assert.h>
|
---|
27 | #include <iprt/dir.h>
|
---|
28 | #include <iprt/errcore.h>
|
---|
29 | #include <iprt/file.h>
|
---|
30 | #include <iprt/path.h>
|
---|
31 | #include <iprt/string.h>
|
---|
32 |
|
---|
33 |
|
---|
34 | #include <VBox/log.h>
|
---|
35 |
|
---|
36 | SharedClipboardProviderHostService::SharedClipboardProviderHostService(void)
|
---|
37 | {
|
---|
38 | LogFlowFuncEnter();
|
---|
39 | }
|
---|
40 |
|
---|
41 | SharedClipboardProviderHostService::~SharedClipboardProviderHostService(void)
|
---|
42 | {
|
---|
43 | }
|
---|
44 |
|
---|
45 | int SharedClipboardProviderHostService::ReadMetaData(void *pvData, size_t cbData, uint32_t fFlags /* = 0 */, size_t *pcbRead /* = NULL */)
|
---|
46 | {
|
---|
47 | RT_NOREF(pvData, cbData, pcbRead, fFlags);
|
---|
48 | return VERR_NOT_IMPLEMENTED;
|
---|
49 | }
|
---|
50 |
|
---|
51 | int SharedClipboardProviderHostService::ReadMetaData(SharedClipboardURIList &URIList, uint32_t fFlags /* = 0 */)
|
---|
52 | {
|
---|
53 | RT_NOREF(URIList, fFlags);
|
---|
54 | return VERR_NOT_IMPLEMENTED;
|
---|
55 | }
|
---|
56 |
|
---|
57 | int SharedClipboardProviderHostService::ReadData(void *pvBuf, size_t cbBuf, size_t *pcbRead /* = NULL */)
|
---|
58 | {
|
---|
59 | RT_NOREF(URIList, fFlags);
|
---|
60 | return VERR_NOT_IMPLEMENTED;
|
---|
61 | }
|
---|
62 |
|
---|
63 | int SharedClipboardProvider::WriteData(const void *pvBuf, size_t cbBuf, size_t *pcbWritten /* = NULL */)
|
---|
64 | {
|
---|
65 | RT_NOREF(URIList, fFlags);
|
---|
66 | return VERR_NOT_IMPLEMENTED;
|
---|
67 | }
|
---|
68 |
|
---|
69 | void SharedClipboardProvider::Reset(void)
|
---|
70 | {
|
---|
71 | }
|
---|
72 |
|
---|