mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Eventually these identifiers will be sent to the userspace client who created the menu. None of that is hooked up yet though.
18 lines
251 B
C++
18 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()
|
|
{
|
|
}
|