Cthulhu is no longer a fork. Now it is a screen reader written in Golang.

This commit is contained in:
Storm Dragon committed 2026-10-14 00:16:34 -04:00
1 parent a998fe67de
commit 069fc674dc
708 files changed
+112482 -532

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
// Copyright (c) 2026 Storm Dragon
// Authors: Storm Dragon, Angus Kola
// SPDX-License-Identifier: GPL-3.0-or-later
package notificationui
type Action struct {
Key string `json:"key"`
Label string `json:"label"`
}
type Entry struct {
ID string `json:"id,omitempty"`
Message string `json:"message"`
Received string `json:"received"`
CanControl bool `json:"canControl"`
Actions []Action `json:"actions"`
}
type Response struct {
Present bool `json:"present,omitempty"`
Close bool `json:"close,omitempty"`
Title string `json:"title,omitempty"`
Entries []Entry `json:"entries"`
Selected string `json:"selected"`
}
type Request struct {
Selection string `json:"selection,omitempty"`
Row *int `json:"row,omitempty"`
Copy bool `json:"copy,omitempty"`
Dismiss bool `json:"dismiss,omitempty"`
Clear bool `json:"clear,omitempty"`
Action string `json:"action,omitempty"`
}