- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
232 lines
6 KiB
PHP
232 lines
6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: preferences.proto
|
|
|
|
namespace Rv\Data\Preferences;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Preferences.Screens</code>
|
|
*/
|
|
class Screens extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_at_launch = 1;</code>
|
|
*/
|
|
protected $enable_at_launch = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool show_performance_stats = 2;</code>
|
|
*/
|
|
protected $show_performance_stats = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool ignore_background_colors = 3;</code>
|
|
*/
|
|
protected $ignore_background_colors = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProClockSource clock_source = 4;</code>
|
|
*/
|
|
protected $clock_source = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool show_keynote_and_powerpoint = 5;</code>
|
|
*/
|
|
protected $show_keynote_and_powerpoint = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool disable_blackmagic_sync_groups = 6;</code>
|
|
*/
|
|
protected $disable_blackmagic_sync_groups = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool use_directx_rendering = 7;</code>
|
|
*/
|
|
protected $use_directx_rendering = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type bool $enable_at_launch
|
|
* @type bool $show_performance_stats
|
|
* @type bool $ignore_background_colors
|
|
* @type \Rv\Data\ProClockSource $clock_source
|
|
* @type bool $show_keynote_and_powerpoint
|
|
* @type bool $disable_blackmagic_sync_groups
|
|
* @type bool $use_directx_rendering
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Preferences::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_at_launch = 1;</code>
|
|
* @return bool
|
|
*/
|
|
public function getEnableAtLaunch()
|
|
{
|
|
return $this->enable_at_launch;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_at_launch = 1;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setEnableAtLaunch($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->enable_at_launch = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_performance_stats = 2;</code>
|
|
* @return bool
|
|
*/
|
|
public function getShowPerformanceStats()
|
|
{
|
|
return $this->show_performance_stats;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_performance_stats = 2;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setShowPerformanceStats($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->show_performance_stats = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool ignore_background_colors = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIgnoreBackgroundColors()
|
|
{
|
|
return $this->ignore_background_colors;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool ignore_background_colors = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIgnoreBackgroundColors($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->ignore_background_colors = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProClockSource clock_source = 4;</code>
|
|
* @return \Rv\Data\ProClockSource|null
|
|
*/
|
|
public function getClockSource()
|
|
{
|
|
return $this->clock_source;
|
|
}
|
|
|
|
public function hasClockSource()
|
|
{
|
|
return isset($this->clock_source);
|
|
}
|
|
|
|
public function clearClockSource()
|
|
{
|
|
unset($this->clock_source);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProClockSource clock_source = 4;</code>
|
|
* @param \Rv\Data\ProClockSource $var
|
|
* @return $this
|
|
*/
|
|
public function setClockSource($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProClockSource::class);
|
|
$this->clock_source = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_keynote_and_powerpoint = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getShowKeynoteAndPowerpoint()
|
|
{
|
|
return $this->show_keynote_and_powerpoint;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_keynote_and_powerpoint = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setShowKeynoteAndPowerpoint($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->show_keynote_and_powerpoint = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool disable_blackmagic_sync_groups = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getDisableBlackmagicSyncGroups()
|
|
{
|
|
return $this->disable_blackmagic_sync_groups;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool disable_blackmagic_sync_groups = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setDisableBlackmagicSyncGroups($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->disable_blackmagic_sync_groups = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool use_directx_rendering = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getUseDirectxRendering()
|
|
{
|
|
return $this->use_directx_rendering;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool use_directx_rendering = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setUseDirectxRendering($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->use_directx_rendering = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|