Changes in uspace/lib/tbarcfg/private/tbarcfg.h [ee3b28a9:5caad1d] in mainline
- File:
-
- 1 edited
-
uspace/lib/tbarcfg/private/tbarcfg.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/tbarcfg/private/tbarcfg.h
ree3b28a9 r5caad1d 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 39 39 40 40 #include <adt/list.h> 41 #include < sif.h>41 #include <loc.h> 42 42 #include <stdbool.h> 43 43 #include <types/tbarcfg/tbarcfg.h> … … 45 45 /** Taskbar configuration */ 46 46 struct tbarcfg { 47 /** Repository session*/48 sif_sess_t *repo;47 /** Configuration file path */ 48 char *cfgpath; 49 49 /** List of start menu entries (smenu_entry_t) */ 50 50 list_t entries; 51 /** Entries SIF node */52 sif_node_t *nentries;53 51 }; 54 52 … … 59 57 /** Link to @c smenu->entries */ 60 58 link_t lentries; 61 /** SIF node (persistent storage) */62 sif_node_t *nentry;63 59 /** Is this a separator entry */ 64 60 bool separator; … … 73 69 /** Taskbar configuration listener */ 74 70 typedef 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; 75 77 /** Notification callback */ 76 78 void (*cb)(void *); … … 79 81 } tbarcfg_listener_t; 80 82 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 86 83 #endif 87 84
Note:
See TracChangeset
for help on using the changeset viewer.
