-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
37 lines (29 loc) · 833 Bytes
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "QTableWidget"
#include "send/FileSendControl.h"
#include <boost/uuid/uuid.hpp>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
static void NoticeFrontCallBack(const boost::uuids::uuid file_uuid,
const FileSendControl::Type type,
const std::vector<std::string>
, MainWindow *window);
void on_sendFile_clicked();
void on_sendDir_clicked();
private:
Ui::MainWindow *ui;
FileSendControl *console;
std::mutex mutex_;
std::map<boost::uuids::uuid, int> index_;
};
#endif // MAINWINDOW_H