Changeset View
Changeset View
Standalone View
Standalone View
src/notifybyandroid.h
Show All 35 Lines | 30 | public: | |||
---|---|---|---|---|---|
36 | void notify(KNotification *notification, KNotifyConfig *config) override; | 36 | void notify(KNotification *notification, KNotifyConfig *config) override; | ||
37 | void close(KNotification * notification) override; | 37 | void close(KNotification * notification) override; | ||
38 | 38 | | |||
39 | // interface from Java | 39 | // interface from Java | ||
40 | void notificationFinished(int id); | 40 | void notificationFinished(int id); | ||
41 | void notificationActionInvoked(int id, int action); | 41 | void notificationActionInvoked(int id, int action); | ||
42 | 42 | | |||
43 | private: | 43 | private: | ||
44 | void notifyDeferred(KNotification *notification, const KNotifyConfig *config); | 44 | void notifyDeferred(KNotification *notification); | ||
45 | 45 | | |||
46 | QAndroidJniObject m_backend; | 46 | QAndroidJniObject m_backend; | ||
47 | QHash<int, QPointer<KNotification>> m_notifications; | 47 | QHash<int, QPointer<KNotification>> m_notifications; | ||
48 | }; | 48 | }; | ||
49 | 49 | | |||
50 | #endif // NOTIFYBYANDROID_H | 50 | #endif // NOTIFYBYANDROID_H |