mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
Eventually these identifiers will be sent to the userspace client who created the menu. None of that is hooked up yet though.
17 lines
251 B
C++
17 lines
251 B
C++
#include "WSMenuItem.h"
|
|
|
|
WSMenuItem::WSMenuItem(unsigned identifier, const String& text)
|
|
: m_type(Text)
|
|
, m_identifier(identifier)
|
|
, m_text(text)
|
|
{
|
|
}
|
|
|
|
WSMenuItem::WSMenuItem(Type type)
|
|
: m_type(type)
|
|
{
|
|
}
|
|
|
|
WSMenuItem::~WSMenuItem()
|
|
{
|
|
}
|