/
dgrigorev
/
MicroNT
Обзор
Документация
Войти
/
dgrigorev
/
MicroNT
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
kernel/include/shellnotify.h
28 строк
589 B
Дмитрий Григорьев
Add shell notification center model
19 май 2026, 13:24
19 май 2026, 13:24
d694d2e
Код
Авторство
О чём код?
#pragma once // shellnotify.h -- MicroNT shell notification queue model. #include "shelltray.h" #include "ntdef.h" namespace SHELLNOTIFY { struct Notification { const char* AppName; const char* Title; const char* Body; bool Visible; }; struct NotificationQueue { u32 SessionId; Notification Items[4]; u32 Count; bool CenterReady; }; void Init(); bool CreateNotificationQueue(NotificationQueue& queue, const SHELLTRAY::TrayState& tray); bool PublishWelcomeNotification(NotificationQueue& queue); } // namespace SHELLNOTIFY