mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
b01b5eb005
- begin impl. of json server Former-commit-id: 8f9237cd57ada1e84dc05e60b9ad723e47fd57b1
32 lines
471 B
C++
32 lines
471 B
C++
#pragma once
|
|
|
|
// STL includes
|
|
#include <vector>
|
|
#include <map>
|
|
#include <cstdint>
|
|
#include <limits>
|
|
|
|
// QT includes
|
|
#include <QList>
|
|
#include <QStringList>
|
|
|
|
// Utils includes
|
|
#include <utils/ColorRgb.h>
|
|
class MessageForwarder
|
|
{
|
|
public:
|
|
MessageForwarder();
|
|
~MessageForwarder();
|
|
|
|
void addJsonSlave(std::string slave);
|
|
void addProtoSlave(std::string slave);
|
|
void sendMessage();
|
|
|
|
QStringList getProtoSlaves();
|
|
|
|
private:
|
|
bool _running;
|
|
|
|
QStringList _protoSlaves;
|
|
};
|