mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
NotificationServer: Convert the notification window contents to GML
This commit is contained in:
parent
e4c7b9817b
commit
84e8bf3421
4 changed files with 61 additions and 13 deletions
23
Userland/Services/NotificationServer/NotificationWidget.h
Normal file
23
Userland/Services/NotificationServer/NotificationWidget.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2024, Sam Atkins <atkinssj@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibGUI/Widget.h>
|
||||
|
||||
namespace NotificationServer {
|
||||
|
||||
class NotificationWidget : public GUI::Widget {
|
||||
C_OBJECT_ABSTRACT(NotificationWidget)
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<NotificationWidget>> try_create();
|
||||
virtual ~NotificationWidget() override = default;
|
||||
|
||||
private:
|
||||
NotificationWidget() = default;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue