mirror-chatterino2/src/singletons/nativemessagingmanager.hpp

28 lines
493 B
C++
Raw Normal View History

2018-04-09 22:59:19 +02:00
#pragma once
#include <QThread>
namespace chatterino {
namespace singletons {
class NativeMessagingManager
{
NativeMessagingManager();
public:
static NativeMessagingManager &getInstance();
class ReceiverThread : public QThread
{
public:
void run() override;
};
void registerHost();
void openGuiMessageQueue();
void sendToGuiProcess(const QByteArray &array);
};
} // namespace singletons
} // namespace chatterino