Changeset b279899 in mainline for uspace/lib/tbarcfg/private


Ignore:
Timestamp:
2023-10-17T12:18:10Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4643db
Parents:
4030072
git-author:
Jiri Svoboda <jiri@…> (2023-10-16 18:17:59)
git-committer:
Jiri Svoboda <jiri@…> (2023-10-17 12:18:10)
Message:

Rename startmenu library to tbarcfg

There may be other aspects of task bar that will need configuring
so let's widen the scope of the library a bit.

File:
1 moved

Legend:

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

    r4030072 rb279899  
    2727 */
    2828
    29 /** @addtogroup libstartmenu
     29/** @addtogroup libtbarcfg
    3030 * @{
    3131 */
    3232/**
    33  * @file Start menu
     33 * @file Task bar configuration
    3434 *
    3535 */
    3636
    37 #ifndef _STARTMENU_PRIVATE_STARTMENU_H
    38 #define _STARTMENU_PRIVATE_STARTMENU_H
     37#ifndef _TBARCFG_PRIVATE_TBARCFG_H
     38#define _TBARCFG_PRIVATE_TBARCFG_H
    3939
    4040#include <adt/list.h>
    4141#include <sif.h>
    42 #include <types/startmenu/startmenu.h>
     42#include <types/tbarcfg/tbarcfg.h>
    4343
    44 /** Start menu */
    45 struct startmenu {
    46         /** List of entries (startmenu_entry_t) */
     44/** Task bar configuration */
     45struct tbarcfg {
     46        /** List of start menu entries (smenu_entry_t) */
    4747        list_t entries;
    4848};
    4949
    5050/** Start menu entry */
    51 struct startmenu_entry {
     51struct smenu_entry {
    5252        /** Containing start menu */
    53         struct startmenu *smenu;
     53        struct tbarcfg *smenu;
    5454        /** Link to @c smenu->entries */
    5555        link_t lentries;
     
    6060};
    6161
    62 extern errno_t startmenu_entry_create(startmenu_t *, const char *,
     62extern errno_t smenu_entry_create(tbarcfg_t *, const char *,
    6363    const char *);
    6464
Note: See TracChangeset for help on using the changeset viewer.