25 lines
431 B
C++
25 lines
431 B
C++
#pragma once
|
|
|
|
#include <QMainWindow>
|
|
#include <string>
|
|
#include <session.h>
|
|
#include <includes.h>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui { class MainWindow; }
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
QThread* thread;
|
|
Session* current_session;
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
public slots:
|
|
void updateHistory(json data);
|
|
};
|