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.
107 lines
2.5 KiB
PHP
107 lines
2.5 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.Groups</code>
|
|
*/
|
|
class Groups extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProGroupsDocument groups = 1;</code>
|
|
*/
|
|
protected $groups = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLabelsDocument labels = 2;</code>
|
|
*/
|
|
protected $labels = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\ProGroupsDocument $groups
|
|
* @type \Rv\Data\ProLabelsDocument $labels
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Preferences::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProGroupsDocument groups = 1;</code>
|
|
* @return \Rv\Data\ProGroupsDocument|null
|
|
*/
|
|
public function getGroups()
|
|
{
|
|
return $this->groups;
|
|
}
|
|
|
|
public function hasGroups()
|
|
{
|
|
return isset($this->groups);
|
|
}
|
|
|
|
public function clearGroups()
|
|
{
|
|
unset($this->groups);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProGroupsDocument groups = 1;</code>
|
|
* @param \Rv\Data\ProGroupsDocument $var
|
|
* @return $this
|
|
*/
|
|
public function setGroups($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProGroupsDocument::class);
|
|
$this->groups = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLabelsDocument labels = 2;</code>
|
|
* @return \Rv\Data\ProLabelsDocument|null
|
|
*/
|
|
public function getLabels()
|
|
{
|
|
return $this->labels;
|
|
}
|
|
|
|
public function hasLabels()
|
|
{
|
|
return isset($this->labels);
|
|
}
|
|
|
|
public function clearLabels()
|
|
{
|
|
unset($this->labels);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLabelsDocument labels = 2;</code>
|
|
* @param \Rv\Data\ProLabelsDocument $var
|
|
* @return $this
|
|
*/
|
|
public function setLabels($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLabelsDocument::class);
|
|
$this->labels = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|