refactor code for iOS and MacNE

This commit is contained in:
Macbook 2024-10-06 23:07:21 +07:00 committed by Yaroslav Yashin
parent e08bf6de07
commit d24dd5236b
36 changed files with 622 additions and 45 deletions

View file

@ -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)