Textractor/GUI/hostsignaller.h

24 lines
521 B
C
Raw Normal View History

#ifndef HOSTSIGNALLER_H
#define HOSTSIGNALLER_H
#include <QObject>
#include <Windows.h>
2018-08-03 10:41:30 -04:00
#include "../host/host.h"
// Artikash 7/24/2018: This class is a workaround for the fact that Qt only lets me manipulate the GUI in the main thread.
class HostSignaller : public QObject
{
2018-07-25 10:46:59 -07:00
Q_OBJECT
public:
2018-07-25 10:46:59 -07:00
void Initialize();
signals:
2018-07-25 10:46:59 -07:00
void AddProcess(unsigned int processId);
void RemoveProcess(unsigned int processId);
void AddThread(TextThread* thread);
void RemoveThread(TextThread* thread);
};
#endif // HOSTSIGNALLER_H