diff options
author | thedisbo1125 <ctn44776@centurytel.net> | 2019-03-14 16:50:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 16:50:04 -0400 |
commit | 6454afdbfadee5dc95231ea23e2d245acd4ef01b (patch) | |
tree | fa47d4eeef75bdfe74d22a96e01e15b792aec3cd | |
parent | 40a62ef6d0d7551e534637bc4045a5bf5e6776c7 (diff) | |
download | phpvirtualbox-6454afdbfadee5dc95231ea23e2d245acd4ef01b.zip phpvirtualbox-6454afdbfadee5dc95231ea23e2d245acd4ef01b.tar.gz phpvirtualbox-6454afdbfadee5dc95231ea23e2d245acd4ef01b.tar.bz2 |
Update vboxconnector.php
Add ability to change clipboard mode on Advanced Tab.
-rw-r--r-- | endpoints/lib/vboxconnector.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php index 03e150d..264084d 100644 --- a/endpoints/lib/vboxconnector.php +++ b/endpoints/lib/vboxconnector.php @@ -1443,6 +1443,7 @@ class vboxconnector { $m->CPUExecutionCap = $args['CPUExecutionCap'];
$m->description = $args['description'];
+ $m->ClipboardMode = $args['ClipboardMode'];
// Start / stop config
if(@$this->settings->startStopConfig) {
@@ -1860,6 +1861,7 @@ class vboxconnector { $m->BIOSSettings->IOAPICEnabled = ($args['BIOSSettings']['IOAPICEnabled'] ? 1 : 0);
$m->CPUExecutionCap = $args['CPUExecutionCap'];
$m->description = $args['description'];
+ $m->ClipboardMode = $args['ClipboardMode'];
// Start / stop config
if(@$this->settings->startStopConfig) {
@@ -3839,6 +3841,7 @@ class vboxconnector { $this->session->machine->RTCUseUTC = $defaults->recommendedRTCUseUTC;
$this->session->machine->firmwareType = (string)$defaults->recommendedFirmware;
$this->session->machine->chipsetType = (string)$defaults->recommendedChipset;
+ $this->session->machine->ClipboardMode = 'Disabled';
if(intval($defaults->recommendedVRAM) > 0) $this->session->machine->VRAMSize = intval($defaults->recommendedVRAM);
$this->session->machine->setCpuProperty('PAE',$defaults->recommendedPAE);
@@ -4219,6 +4222,7 @@ class vboxconnector { ),
'firmwareType' => (string)$m->firmwareType,
'snapshotFolder' => $m->snapshotFolder,
+ 'ClipboardMode' => (string)$m->ClipboardMode,
'monitorCount' => $m->monitorCount,
'pageFusionEnabled' => $m->pageFusionEnabled,
'VRDEServer' => (!$m->VRDEServer ? null : array(
|