Changeset 806d761 in mainline for uspace/lib/tbarcfg/private/tbarcfg.h


Ignore:
Timestamp:
2024-02-07T23:44:59Z (12 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
242e3c3
Parents:
74cb6610
Message:

Start menu should have 'open in terminal' functionality

Makes it easier for the user and if we are running in console mode,
we correctly start the application, instead of failing to start a
terminal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/tbarcfg/private/tbarcfg.h

    r74cb6610 r806d761  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4040#include <adt/list.h>
    4141#include <sif.h>
     42#include <stdbool.h>
    4243#include <types/tbarcfg/tbarcfg.h>
    4344
     
    6465        /** Command to run */
    6566        char *cmd;
     67        /** Start in terminal */
     68        bool terminal;
    6669};
    6770
    6871extern errno_t smenu_entry_new(tbarcfg_t *, sif_node_t *, const char *,
    69     const char *, smenu_entry_t **);
     72    const char *, bool, smenu_entry_t **);
    7073extern void smenu_entry_delete(smenu_entry_t *);
    7174
Note: See TracChangeset for help on using the changeset viewer.