YULTek/Otarcik_CAN/Sources/SystemConfig.h
2023-01-27 13:33:03 -05:00

27 lines
484 B
C++

#ifndef SYSTEMCONFIG_H
#define SYSTEMCONFIG_H
#include "CANDevice.h"
#include <QList>
#include <QFile>
#include <QDataStream>
#include "CANDeviceConfig.h"
#define OTARCIK_CURRENT_CONFIG_FILE_VERSION 0x01
#define OTARCIK_CONFIG_FILE_MAGIC_NBR 0xDEADBEEF
//class CCANDeviceConfig;
class CSystemConfig
{
public:
CSystemConfig();
int LoadConfig(QList<CCANDevice*> *DevicesList);
int SaveConfig(QList<CCANDeviceConfig*> *DevicesConfigList);
};
#endif // SYSTEMCONFIG_H