Ignore:
File:
1 edited

Legend:

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

    rbff8619 ree3b28a9  
    3939
    4040#include <adt/list.h>
     41#include <sif.h>
    4142#include <stdbool.h>
    4243#include <types/tbarcfg/tbarcfg.h>
     
    4445/** Taskbar configuration */
    4546struct tbarcfg {
    46         /** Configuration file path */
    47         char *cfgpath;
     47        /** Repository session */
     48        sif_sess_t *repo;
    4849        /** List of start menu entries (smenu_entry_t) */
    4950        list_t entries;
     51        /** Entries SIF node */
     52        sif_node_t *nentries;
    5053};
    5154
     
    5659        /** Link to @c smenu->entries */
    5760        link_t lentries;
     61        /** SIF node (persistent storage) */
     62        sif_node_t *nentry;
    5863        /** Is this a separator entry */
    5964        bool separator;
     
    7479} tbarcfg_listener_t;
    7580
     81extern errno_t smenu_entry_new(tbarcfg_t *, sif_node_t *, const char *,
     82    const char *, bool, smenu_entry_t **);
     83extern errno_t smenu_entry_sep_new(tbarcfg_t *, sif_node_t *, smenu_entry_t **);
     84extern void smenu_entry_delete(smenu_entry_t *);
     85
    7686#endif
    7787
Note: See TracChangeset for help on using the changeset viewer.