Major wip refactor
Allow running without gui Remove serialPortMultiplexer broadcast use Add TcpServer and TcpClient Introduce the concept of an item source
This commit is contained in:
parent
cbeb8d49a7
commit
6d742e60db
38 changed files with 928 additions and 825 deletions
|
|
@ -5,13 +5,8 @@
|
|||
#include <QColorDialog>
|
||||
#include <QListWidgetItem>
|
||||
#include <QTime>
|
||||
#include <vector>
|
||||
#include "../actors/alarmtime.h"
|
||||
#include "../microcontroller.h"
|
||||
#include "../sensors/sensor.h"
|
||||
#include "../items/itemstore.h"
|
||||
#include "../items/poweritem.h"
|
||||
#include "../broadcast.h"
|
||||
#include <memory>
|
||||
#include "src/items/poweritem.h"
|
||||
|
||||
|
||||
class MainObject;
|
||||
|
|
@ -34,13 +29,10 @@ private:
|
|||
|
||||
QColorDialog colorChooser;
|
||||
|
||||
Microcontroller *_micro;
|
||||
|
||||
std::shared_ptr<PowerItem> _powerItem;
|
||||
|
||||
signals:
|
||||
|
||||
void sigBrodcast();
|
||||
void sigSave();
|
||||
void createdItem(std::shared_ptr<Item> item);
|
||||
|
||||
|
|
@ -50,7 +42,6 @@ private slots:
|
|||
void slotChangedRgb(const QColor color);
|
||||
void showPowerItemDialog();
|
||||
void showItemCreationDialog();
|
||||
void saved();
|
||||
|
||||
public slots:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue