mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-12 15:09:33 +08:00
cleanup
This commit is contained in:
parent
87f15ced04
commit
91f1704f68
@ -5,16 +5,10 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
bool checkBundleIdentifier(void);
|
||||
bool requestUserNotificationAuthorization(void *completion);
|
||||
bool checkNotificationAuthorization(void);
|
||||
void sendNotification(const char *identifier, const char *title, const char *subtitle, const char *body, void *completion);
|
||||
|
||||
// New advanced notification functions
|
||||
void sendNotificationWithActions(const char *identifier, const char *title, const char *subtitle,
|
||||
const char *body, const char *categoryId, const char *actions_json, void *completion);
|
||||
void registerNotificationCategory(const char *categoryId, const char *actions_json, bool hasReplyField,
|
||||
@ -24,8 +18,4 @@ void removePendingNotification(const char *identifier);
|
||||
void removeAllDeliveredNotifications(void);
|
||||
void removeDeliveredNotification(const char *identifier);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* NOTIFICATIONS_DARWIN_H */
|
Loading…
Reference in New Issue
Block a user