mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 04:44:58 +00:00

SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
27 lines
395 B
C++
27 lines
395 B
C++
/*
|
|
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include "Menubar.h"
|
|
#include "Menu.h"
|
|
|
|
namespace WindowServer {
|
|
|
|
Menubar::Menubar(ClientConnection& client, int menubar_id)
|
|
: m_client(client)
|
|
, m_menubar_id(menubar_id)
|
|
{
|
|
}
|
|
|
|
Menubar::~Menubar()
|
|
{
|
|
}
|
|
|
|
void Menubar::add_menu(Menu& menu)
|
|
{
|
|
m_menus.append(&menu);
|
|
}
|
|
|
|
}
|