core-legacy/models/device_dbo.h

22 lines
300 B
C
Raw Normal View History

2019-07-12 19:05:56 +00:00
#ifndef EMGAUWA_CORE_DEVICE_DBO_H
#define EMGAUWA_CORE_DEVICE_DBO_H
#include <string>
#include <sqlite3.h>
class device_dbo
{
public:
char id[23];
char name[128];
char ip[17];
bool active;
int port;
int relay_count;
bool save();
};
#endif //EMGAUWA_CORE_DEVICE_DBO_H