mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
client
remove includes from sim base header to source
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#include "spdlog/sinks/stdout_color_sinks.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include <QApplication>
|
||||
#include <QCommandLineOption>
|
||||
#include <QCommandLineParser>
|
||||
|
||||
void init_logger()
|
||||
{
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#include "mainwindow.hpp"
|
||||
#include "ui_mainwindow.h"
|
||||
#include <QDirIterator>
|
||||
#include <QLibrary>
|
||||
#include <QThread>
|
||||
#include <magic_enum/magic_enum.hpp>
|
||||
|
||||
typedef Simulator_base *(*Get_UI)(Web_socket_wrapper *, QWidget *);
|
||||
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
#include "simulator_base.hpp"
|
||||
#include "can_transceive.hpp"
|
||||
#include "helpers.hpp"
|
||||
#include "led.hpp"
|
||||
#include "networkerror.hpp"
|
||||
#include "plot_wrapper.hpp"
|
||||
#include "web_socket_wrapper.hpp"
|
||||
#include <magic_enum/magic_enum.hpp>
|
||||
|
||||
Simulator_base::Simulator_base(QString sim_name, Web_socket_wrapper *web_socket, QWidget *parent)
|
||||
: QMainWindow{parent}, m_error_dialog(new NetworkError(this)), m_timer_update(new QTimer()),
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
#ifndef SIMULATOR_BASE_H
|
||||
#define SIMULATOR_BASE_H
|
||||
|
||||
#include "IterableEnum.hpp"
|
||||
#include "helpers.hpp"
|
||||
#include "led.hpp"
|
||||
#include "networkerror.hpp"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "web_socket_wrapper.hpp"
|
||||
#include <QMainWindow>
|
||||
#include <QWidget>
|
||||
#include <magic_enum/magic_enum.hpp>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
Q_FORWARD_DECLARE_OBJC_CLASS(Web_socket_wrapper);
|
||||
Q_FORWARD_DECLARE_OBJC_CLASS(QTimer);
|
||||
Q_FORWARD_DECLARE_OBJC_CLASS(NetworkError);
|
||||
Q_FORWARD_DECLARE_OBJC_CLASS(QLabel);
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
#define PUSH_UI_ITEM(item) push_ui_item(ui->item)
|
||||
|
||||
Reference in New Issue
Block a user