mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
Replaces header guards with pragma once
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
#ifndef VISA_HPP
|
||||
#define VISA_HPP
|
||||
|
||||
#include "tcp_client.hpp"
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
class Visa : public QObject
|
||||
@@ -32,5 +29,3 @@ class Visa : public QObject
|
||||
bool m_data_ready;
|
||||
QString m_data;
|
||||
};
|
||||
|
||||
#endif // VISA_HPP
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifndef GPIO_HPP
|
||||
#define GPIO_HPP
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
#if defined(__linux__) && (defined(__aarch64__) || defined(__x86_64__))
|
||||
#include <gpiod.hpp>
|
||||
@@ -29,5 +27,3 @@ class GPIO : public QObject
|
||||
#endif
|
||||
unsigned int m_offset;
|
||||
};
|
||||
|
||||
#endif // GPIO_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#include "spdlog/spdlog.h"
|
||||
#include <QSerialPort>
|
||||
#include <QThread>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtCore/QList>
|
||||
#include <QtCore/QObject>
|
||||
|
||||
Reference in New Issue
Block a user