Changeset 29e7cc7 in mainline for uspace/app/sysinst/sysinst.h
- Timestamp:
- 2025-04-18T15:14:10Z (2 months ago)
- Children:
- e77c3ed
- Parents:
- 800d188 (diff), 25fdb2d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sysinst/sysinst.h
r800d188 r29e7cc7 1 1 /* 2 * Copyright (c) 20 06 Josef Cejka2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @file 29 /** @addtogroup sysinst 30 * @{ 31 */ 32 /** 33 * @file System installer 30 34 */ 31 35 32 #ifndef BOOT_PRINTF_CORE_H_33 #define BOOT_PRINTF_CORE_H_36 #ifndef SYSINST_H 37 #define SYSINST_H 34 38 35 #include <stddef.h> 36 #include <stdarg.h> 39 #include <futil.h> 40 #include <gfx/color.h> 41 #include <system.h> 42 #include <ui/fixed.h> 43 #include <ui/label.h> 44 #include <ui/ui.h> 45 #include <ui/window.h> 37 46 38 /** Structure for specifying output methods for different printf clones. */47 /** Installation progress window. */ 39 48 typedef struct { 40 /* String output function, returns number of printed characters or EOF */ 41 int (*str_write)(const char *, size_t, void *); 49 ui_window_t *window; 50 ui_fixed_t *fixed; 51 ui_label_t *label; 52 ui_label_t *action; 53 } sysinst_progress_t; 42 54 43 /* User data - output stream specification, state, locks, etc. */ 44 void *data; 45 } printf_spec_t; 46 47 extern int printf_core(const char *, printf_spec_t *, va_list); 55 /** System installer. */ 56 typedef struct { 57 ui_t *ui; 58 ui_window_t *bgwindow; 59 gfx_color_t *bg_color; 60 sysinst_progress_t *progress; 61 system_t *system; 62 futil_t *futil; 63 char errmsg[128]; 64 } sysinst_t; 48 65 49 66 #endif
Note:
See TracChangeset
for help on using the changeset viewer.