Welcome to mirror list, hosted at ThFree Co, Russian Federation.

GCodeFileInfo.h « GCodes « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cfae566960bf70c3a2f5c2dd7af68a95b5fab5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * GCodeFileInfo.h
 *
 *  Created on: 1 Apr 2019
 *      Author: Christian
 */

#ifndef SRC_GCODES_GCODEFILEINFO_H_
#define SRC_GCODES_GCODEFILEINFO_H_

#include "RepRapFirmware.h"

// Struct to hold Gcode file information
struct GCodeFileInfo
{
	GCodeFileInfo() noexcept { Init(); }
	void Init() noexcept;

	FilePosition fileSize;
	time_t lastModifiedTime;
	float layerHeight;
	float objectHeight;
	float filamentNeeded[MaxExtruders];
	uint32_t printTime;
	uint32_t simulatedTime;
	unsigned int numFilaments;
	bool isValid;
	bool incomplete;
	String<StringLength50> generatedBy;
};

#endif /* SRC_GCODES_GCODEFILEINFO_H_ */