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.
154 lines
4 KiB
PHP
154 lines
4 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsUI.proto
|
|
|
|
namespace Rv\Analytics\UI\LowerRight;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.UI.LowerRight.Macros</code>
|
|
*/
|
|
class Macros extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Component;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Analytics\UI\LowerRight\Macros\Shown $shown
|
|
* @type \Rv\Analytics\UI\LowerRight\Macros\Trigger $trigger
|
|
* @type \Rv\Analytics\UI\LowerRight\Macros\Create $create
|
|
* @type \Rv\Analytics\UI\LowerRight\Macros\Delete $delete
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsUI::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Shown shown = 1;</code>
|
|
* @return \Rv\Analytics\UI\LowerRight\Macros\Shown|null
|
|
*/
|
|
public function getShown()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasShown()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Shown shown = 1;</code>
|
|
* @param \Rv\Analytics\UI\LowerRight\Macros\Shown $var
|
|
* @return $this
|
|
*/
|
|
public function setShown($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Macros\Shown::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Trigger trigger = 2;</code>
|
|
* @return \Rv\Analytics\UI\LowerRight\Macros\Trigger|null
|
|
*/
|
|
public function getTrigger()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasTrigger()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Trigger trigger = 2;</code>
|
|
* @param \Rv\Analytics\UI\LowerRight\Macros\Trigger $var
|
|
* @return $this
|
|
*/
|
|
public function setTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Macros\Trigger::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Create create = 3;</code>
|
|
* @return \Rv\Analytics\UI\LowerRight\Macros\Create|null
|
|
*/
|
|
public function getCreate()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasCreate()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Create create = 3;</code>
|
|
* @param \Rv\Analytics\UI\LowerRight\Macros\Create $var
|
|
* @return $this
|
|
*/
|
|
public function setCreate($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Macros\Create::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Delete delete = 4;</code>
|
|
* @return \Rv\Analytics\UI\LowerRight\Macros\Delete|null
|
|
*/
|
|
public function getDelete()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasDelete()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.LowerRight.Macros.Delete delete = 4;</code>
|
|
* @param \Rv\Analytics\UI\LowerRight\Macros\Delete $var
|
|
* @return $this
|
|
*/
|
|
public function setDelete($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Macros\Delete::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getComponent()
|
|
{
|
|
return $this->whichOneof("Component");
|
|
}
|
|
|
|
}
|
|
|