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/include/tbarcfg/tbarcfg.h

    r74cb6610 r806d761  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3939#include <errno.h>
    4040#include <sif.h>
     41#include <stdbool.h>
    4142#include <types/tbarcfg/tbarcfg.h>
    4243
     
    4849extern const char *smenu_entry_get_caption(smenu_entry_t *);
    4950extern const char *smenu_entry_get_cmd(smenu_entry_t *);
     51extern bool smenu_entry_get_terminal(smenu_entry_t *);
    5052extern errno_t smenu_entry_set_caption(smenu_entry_t *, const char *);
    5153extern errno_t smenu_entry_set_cmd(smenu_entry_t *, const char *);
     54extern void smenu_entry_set_terminal(smenu_entry_t *, bool);
    5255extern errno_t smenu_entry_save(smenu_entry_t *);
    5356extern errno_t smenu_entry_create(tbarcfg_t *, const char *, const char *,
    54     smenu_entry_t **);
     57    bool, smenu_entry_t **);
    5558extern errno_t smenu_entry_destroy(smenu_entry_t *);
    5659
Note: See TracChangeset for help on using the changeset viewer.