Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sysinst/sysinst.h

    r2c21595 r629b480  
    11/*
    2  * Copyright (c) 2026 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3737#define SYSINST_H
    3838
    39 #include <fibril_synch.h>
    40 #include <fmgt.h>
     39#include <futil.h>
    4140#include <gfx/color.h>
    4241#include <loc.h>
    43 #include <stdbool.h>
    4442#include <system.h>
    4543#include <ui/fixed.h>
     
    5452        ui_label_t *label;
    5553        ui_label_t *action;
    56         ui_label_t *progress;
    5754} 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;
    6655
    6756/** System installer. */
     
    7463        /** Service ID of destination partition. */
    7564        sysarg_t psvc_id;
    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;
     65        futil_t *futil;
    8766        char errmsg[128];
    88         /** Allow overwriting files in current copy operation. */
    89         bool overwrite;
    9067} sysinst_t;
    9168
Note: See TracChangeset for help on using the changeset viewer.