Textractor/GUI/mainwindow.h

36 lines
635 B
C
Raw Normal View History

2018-07-21 15:40:16 -07:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
2018-07-23 22:57:54 -07:00
#include <Windows.h>
#include "../texthook/textthread.h"
2018-07-21 15:40:16 -07:00
2018-07-23 12:25:02 -07:00
namespace Ui
{
class MainWindow;
2018-07-21 15:40:16 -07:00
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
2018-07-23 12:25:02 -07:00
private slots:
void on_attachButton_clicked();
2018-07-23 22:57:54 -07:00
void on_detachButton_clicked();
void on_ttCombo_activated(int index);
2018-07-23 12:25:02 -07:00
2018-07-21 15:40:16 -07:00
private:
Ui::MainWindow *ui;
};
2018-07-23 22:57:54 -07:00
void AddProcess(DWORD processId);
void RemoveProcess(DWORD processId);
void AddThread(TextThread* thread);
void RemoveThread(TextThread* thread);
2018-07-21 15:40:16 -07:00
#endif // MAINWINDOW_H