| Index: client/html/generated/html/interface/NotificationCenter.dart
|
| diff --git a/client/dom/templates/interface.darttemplate b/client/html/generated/html/interface/NotificationCenter.dart
|
| similarity index 52%
|
| copy from client/dom/templates/interface.darttemplate
|
| copy to client/html/generated/html/interface/NotificationCenter.dart
|
| index 4e092a52e6f8755ebae6d8b72e5ccd9873a6dca2..7823937fc15ce6e12cfc08a37ec00d0579d6feb0 100644
|
| --- a/client/dom/templates/interface.darttemplate
|
| +++ b/client/html/generated/html/interface/NotificationCenter.dart
|
| @@ -4,5 +4,13 @@
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -interface $ID$!EXTENDS {
|
| -$!MEMBERS}
|
| +interface NotificationCenter {
|
| +
|
| + int checkPermission();
|
| +
|
| + Notification createHTMLNotification(String url);
|
| +
|
| + Notification createNotification(String iconUrl, String title, String body);
|
| +
|
| + void requestPermission(VoidCallback callback);
|
| +}
|
|
|