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.6 KiB
PHP
107 lines
2.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Status.proto
|
|
|
|
namespace Rv\Data\API_v1_Status_Response;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.API_v1_Status_Response.GetSlide</code>
|
|
*/
|
|
class GetSlide extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails current = 1;</code>
|
|
*/
|
|
protected $current = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
|
|
*/
|
|
protected $next = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\API_v1_SlideDisplayDetails $current
|
|
* @type \Rv\Data\API_v1_SlideDisplayDetails $next
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Status::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails current = 1;</code>
|
|
* @return \Rv\Data\API_v1_SlideDisplayDetails|null
|
|
*/
|
|
public function getCurrent()
|
|
{
|
|
return $this->current;
|
|
}
|
|
|
|
public function hasCurrent()
|
|
{
|
|
return isset($this->current);
|
|
}
|
|
|
|
public function clearCurrent()
|
|
{
|
|
unset($this->current);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails current = 1;</code>
|
|
* @param \Rv\Data\API_v1_SlideDisplayDetails $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrent($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_SlideDisplayDetails::class);
|
|
$this->current = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
|
|
* @return \Rv\Data\API_v1_SlideDisplayDetails|null
|
|
*/
|
|
public function getNext()
|
|
{
|
|
return $this->next;
|
|
}
|
|
|
|
public function hasNext()
|
|
{
|
|
return isset($this->next);
|
|
}
|
|
|
|
public function clearNext()
|
|
{
|
|
unset($this->next);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
|
|
* @param \Rv\Data\API_v1_SlideDisplayDetails $var
|
|
* @return $this
|
|
*/
|
|
public function setNext($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_SlideDisplayDetails::class);
|
|
$this->next = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|