Push UnifiedPush come harbour-fmd (0.16.0)
Connector D-Bus org.unifiedpush.Connector.harbour-grumpydove: possiede il nome, esporta NewEndpoint/Message/Unregistered (Q_CLASSINFO sulla classe, non su un adaptor: con un adaptor l'interfaccia non viene esportata), si registra col distributore FogHorn in asincrono e salva token ed endpoint. Il risveglio si dirama per ambiente (GRUMPYDOVE_PUSH_WAKE=1) prima di creare la GUI: nessuna finestra, motore in un thread, checkMail, notifica via org.freedesktop.Notifications, uscita con tetto a 60 s. preparaPercorsiMotore() sta in un posto solo, usata da app e risveglio.
This commit is contained in:
1 parent
d7549cedd0
commit
d9aa530ffd
8 files changed
+323
-35
No files matched your search
@@ -3,7 +3,8 @@ TARGET = harbour-grumpydove
|
||||
|
||||
CONFIG += sailfishapp
|
||||
CONFIG += c++11
|
||||
|
||||
# QtDBus per il connector UnifiedPush (org.unifiedpush.Connector2)
|
||||
QT += dbus
|
||||
# Icone dell'originale compilate nel binario: source QML "qrc:/images/..."
|
||||
RESOURCES += images.qrc
|
||||
|
||||
@@ -22,10 +23,12 @@ SOURCES += \
|
||||
src/main.cpp \
|
||||
src/enginebridge.cpp \
|
||||
src/enginecallbacks.cpp \
|
||||
src/pushservice.cpp \
|
||||
src/accountsettings.cpp
|
||||
|
||||
HEADERS += \
|
||||
src/enginebridge.h \
|
||||
src/pushservice.h \
|
||||
src/accountsettings.h
|
||||
|
||||
OTHER_FILES += \
|
||||
|
||||
Reference in new issue
Block a user