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