mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
28 lines
493 B
C++
28 lines
493 B
C++
|
#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
|