Ignore:
File:
1 edited

Legend:

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

    r84d29a2 re63e74a  
    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
     
    4647extern smenu_entry_t *tbarcfg_smenu_first(tbarcfg_t *);
    4748extern smenu_entry_t *tbarcfg_smenu_next(smenu_entry_t *);
     49extern smenu_entry_t *tbarcfg_smenu_last(tbarcfg_t *);
     50extern smenu_entry_t *tbarcfg_smenu_prev(smenu_entry_t *);
    4851extern const char *smenu_entry_get_caption(smenu_entry_t *);
    4952extern const char *smenu_entry_get_cmd(smenu_entry_t *);
     53extern bool smenu_entry_get_terminal(smenu_entry_t *);
     54extern bool smenu_entry_get_separator(smenu_entry_t *);
    5055extern errno_t smenu_entry_set_caption(smenu_entry_t *, const char *);
    5156extern errno_t smenu_entry_set_cmd(smenu_entry_t *, const char *);
     57extern void smenu_entry_set_terminal(smenu_entry_t *, bool);
    5258extern errno_t smenu_entry_save(smenu_entry_t *);
    53 extern errno_t smenu_entry_create(tbarcfg_t *, const char *, const char *);
     59extern errno_t smenu_entry_create(tbarcfg_t *, const char *, const char *,
     60    bool, smenu_entry_t **);
     61extern errno_t smenu_entry_sep_create(tbarcfg_t *, smenu_entry_t **);
    5462extern errno_t smenu_entry_destroy(smenu_entry_t *);
     63extern errno_t smenu_entry_move_up(smenu_entry_t *);
     64extern errno_t smenu_entry_move_down(smenu_entry_t *);
    5565
    5666#endif
Note: See TracChangeset for help on using the changeset viewer.