Changeset bff8619 in mainline for uspace/lib/tbarcfg/private/tbarcfg.h


Ignore:
Timestamp:
2024-08-20T22:07:31Z (3 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
ac9b4f2
Parents:
a3ba37d
Message:

Simplify SIF interface, remove contacts

Remove transactions, move to a load/save model. Remove contacts
application as it was never finished and not useful at all.

File:
1 edited

Legend:

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

    ra3ba37d rbff8619  
    3939
    4040#include <adt/list.h>
    41 #include <sif.h>
    4241#include <stdbool.h>
    4342#include <types/tbarcfg/tbarcfg.h>
     
    4544/** Taskbar configuration */
    4645struct tbarcfg {
    47         /** Repository session */
    48         sif_sess_t *repo;
     46        /** Configuration file path */
     47        char *cfgpath;
    4948        /** List of start menu entries (smenu_entry_t) */
    5049        list_t entries;
    51         /** Entries SIF node */
    52         sif_node_t *nentries;
    5350};
    5451
     
    5956        /** Link to @c smenu->entries */
    6057        link_t lentries;
    61         /** SIF node (persistent storage) */
    62         sif_node_t *nentry;
    6358        /** Is this a separator entry */
    6459        bool separator;
     
    7974} tbarcfg_listener_t;
    8075
    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 
    8676#endif
    8777
Note: See TracChangeset for help on using the changeset viewer.