File RemoteControl.h
File List > cpp > remote > RemoteControl.h
Go to the documentation of this file
/*
* SPDX-FileCopyrightText: 2026 Stagelab Coop SCCL
* SPDX-License-Identifier: GPL-3.0-or-later
* SPDX-FileContributor: Ion Reguera <ion@stagelab.coop>
*
* This file is part of cuems-videocomposer.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef VIDEOCOMPOSER_REMOTECONTROL_H
#define VIDEOCOMPOSER_REMOTECONTROL_H
#include <string>
namespace videocomposer {
class RemoteControl {
public:
virtual ~RemoteControl() = default;
virtual bool initialize(int port) = 0;
virtual int process() = 0;
virtual void shutdown() = 0;
virtual bool isActive() const = 0;
virtual const char* getProtocolName() const = 0;
};
} // namespace videocomposer
#endif // VIDEOCOMPOSER_REMOTECONTROL_H