/* * function and data types for print information * * Copyright (c) 2015 Ultimaker B.V. * Author: Olliver Schinagl * * SPDX-License-Identifier: AGPL-3.0+ */ #ifndef _PRINT_DATA_H #define _PRINT_DATA_H #include #include struct print_data { uint_fast32_t time; double progress; char *url; char *name; Eina_Bool name_changed; char *flags; double material; Eina_Bool block; Eina_Bool block_active; }; enum printer_status { UNKNOWN, DISCONNECTED, ERROR, FIRST_RUN_WIZZARD, IDLE, SLICING, HEATING, PRINTING, COOLING, WAIT_FOR_REMOVAL, PAUSED, }; #endif /* _PRINT_DATA_H */