PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7 files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes, and the global library files (Macros, Labels, Groups, ClearGroups, CCLI, Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar, KeyMappings, CommunicationDevices). Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy (v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/, binary-format specs, and a synthetic 369-test PHPUnit suite covering RTF extraction, translation slides, ZIP64 repair, round-trip fidelity, and end-to-end generation.
114 lines
2.8 KiB
PHP
114 lines
2.8 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: preferences.proto
|
|
|
|
namespace Rv\Data\Preferences\Advanced;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Preferences.Advanced.NDIDiscovery</code>
|
|
*/
|
|
class NDIDiscovery extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>bool show_local_sources = 1;</code>
|
|
*/
|
|
protected $show_local_sources = false;
|
|
/**
|
|
* Generated from protobuf field <code>string receive_groups = 2;</code>
|
|
*/
|
|
protected $receive_groups = '';
|
|
/**
|
|
* Generated from protobuf field <code>string additional_search_ips = 3;</code>
|
|
*/
|
|
protected $additional_search_ips = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type bool $show_local_sources
|
|
* @type string $receive_groups
|
|
* @type string $additional_search_ips
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Preferences::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_local_sources = 1;</code>
|
|
* @return bool
|
|
*/
|
|
public function getShowLocalSources()
|
|
{
|
|
return $this->show_local_sources;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_local_sources = 1;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setShowLocalSources($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->show_local_sources = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string receive_groups = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getReceiveGroups()
|
|
{
|
|
return $this->receive_groups;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string receive_groups = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setReceiveGroups($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->receive_groups = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string additional_search_ips = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getAdditionalSearchIps()
|
|
{
|
|
return $this->additional_search_ips;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string additional_search_ips = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setAdditionalSearchIps($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->additional_search_ips = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|