Changes in uspace/app/sysinst/sysinst.h [629b480:2c21595] in mainline
- File:
-
- 1 edited
-
uspace/app/sysinst/sysinst.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sysinst/sysinst.h
r629b480 r2c21595 1 1 /* 2 * Copyright (c) 202 5Jiri Svoboda2 * Copyright (c) 2026 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 37 37 #define SYSINST_H 38 38 39 #include <futil.h> 39 #include <fibril_synch.h> 40 #include <fmgt.h> 40 41 #include <gfx/color.h> 41 42 #include <loc.h> 43 #include <stdbool.h> 42 44 #include <system.h> 43 45 #include <ui/fixed.h> … … 52 54 ui_label_t *label; 53 55 ui_label_t *action; 56 ui_label_t *progress; 54 57 } sysinst_progress_t; 58 59 /** Installer operation */ 60 typedef enum { 61 /** initial OS installation */ 62 sio_install, 63 /** OS upgrade */ 64 sio_upgrade 65 } sysinst_oper_t; 55 66 56 67 /** System installer. */ … … 63 74 /** Service ID of destination partition. */ 64 75 sysarg_t psvc_id; 65 futil_t *futil; 76 /** operation being performed */ 77 sysinst_oper_t oper; 78 fmgt_t *fmgt; 79 /** @c true after user responds to interactive query. */ 80 bool responded; 81 /** Signalled when @c responded changes */ 82 fibril_condvar_t responded_cv; 83 /** Synchronize access to @c responded */ 84 fibril_mutex_t responded_lock; 85 /** User decided to quit installation. */ 86 bool quit; 66 87 char errmsg[128]; 88 /** Allow overwriting files in current copy operation. */ 89 bool overwrite; 67 90 } sysinst_t; 68 91
Note:
See TracChangeset
for help on using the changeset viewer.
