1 #ifndef AESALON_GUI_SESSION_DATA_THREAD_H
2 #define AESALON_GUI_SESSION_DATA_THREAD_H
7 #include "storage/SnapshotList.h"
8 #include "data/DataSource.h"
10 class DataThread
: public QThread
{ Q_OBJECT
12 DataSource
*data_source
;
13 DataReceiver
*data_receiver
;
15 SnapshotList snapshot_list
;
16 Snapshot
*current_snapshot
;
18 DataThread(QObject
*parent
, DataSource
*data_source
);
19 virtual ~DataThread();
21 void event_received(Event
*event
);
22 void create_new_snapshot();