diff options
Diffstat (limited to 'src/procedures.h')
-rw-r--r-- | src/procedures.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/procedures.h b/src/procedures.h new file mode 100644 index 0000000..76e4adc --- /dev/null +++ b/src/procedures.h @@ -0,0 +1,30 @@ +/* + * eulogium_procedures, available procedures + * + * Copyright (c) 2015 Ultimaker B.V. + * Author: Olliver Schinagl <o.schinagl@ultimaker.com> + * + * SPDX-License-Identifier: AGPL-3.0+ + */ + +#ifndef _EULOGIUM_PROCEDURES_H +#define _EULOGIUM_PROCEDURES_H + +#include <Eina.h> +#include <Eldbus.h> +#include <stdint.h> + +#include "print_data.h" + +struct procedure_data { + char *key; + uint_fast16_t keylen; + Eina_Bool available; + Eina_Bool executable; + char steps[]; +}; + +struct procedure_data *procedures_init(void); +void procedure_start_print(Eldbus_Proxy *proxy, struct print_data *print); + +#endif /* _EULOGIUM_PRIVATE_H */ |