Ignore:
File:
1 edited

Legend:

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

    ree3b28a9 r5caad1d  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3939
    4040#include <adt/list.h>
    41 #include <sif.h>
     41#include <loc.h>
    4242#include <stdbool.h>
    4343#include <types/tbarcfg/tbarcfg.h>
     
    4545/** Taskbar configuration */
    4646struct tbarcfg {
    47         /** Repository session */
    48         sif_sess_t *repo;
     47        /** Configuration file path */
     48        char *cfgpath;
    4949        /** List of start menu entries (smenu_entry_t) */
    5050        list_t entries;
    51         /** Entries SIF node */
    52         sif_node_t *nentries;
    5351};
    5452
     
    5957        /** Link to @c smenu->entries */
    6058        link_t lentries;
    61         /** SIF node (persistent storage) */
    62         sif_node_t *nentry;
    6359        /** Is this a separator entry */
    6460        bool separator;
     
    7369/** Taskbar configuration listener */
    7470typedef struct tbarcfg_listener {
     71        /** Async port */
     72        port_id_t portid;
     73        /** Registered server */
     74        loc_srv_t *srv;
     75        /** Registered service */
     76        service_id_t svcid;
    7577        /** Notification callback */
    7678        void (*cb)(void *);
     
    7981} tbarcfg_listener_t;
    8082
    81 extern errno_t smenu_entry_new(tbarcfg_t *, sif_node_t *, const char *,
    82     const char *, bool, smenu_entry_t **);
    83 extern errno_t smenu_entry_sep_new(tbarcfg_t *, sif_node_t *, smenu_entry_t **);
    84 extern void smenu_entry_delete(smenu_entry_t *);
    85 
    8683#endif
    8784
Note: See TracChangeset for help on using the changeset viewer.