refactor code for iOS and MacNE
This commit is contained in:
parent
e08bf6de07
commit
d24dd5236b
36 changed files with 622 additions and 45 deletions
|
|
@ -5,12 +5,15 @@
|
|||
#include <QDebug>
|
||||
#include "notificationhandler.h"
|
||||
|
||||
#if defined(Q_OS_IOS)
|
||||
#if defined(Q_OS_IOS) && !defined(MACOS_NE)
|
||||
# include "platforms/ios/iosnotificationhandler.h"
|
||||
#elif defined(MACOS_NE)
|
||||
# include "platforms/macos_ne/iosnotificationhandler.h"
|
||||
#else
|
||||
# include "systemtray_notificationhandler.h"
|
||||
#endif
|
||||
|
||||
|
||||
// static
|
||||
NotificationHandler* NotificationHandler::create(QObject* parent) {
|
||||
#if defined(Q_OS_IOS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue