bigsnitch/mainwindow.h

26 lines
431 B
C
Raw Normal View History

2020-08-05 00:08:41 +00:00
#pragma once
#include <QMainWindow>
#include <string>
2020-08-09 12:07:14 +00:00
#include <session.h>
#include <includes.h>
2020-08-05 00:08:41 +00:00
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
private:
Ui::MainWindow *ui;
QThread* thread;
2020-08-09 12:07:14 +00:00
Session* current_session;
2020-08-05 00:08:41 +00:00
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
2020-08-09 12:07:14 +00:00
public slots:
void updateHistory(json data);
2020-08-05 00:08:41 +00:00
};