RepRaptor/repraptor.h
2015-03-21 16:36:14 +03:00

52 lines
819 B
C++

/////////////////////////////////////////////////
//This file contains RepRaptor - specific stuff//
/////////////////////////////////////////////////
#ifndef REPRAPTOR_H
#define REPRAPTOR_H
#ifndef REPRAPTOR_VERSION
#define REPRAPTOR_VERSION "0.3.7"
#endif
namespace RepRaptor
{
typedef struct
{
double e, b;
QString raw;
} TemperatureReadings;
enum Firmware
{
Marlin,
Repetier,
OtherFirmware
};
enum ErrorType
{
SerialPortError,
OpenFileError
};
typedef struct
{
int T, P;
QString S;
} repetierEEPROMline;
typedef struct
{
unsigned long int progress, total;
} SDProgress;
typedef struct
{
unsigned int T, P;
} FileProgress;
}
#endif // REPRAPTOR_H