unity-notifications-0.1.3+15.10.20151021/0000755000015300001610000000000012611700252020047 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/include/0000755000015300001610000000000012611700252021472 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/include/NotificationClient.h0000644000015300001610000000343312611675634025452 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef NOTIFICATIONCLIENT_H_ #define NOTIFICATIONCLIENT_H_ #include "notify-backend.h" #include "Notification.h" #include #include #include class ClientMainWindow; class NotificationClient : public QObject { Q_OBJECT public: NotificationClient(const QDBusConnection& connection, QObject *parent=nullptr); ~NotificationClient(); NotificationID sendNotification(Notification::Type ntype, Notification::Urgency urg, const QString &summary, const QString &body); public Q_SLOTS: /* These slots are needed to catch the incoming DBus messages. */ void NotificationClosed(NotificationID id, unsigned int reason); void ActionInvoked(NotificationID id, const QString &key); Q_SIGNALS: /* These signals are for client applications to bind to. */ void closed(NotificationID id, unsigned int reason); void invoked(NotificationID id, const QString &key); /* This is a temporary for development purposes. */ void eventHappened(const QString &text); private: OrgFreedesktopNotificationsInterface m_interface; }; #endif unity-notifications-0.1.3+15.10.20151021/include/DBusTypes.h0000644000015300001610000000357312611675634023554 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2015 Canonical, Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef DBUSTYPES_HPP_ #define DBUSTYPES_HPP_ #include #include #include #include struct NotificationData { QString appName; quint32 id; QString appIcon; QString summary; QString body; QList actions; QVariantMap hints; qint32 expireTimeout; NotificationData& setAppName(const QString& appName_); NotificationData& setId(quint32 id_); NotificationData& setAppIcon(const QString& appIcon_); NotificationData& setSummary(const QString& summary_); NotificationData& setBody(const QString& body_); NotificationData& setActions(const QList& actions_); NotificationData& setHints(const QVariantMap& hints_); NotificationData& setExpireTimeout(quint32 expireTimeout_); NotificationData& operator=(const NotificationData& other); bool operator==(const NotificationData& other) const; }; typedef QList NotificationDataList; QDBusArgument &operator<<(QDBusArgument &, const NotificationData &); const QDBusArgument &operator>>(const QDBusArgument &, NotificationData &); namespace DBusTypes { void registerNotificationMetaTypes(); } Q_DECLARE_METATYPE(NotificationData) Q_DECLARE_METATYPE(NotificationDataList) #endif unity-notifications-0.1.3+15.10.20151021/include/NotificationClientPlugin.h0000644000015300001610000000206112611675634026625 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef NOTIFICATIONCLIENT_PLUGIN_H #define NOTIFICATIONCLIENT_PLUGIN_H #include class NotificationClientPlugin : public QQmlExtensionPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") public: void registerTypes(const char *uri); void initializeEngine(QQmlEngine *engine, const char *uri); }; #endif unity-notifications-0.1.3+15.10.20151021/include/NotificationServer.h0000644000015300001610000000634412611675634025506 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef NOTIFICATIONSERVER_H #define NOTIFICATIONSERVER_H #include "notify-backend.h" /* http://www.galago-project.org/specs/notification/0.9/x408.html#commands * * The functions to implement: * * STRING_ARRAY org.freedesktop.Notifications.GetCapabilities (void); * UINT32 org.freedesktop.Notifications.Notify (STRING app_name, UINT32 replaces_id, * STRING app_icon, STRING summary, STRING body, ARRAY actions, DICT hints, INT32 expire_timeout); * void org.freedesktop.Notifications.CloseNotification (UINT32 id); * void org.freedesktop.Notifications.GetServerInformation (out STRING name, out STRING vendor, out STRING version); * * Signals: * org.freedesktop.Notifications.NotificationClosed (UINT32 id, UINT32 reason); * org.freedesktop.Notifications.ActionInvoked (UINT32 id, STRING action_key); * */ #include #include #include #include #include #include #include class NotificationModel; class Notification; class NotificationsAdaptor; class NotificationServer : public QObject, protected QDBusContext { Q_OBJECT friend NotificationsAdaptor; public: NotificationServer(const QDBusConnection& connection, NotificationModel &m, QObject *parent=nullptr); ~NotificationServer(); void invokeAction(unsigned int id, const QString &action); void forceCloseNotification (unsigned int id); public Q_SLOTS: void CloseNotification (unsigned int id); QString GetServerInformation (QString &vendor, QString &version, QString &specVersion) const; QStringList GetCapabilities() const; NotificationDataList GetNotifications(const QString &app_name); unsigned int Notify(const QString &app_name, uint replaces_id, const QString &app_icon, const QString &summary, const QString &body, const QStringList &actions, const QVariantMap &hints, int expire_timeout); void onDataChanged(unsigned int id); void onCompleted(unsigned int id); private Q_SLOTS: void serviceUnregistered(const QString &service); Q_SIGNALS: void NotificationClosed(unsigned int id, unsigned int reason); void ActionInvoked(unsigned int id, const QString &action_key); void dataChanged(unsigned int id); private: void incrementCounter(); QString messageSender(); bool isCmdLine(); QSharedPointer buildNotification(NotificationID id, const QVariantMap &hints); NotificationModel &model; unsigned int idCounter; QDBusConnection m_connection; QDBusServiceWatcher m_watcher; }; #endif unity-notifications-0.1.3+15.10.20151021/include/NotificationModel.h0000644000015300001610000000672212611675647025304 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef NOTIFICATIONMODEL_H #define NOTIFICATIONMODEL_H #include #include #include #include "notify-backend.h" #include "Notification.h" class Notification; struct NotificationModelPrivate; class NotificationModel : public QAbstractListModel { Q_OBJECT public: static const int maxNotifications = MAX_NOTIFICATIONS; static const int maxSnapsShown = 5; NotificationModel(QObject *parent=nullptr); virtual ~NotificationModel(); virtual int rowCount(const QModelIndex &parent) const override; virtual QVariant data(const QModelIndex &index, int role) const override; virtual QHash roleNames() const override; void insertNotification(const QSharedPointer &n); QList> getAllNotifications() const; QSharedPointer getNotification(NotificationID id) const; QSharedPointer getNotification(const QString &summary) const; QSharedPointer getDisplayedNotification(int index) const; bool hasNotification(NotificationID id) const; QList> removeAllNotificationsForClient(const QString& clientId); // getRaw() is only meant to be used from QML, since QML cannot handle // QSharedPointers... on C++-side only use getNotification() Q_INVOKABLE Notification* getRaw(const unsigned int notificationId) const; Q_INVOKABLE int queued() const; Q_INVOKABLE int numNotifications() const; Q_INVOKABLE void removeNotification(const NotificationID id); bool showingNotificationOfType(const Notification::Type type) const; bool showingNotification(const NotificationID id) const; void notificationUpdated(const NotificationID id); private Q_SLOTS: void timeout(); void onDataChanged(unsigned int id); Q_SIGNALS: void queueSizeChanged(int newSize); private: QScopedPointer p; bool nonSnapTimeout(); int nextTimeout() const; void incrementDisplayTimes(const int displayedTime) const; void pruneExpired(); void removeNonSnap(); int insertionPoint(const QSharedPointer &n) const; void insertEphemeral(const QSharedPointer &n); void insertConfirmation(const QSharedPointer &n); void insertInteractive(const QSharedPointer &n); void insertSnap(const QSharedPointer &n); void insertExtSnap(const QSharedPointer &n); void insertToVisible(const QSharedPointer &n, int location=-1); QSharedPointer deleteFromVisible(int loc); void deleteFirst(); int findFirst(const Notification::Type type) const; int countShowing(const Notification::Type type) const; }; #endif unity-notifications-0.1.3+15.10.20151021/include/NotificationPlugin.h0000644000015300001610000000217712611675647025502 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * Michał Sawicz * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef NOTIFICATIONS_PLUGIN_H #define NOTIFICATIONS_PLUGIN_H #include class NotificationPlugin : public QQmlExtensionPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") public: void registerTypes(const char *uri) override; void initializeEngine(QQmlEngine *engine, const char *uri) override; }; #endif // NOTIFICATIONS_PLUGIN_H unity-notifications-0.1.3+15.10.20151021/include/CMakeLists.txt0000644000015300001610000000021312611675634024245 0ustar pbuserpbgroup00000000000000if(${private_dbus}) set(PRIVATE_DBUS 1) else() set(PRIVATE_DBUS 0) endif() configure_file(notify-backend.h.in notify-backend.h @ONLY) unity-notifications-0.1.3+15.10.20151021/include/ActionModel.h0000644000015300001610000000270612611675647024071 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2014 Canonical, Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef ACTION_MODEL_HPP_ #define ACTION_MODEL_HPP_ #include struct ActionModelPrivate; class ActionModel : public QStringListModel { Q_OBJECT Q_ENUMS(ActionsRoles) public: ActionModel(QObject *parent=nullptr); virtual ~ActionModel(); virtual int rowCount(const QModelIndex &index) const override; virtual QVariant data(const QModelIndex &index, int role) const override; virtual QHash roleNames() const override; enum ActionsRoles { RoleActionLabel = Qt::UserRole + 1, RoleActionId = Qt::UserRole + 2 }; Q_INVOKABLE QVariant data(int row, int role) const; void insertAction(const QString &id, const QString &label); QStringList getRawActions() const; private: QScopedPointer p; }; #endif /* ACTION_MODEL_HPP_ */ unity-notifications-0.1.3+15.10.20151021/include/Notification.h0000644000015300001610000001031512611675647024314 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef NOTIFICATION_HPP_ #define NOTIFICATION_HPP_ #include "ActionModel.h" #include "notify-backend.h" #include #include #include #include #include struct NotificationPrivate; class NotificationServer; class Notification : public QObject { Q_OBJECT Q_ENUMS(Urgency) Q_ENUMS(Type) Q_PROPERTY(QString summary READ getSummary WRITE setSummary NOTIFY summaryChanged) Q_PROPERTY(QString body READ getBody WRITE setBody NOTIFY bodyChanged) Q_PROPERTY(NotificationID id READ getID) Q_PROPERTY(int value READ getValue WRITE setValue NOTIFY valueChanged) Q_PROPERTY(QString icon READ getIcon WRITE setIcon NOTIFY iconChanged) Q_PROPERTY(QString secondaryIcon READ getSecondaryIcon WRITE setSecondaryIcon NOTIFY secondaryIconChanged) Q_PROPERTY(Urgency urgency READ getUrgency WRITE setUrgency NOTIFY urgencyChanged) Q_PROPERTY(Type type READ getType WRITE setType NOTIFY typeChanged) Q_PROPERTY(ActionModel* actions READ getActions NOTIFY actionsChanged) Q_PROPERTY(QVariantMap hints READ getHints WRITE setHints NOTIFY hintsChanged) private: QScopedPointer p; public: enum Urgency { Low, Normal, Critical }; enum Type { PlaceHolder, Confirmation, Ephemeral, Interactive, SnapDecision }; Q_SIGNALS: void bodyChanged(const QString &text); void iconChanged(const QString &icon); void secondaryIconChanged(const QString &secondaryIcon); void summaryChanged(const QString &summary); void valueChanged(int value); void urgencyChanged(Urgency urg); void typeChanged(Type type); void actionsChanged(const QStringList &actions); void hintsChanged(const QVariantMap& hints); void dataChanged(unsigned int id); void dismissed(); void completed(unsigned int id); public Q_SLOTS: void onHovered(); void onDisplayed(); public: Notification(QObject *parent=nullptr); Notification(NotificationID id, int displayTime, const Urgency ur, const QString &text, Type type=Ephemeral, NotificationServer *srv=nullptr, QObject *parent=nullptr); Notification(NotificationID id, int displayTime, const Urgency ur, Type type=Ephemeral, NotificationServer *srv=nullptr, QObject *parent=nullptr); virtual ~Notification(); NotificationID getID() const; int getDisplayTime() const; QString getIcon() const; void setIcon(const QString &icon); QString getSecondaryIcon() const; void setSecondaryIcon(const QString &secondaryIcon); QString getBody() const; void setBody(const QString &text); QString getSummary() const; void setSummary(const QString &summary); int getValue() const; void setValue(int value); Urgency getUrgency() const; void setUrgency(Urgency urg); Type getType() const; void setType(Type type); ActionModel* getActions() const; void setActions(const QStringList &actions); QString getClientId() const; void setClientId(const QString& clientId); void detachFromServer(); QVariantMap getHints() const; void setHints(const QVariantMap& hints); Q_INVOKABLE void invokeAction(const QString &action); Q_INVOKABLE void close(); bool operator<(const Notification &n) const; // Order by "interestingness". private: QString filterText(const QString& text); }; Q_DECLARE_METATYPE(Notification::Urgency) Q_DECLARE_METATYPE(Notification::Type) #endif /* NOTIFICATION_HPP_ */ unity-notifications-0.1.3+15.10.20151021/include/notify-backend.h.in0000644000015300001610000000451612611675634025172 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ // All core definitions of Notify-Backend. #ifndef NOTIFY_BACKEND_ #define NOTIFY_BACKEND_ #include typedef unsigned int NotificationID; /*enum Urgency { URGENCY_LOW, URGENCY_NORMAL, URGENCY_CRITICAL }; enum NotificationType { SYNCHRONOUS, SNAP, INTERACTIVE, ASYNCHRONOUS };*/ const unsigned int MAX_NOTIFICATIONS = 50; class Renderer; class NotificationBackend; class Notification; #if 0 #define DBUS_SERVICE_NAME "com.canonical.notificationproto" #define DBUS_INTERFACE "com.canonical.notificationproto" #define DBUS_PATH "/com/canonical/notificationproto" #else #define DBUS_SERVICE_NAME "org.freedesktop.Notifications" #define DBUS_INTERFACE "org.freedesktop.Notifications" #define DBUS_PATH "/org/freedesktop/Notifications" #endif #define VALUE_HINT "value" #define VALUE_TINT_HINT "x-canonical-value-bar-tint" #define URGENCY_HINT "urgency" #define SOUND_HINT "sound-file" #define SUPPRESS_SOUND_HINT "suppress-sound" #define SYNCH_HINT "x-canonical-private-synchronous" #define SNAP_HINT "x-canonical-snap-decisions" #define MENU_MODEL_HINT "x-canonical-private-menu-model" #define INTERACTIVE_HINT "x-canonical-switch-to-application" #define SECONDARY_ICON_HINT "x-canonical-secondary-icon" #define NON_SHAPED_ICON_HINT "x-canonical-non-shaped-icon" #define ICON_ONLY_HINT "x-canonical-private-icon-only" #define AFFIRMATIVE_TINT_HINT "x-canonical-private-affirmative-tint" #define REJECTION_TINT_HINT "x-canonical-private-rejection-tint" #define TRUNCATION_HINT "x-canonical-truncation" #define TIMEOUT_HINT "x-canonical-snap-decisions-timeout" #define SWIPE_HINT "x-canonical-snap-decisions-swipe" #endif unity-notifications-0.1.3+15.10.20151021/README.txt0000644000015300001610000000127512611675634021571 0ustar pbuserpbgroup00000000000000Unity notifications This project provides an implementation of the Free Desktop Notification server for Unity. It also provides some additional features as needed on alternative platforms, such as mobile. Since the Dash is implemented in QML, this functionality is implemented as a QML plugin. Notification status is provided as a QAbstractListModel, making integration simple. The exact form of the API is defined by the Dash, Unity-notifications only implements it. Unity-notifications does not and will not provide a C/C++ API for sending or receiving notifications. It is QML only. In the roadmap there is also plans to provide a QML plugin for sending notifications from client applications. unity-notifications-0.1.3+15.10.20151021/tools/0000755000015300001610000000000012611700252021207 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/tools/qmltest.cpp0000644000015300001610000000160412611675634023424 0ustar pbuserpbgroup00000000000000#include "Notification.h" #include "NotificationModel.h" #include "NotificationServer.h" #include #include #include #include #include #include #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); QQuickView view; NotificationModel *m = new NotificationModel(); new NotificationServer(QDBusConnection::sessionBus(), *m, &app); // Shared pointer problem: http://qt-project.org/wiki/SharedPointersAndQmlOwnership view.rootContext()->setContextProperty("notificationmodel", m); qmlRegisterType("Notification", 1, 0, "Notification"); /* Hardcoded URLs are bad but tolerable here in test code. */ view.setSource(QUrl::fromLocalFile("../tools/datatest.qml")); view.show(); return app.exec(); } unity-notifications-0.1.3+15.10.20151021/tools/datatest.qml0000644000015300001610000000207212611675634023553 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import "Notifications" import Ubuntu.Components 0.1 Rectangle { id: rootRect width: units.gu(40) height: units.gu(71) color: "white" Image { anchors.fill: parent fillMode: Image.Tile source: "Notifications/graphics/tile.png" } Notifications { id: notifications model: notificationmodel anchors.fill: parent anchors.margins: units.gu(1) } } unity-notifications-0.1.3+15.10.20151021/tools/dbusclient.cpp0000644000015300001610000000565112611675634024075 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationClient.h" #include "clientMainWindow.h" #include #include #include #include #include struct InfoStruct { QString name; QString vendor; QString version; }; Q_DECLARE_METATYPE(InfoStruct) QDBusArgument &operator<<(QDBusArgument &argument, const InfoStruct &mystruct) { argument.beginStructure(); argument << mystruct.name << mystruct.vendor << mystruct.version; argument.endStructure(); return argument; } const QDBusArgument &operator>>(const QDBusArgument &argument, InfoStruct &mystruct) { argument.beginStructure(); argument >> mystruct.name >> mystruct.vendor >> mystruct.version; argument.endStructure(); return argument; } void getCaps(OrgFreedesktopNotificationsInterface &service) { QDBusReply reply = service.GetCapabilities(); if(!reply.isValid()) { printf("Got no reply for capability query.\n"); return; } QStringList caps = reply.value(); printf("The server has the following capabilities:\n"); for(int i=0; i reply = service.GetServerInformation(); if(!reply.isValid()) { printf("Got no reply for server info query.\n"); return; } InfoStruct i = reply.value(); printf("Server info:\n"); printf(" name: %s\n", i.name.toUtf8().constData()); printf(" vendor: %s\n", i.vendor.toUtf8().constData()); printf(" version: %s\n", i.version.toUtf8().constData()); } int main(int argc, char **argv) { QApplication app(argc, argv); qDBusRegisterMetaType(); NotificationClient *cl = new NotificationClient(QDBusConnection::sessionBus(), &app); ClientMainWindow *win = new ClientMainWindow(*cl); QObject::connect(cl, SIGNAL(eventHappened(QString)), win, SLOT(appendText(QString))); OrgFreedesktopNotificationsInterface service(DBUS_SERVICE_NAME, DBUS_PATH, QDBusConnection::sessionBus()); getCaps(service); printf("\n"); getInfo(service); win->show(); return app.exec(); } unity-notifications-0.1.3+15.10.20151021/tools/dbusserver.cpp0000644000015300001610000000251112611675634024115 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationModel.h" #include "NotificationServer.h" #include "serverMainWindow.h" #include #include int main(int argc, char **argv) { bool gui = !(argc == 2 && QString::fromUtf8(argv[1]) == "--no-gui"); QSharedPointer app; if (gui) { app.reset(new QApplication(argc, argv)); } else { app.reset(new QCoreApplication(argc, argv)); } NotificationModel model; new NotificationServer(QDBusConnection::sessionBus(), model, app.data()); if (gui) { ServerMainWindow *w = new ServerMainWindow(model); w->show(); } return app->exec(); } unity-notifications-0.1.3+15.10.20151021/tools/viewer.cpp0000644000015300001610000000047612611675634023242 0ustar pbuserpbgroup00000000000000#include #include #include #include "NotificationModel.h" #include "mainWindow.h" int main(int argc, char **argv) { QApplication app(argc, argv); MainWindow *win = new MainWindow(); win->setWindowTitle("List viewer test app"); win->show(); return app.exec(); } unity-notifications-0.1.3+15.10.20151021/tools/mainWindow.cpp0000644000015300001610000001231512611675634024050 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "notify-backend.h" #include "NotificationModel.h" #include "mainWindow.h" #include "Notification.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { setupUi(this); m = new NotificationModel(); notificationCount = 0; syncCount = 0; interactiveCount = 0; snapCount = 0; listView->setModel(m); connect(this->synchronousSendButton, SIGNAL(clicked()), this, SLOT(sendSynchronousNotification())); connect(this->notificationSendButton, SIGNAL(clicked()), this, SLOT(sendLowNotification())); connect(this->notificationNormalButton, SIGNAL(clicked()), this, SLOT(sendNormalNotification())); connect(this->notificationCriticalButton, SIGNAL(clicked()), this, SLOT(sendCriticalNotification())); connect(this->interactiveSendButton, SIGNAL(clicked()), this, SLOT(sendLowInteractiveNotification())); connect(this->interactiveNormalButton, SIGNAL(clicked()), this, SLOT(sendNormalInteractiveNotification())); connect(this->interactiveCriticalButton, SIGNAL(clicked()), this, SLOT(sendCriticalInteractiveNotification())); connect(this->snapSendButton, SIGNAL(clicked()), this, SLOT(sendSnapNotification())); connect(this->snapNormalButton, SIGNAL(clicked()), this, SLOT(sendNormalSnapNotification())); connect(this->snapCriticalButton, SIGNAL(clicked()), this, SLOT(sendCriticalSnapNotification())); connect(m, SIGNAL(queueSizeChanged(int)), this, SLOT(queueSizeChanged(int))); } MainWindow::~MainWindow() { } void MainWindow::sendLowNotification() { QString text("low async number "); text += QString::number(notificationCount, 10); sendNotification(notificationOffset + notificationCount++, Notification::Ephemeral, Notification::Low, text); } void MainWindow::sendNormalNotification() { QString text("normal async number "); text += QString::number(notificationCount, 10); sendNotification(notificationOffset + notificationCount++, Notification::Ephemeral, Notification::Normal, text); } void MainWindow::sendCriticalNotification() { QString text("critical async number "); text += QString::number(notificationCount, 10); sendNotification(notificationOffset + notificationCount++, Notification::Ephemeral, Notification::Critical, text); } void MainWindow::queueSizeChanged(int newsize) { QString text("Notifications in queue: "); text += QString::number(newsize, 10); queueLabel->setText(text); } void MainWindow::sendSynchronousNotification() { int timeout = 5000; QString text("sync number "); text += QString::number(syncCount, 10); QSharedPointer n(new Notification(syncOffset + syncCount++, timeout, Notification::Low, text, Notification::Confirmation)); m->insertNotification(n); // Wrap in a try/catch eventually. } void MainWindow::sendLowInteractiveNotification() { QString text("low interactive number "); text += QString::number(interactiveCount, 10); sendNotification(interactiveOffset + interactiveCount++, Notification::Interactive, Notification::Low, text); } void MainWindow::sendNormalInteractiveNotification() { QString text("normal interactive number "); text += QString::number(interactiveCount, 10); sendNotification(interactiveOffset + interactiveCount++, Notification::Interactive, Notification::Normal, text); } void MainWindow::sendCriticalInteractiveNotification() { QString text("critical interactive number "); text += QString::number(interactiveCount, 10); sendNotification(interactiveOffset + interactiveCount++, Notification::Interactive, Notification::Critical, text); } void MainWindow::sendSnapNotification() { QString text("low snap number "); text += QString::number(snapCount, 10); sendNotification(snapOffset + snapCount++, Notification::SnapDecision, Notification::Low, text); } void MainWindow::sendNormalSnapNotification() { QString text("normal snap number "); text += QString::number(snapCount, 10); sendNotification(snapOffset + snapCount++, Notification::SnapDecision, Notification::Normal, text); } void MainWindow::sendCriticalSnapNotification() { QString text("critical snap number "); text += QString::number(snapCount, 10); sendNotification(snapOffset + snapCount++, Notification::SnapDecision, Notification::Critical, text); } void MainWindow::sendNotification(int id, Notification::Type type, Notification::Urgency urg, QString text) const { int timeout = 5000; QSharedPointer n(new Notification(id, timeout, urg, text, type)); m->insertNotification(n); // Wrap in a try/catch eventually. } unity-notifications-0.1.3+15.10.20151021/tools/mainWindow.ui0000644000015300001610000000654212611675634023710 0ustar pbuserpbgroup00000000000000 MainWindow 0 0 800 600 MainWindow 220 130 461 321 Send synchronous notification Regular low Interactive low Notifications in queue: 0 Snap low Regular critical Regular normal Interactive normal Snap normal Interactive critical Snap critical 0 0 800 20 unity-notifications-0.1.3+15.10.20151021/tools/clientMainWindow.h0000644000015300001610000000326512611675634024660 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef CLIENTMAINWINDOW_H #define CLIENTMAINWINDOW_H #include #include #include "ui_clientMainWindow.h" #include "notify-backend.h" #include "Notification.h" class NotificationClient; class ClientMainWindow : public QMainWindow, private Ui_ClientMainWindow { Q_OBJECT public: ClientMainWindow(NotificationClient &cl, QWidget *parent=nullptr); ~ClientMainWindow(); public Q_SLOTS: void appendText(QString text); private: NotificationClient &client; void sendNotification(Notification::Type type, Notification::Urgency urg, QString text); private Q_SLOTS: void sendLowNotification(); void sendNormalNotification(); void sendCriticalNotification(); void sendSynchronousNotification(); void sendLowInteractiveNotification(); void sendNormalInteractiveNotification(); void sendCriticalInteractiveNotification(); void sendSnapNotification(); void sendNormalSnapNotification(); void sendCriticalSnapNotification(); }; #endif unity-notifications-0.1.3+15.10.20151021/tools/serverMainWindow.h0000644000015300001610000000214112611675634024700 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include #include #include "ui_serverMainWindow.h" #include "notify-backend.h" class NotificationModel; class ServerMainWindow : public QMainWindow, private Ui_ServerMainWindow { Q_OBJECT public: ServerMainWindow(NotificationModel &m, QWidget *parent=nullptr); ~ServerMainWindow(); public Q_SLOTS: void queueSizeChanged(int newSize); private: NotificationModel &model; }; unity-notifications-0.1.3+15.10.20151021/tools/serverMainWindow.ui0000644000015300001610000000240112611675634025065 0ustar pbuserpbgroup00000000000000 ServerMainWindow 0 0 800 600 MainWindow 220 130 461 321 Notifications in queue: 0 0 0 800 25 unity-notifications-0.1.3+15.10.20151021/tools/clientMainWindow.ui0000644000015300001610000000637212611675634025050 0ustar pbuserpbgroup00000000000000 ClientMainWindow 0 0 800 600 MainWindow 220 130 461 321 Regular critical Interactive critical Interactive low Regular low Snap normal Interactive normal Snap critical Snap low Send synchronous notification Regular normal true 0 0 800 25 unity-notifications-0.1.3+15.10.20151021/tools/Notifications/0000755000015300001610000000000012611700252024020 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/tools/Notifications/Notification.qml0000644000015300001610000001101012611675634027171 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import Ubuntu.Components 0.1 UbuntuShape { id: notification property alias iconSource: avatarIcon.source property alias secondaryIconSource: secondaryIcon.source property alias summary: summaryLabel.text property alias body: bodyLabel.text property var actions property var notificationId property var type property var notification width: parent.width height: childrenRect.height color: Qt.rgba(0, 0, 0, 0.85) opacity: 0 visible: opacity > 0 MouseArea { id: interactiveArea anchors.fill: contentColumn objectName: "interactiveArea" visible: type == "Notifications.Type.Interactive" onClicked: { notificationRenderer.model.triggerAction(notificationId, id); print("clicked " + actions.get(0).id) } } Column { id: contentColumn anchors { left: parent.left right: parent.right top: parent.top margins: units.gu(1) } height: childrenRect.height + contentColumn.anchors.margins spacing: units.gu(1) Row { id: topRow spacing: units.gu(1) anchors { left: parent.left right: parent.right } height: childrenRect.height UbuntuShape { id: icon objectName: "icon" width: units.gu(6) height: units.gu(6) visible: iconSource !== undefined && iconSource != "" image: Image { id: avatarIcon fillMode: Image.PreserveAspectCrop } } Image { id: secondaryIcon objectName: "secondaryIcon" width: units.gu(2) height: units.gu(2) visible: source !== undefined && source != "" && bodyLabel.visible fillMode: Image.PreserveAspectCrop } Column { id: labelColumn width: parent.width - x Label { id: summaryLabel objectName: "summaryLabel" anchors { left: parent.left right: parent.right } fontSize: "medium" font.bold: true color: "#f3f3e7" elide: Text.ElideRight } Label { id: bodyLabel objectName: "bodyLabel" anchors { left: parent.left right: parent.right } visible: body != "" fontSize: "small" color: "#f3f3e7" opacity: 0.6 wrapMode: Text.WordWrap maximumLineCount: 10 elide: Text.ElideRight } } } Row { id: buttonRow objectName: "buttonRow" spacing: units.gu(1) layoutDirection: Qt.RightToLeft //visible: type == "Notifications.Type.SnapDecision" anchors { left: parent.left right: parent.right } Repeater { model: actions Button { id: button objectName: "button" + index color: Positioner.isFirstItem ? "#d85317" : "#cdcdcb" width: (topRow.width - units.gu(1)) / 2 height: units.gu(4) text: label onClicked: notificationRenderer.model.triggerAction(notificationId, id); } } } } } unity-notifications-0.1.3+15.10.20151021/tools/Notifications/graphics/0000755000015300001610000000000012611700252025620 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/tools/Notifications/graphics/avatar2.jpg0000644000015300001610000002227512611675634027711 0ustar pbuserpbgroup00000000000000JFIFHHC     C    8.* `ROPp0΃q18΅ Ftԗ Pd,31Tդ Vn%Uw&.NU9Cf{R&vr9U y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D' 0ya~S+jzʼk rAucoћfo4bv,T>AݔQ@YJ,!lV:Dcdn\G5QM0qr[}ް~`|MVG*tQ "ш}˧2OJqؼb{j˭Np,ld06lio8;PI"AKf xyzbKmq3>LZoog*xd0P$vQDXL+xMkީz&ԃBf,pG$baVL'dyHm|L̪'HΌWZ: 4aG蝣GZ}2bw7Od740B1$@9iJIk|)`;nrDXb[n| ,FW>Q@47z9V>V]dk D-:qPRrik=Xx06(t%VqHG;7Q$t( 9"Qqd'ȱֹG/p<񲂞4T7$4<\q/)->xGb=&b|>; W61",5[ۅ~H"%j<>An^@T<3> RF7@n@^VWB6)Nȁ$>sRzqFj`l%AivI 92J@`чe@6 O"N̨[8Uٗ!3o ,NpNVӓ2Kg^Az;n5~pNz>]j7'Xyb Ɋf̘IF?e-U :Ddx$," =|t4Hi,6x~\l$j ibĕ ]vn%ZZ3VdkU/k7G \pj)k s|PS$U`d'AP& @uL桫P0g UQ 8`D'z5]>1i@ApNswt坚3 pWn薘A9'E0H9k['Mc`S$0 R8:DJu\}V?Y0`^^+ʮD^OX!zʀkC9H#ߘ 5q|-FҨ~&DvFm<Zh㝎CtEyNp4a2I%ܚ묢;7x4;:o8-x 怜u5EҞ˿7F} l3gsdʔ mņo'Wx܈_̍6xqgJ:0K~Y7_9pYB[ZQGē֌x#D0ArT4yRNr|b >.7ex~0OzDvlSj=bab~;LAnOXqSY8m}%F|)Zunity-notifications-0.1.3+15.10.20151021/tools/Notifications/graphics/facebook@18.png0000644000015300001610000000114312611675634030366 0ustar pbuserpbgroup00000000000000PNG  IHDR$$hsBITO pHYs B(xtEXtSoftwarewww.inkscape.org<PLTE̝ :tRNS  &4?FGKLNSVnw~)IDAT8˭G@s # `J>` jCW XN׺sդ5OD M'Sh$-;x,uЬ`ٔ?W 4vE,,Lnb%Q )lޏR騀FwEJɂY2 :cuAC#'% L3ځF4FL#ARH*;mlg="$ +8IENDB`unity-notifications-0.1.3+15.10.20151021/tools/Notifications/graphics/avatar3.jpg0000644000015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fi P۞,ϯj"f@*%w+I'>}jumsbmMa'y(7ŖRN Z;yVO$̮>̒'N5AYyI  @I1F\{ʕ֕f.ZX*xv=M1~,.թ*O46.OrJT)@o''7`aYR JP8 |cW4d<> qe"Eq(P;M߉>st `)ڡAzvnk"(QO8>UZZG%8!JJ=xaŬD$=XN˅PVNAZͧݳ bܦWQ4CvIpQ tSZB!zeBϏmlM.ns另)Iv%XOP@r]Si;vF^|13އN ymrmkґq. JuNJRSxO8?Ln]ޣs֊݅>Iz(uP @ad+$0BPH8֢cKoғϕ5 -o~e6--,iNӟj{:`)h(U+T  8N[<u2@ǽ?Ǣeq~!ѵԁSiN/ dzV!C zӸDJ͹VSiI[oe nG"8_+Ÿ!?MPCmsDf;^R176mlԐJ|'+"Z&Js疒y]hG yfy);f>^. 4qީEiR0p׿c%if[-?$ v8r?OJ@|oOX#./gݯTUr_ӺROS( ? Bǘ,#{֧ǽ{+Eb壙6[~{KDT.z o v=@IRU?z{*FIOk:I-5wx &S吴k biAtyev&:!{ ֮V1Q4@磃?_ YRr<{1rc;)$ui^qgºЧM4JTxqSIoF($XS|4jNjjd=-@y`zA!$''֌~kł6W n肣$p>iվ,* `D qրGDmr]$?IOytOoPP7HcNmF1J@,gAn5R1 lU'jwSm>(Y<$懻^FE%Mit(/Zωt-%@@ּ:U0&C(օ*%_j&|$|@+^\ MdЅxLB

;d(zRiY$#9!`񞘢 j"~\sFGL4 H#)' Q2O$<(>% R!J4.|t(ܢJqSN}(JQ҄!bcFIHVp:R9>ЧZ8ImG4;6nQ@ |+y8R[2h)Q<s9%$y@@c(wQꐾDyDKOΕɡ %\ o cҎ֠ M;^~* )n)ּӋr&unity-notifications-0.1.3+15.10.20151021/tools/Notifications/graphics/tile.png0000644000015300001610000000035212611675634027302 0ustar pbuserpbgroup00000000000000PNG  IHDR((mbKGD pHYs  tIME8tEXtCommentCreated with GIMPWRIDATXױ 0 EAeW$}+ IryW#~ z1Āo{{ZŞIENDB`unity-notifications-0.1.3+15.10.20151021/tools/Notifications/graphics/avatar1.jpg0000644000015300001610000011772712611675634027717 0ustar pbuserpbgroup00000000000000JFIFHH<ExifII* z(2i #CanonCanon EOS 1000DHH2013:03:14 10:52:23.6"'0221>R fn v  ~|P!6060600100"""8 2012:04:28 18:22:212012:04:28 18:22:21  / jr"z   R  T&(^@2@@ @ @ @ @ !^ -7t aD Canon EOS 1000DFirmware Version 1.0.700X}@": # f(Z/K P p%P-7%1.0.76Dedqdfd  4c6 ngKfWWaa%II#  SL=>!KLy  P XO [pkqqj ^`Z U ` -- -- -- -- -- -- -- -- -- yW*`'xl CX4pV{P\.Hh2_l   -w >` &QB=$-6zpS2:9,$#(/'-L?l^KxFUS,$%&)'%4%:0-T\]3&*/.$!!%+4Gd~b\<GW-!ji|yaLJS]JS{bmbLOPTNFeAbUHwSZcbJA@GRbSnc;GQ* bw`JGOXFLw^dbKMMPIAY:YH?wSYa_H?>BHVm]FA+08YX5bogI417;.1C3TC4?G3434.'8!/) U69=:)! %+=O "Z4 nC( 4k  "P{ <.G-J &  $j3WеaKeUq    c;'S;l'GR980100Z#b#(j#HHJFIFC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?v[IȫM#zonnVg4#r!}+nu[GTi XiT9sןe\^X}n}RM[E nxTA#>{X[XaUd̄zׁk_k @cj/i4e޲ӎ(#WP+$t*尒M,=7|1[tk ЅAp.^ *}ᜏ_ xm:Q V'-Jb)SR=#ap>Vݰv⧳ö;FR^߃\OOq}\̾KӼs:{}+&UV>q#<8B2Tsȱ9/xsB[fђ w2tci,fJ˸>oz|0V04i$2NE[RFŪiƑFGܞwK4YUy#6GQקrj"Hݼ)2 XvGYڎEwAe]E(FMgK n3{ D5 Hm?AX!{c3k. YKj쒃9*q2\,%y:*X玥FNlu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ƶt^&62< !3ִ}oRUwiHRF߰P88^ڎ @G5* V89sRFw'`)uQǰE<i?ST+ Nij3?U{T`}\Zw@v B]#vqJùx-z(\(Hh5tyn!ǎT_@?:2jfr3c8;H-Q Nq~#խQAt?ݝ;S,]cg=S7Eno#}ű l}֜n?\tz+oh!i,㞣pZ5I1n -&ojús,m#?C895^vqD^y9}꺅ֵ;<RIP8߷Vфc}*mqpO^Z;X1q|qu4& >ªgҡINܡs!n(ɨJp԰ *hW?IJ0m&ƐQP='r5Y 6) "E[h NCpr=qJp#w CqJd6WF24oR5(9戌2ewtSxI"[L%A88]}$7'| Y BuGOT,CkH7K ./X-"YJFw#]b7n6 K=jCŨI ?EF1<`d)[Pf|@>R޸6hĒWfbc>#@\Z3\bFf¯?ZT8I孱L;u4\  PN*MSrS'87x$giIp?Z)PXzS;NL7_J]I-@a#9COiDcQ!\0zRhc[*Hсr튲=Rl @dIG+[sU7sZ[WD%QE0.=((` Ehttp://ns.adobe.com/xap/1.0/ Canon Canon EOS 1000D Oben-Links 72 72 Zoll 2012:04:30 19:13:22 Co-sited JPEG Kompression 72 72 Zoll 1/500 sek. f/5,6 Kreatives Programm (bevorzugt kurze Belichtungszeit) 400 Exif Version 2.21 2012:04:28 18:22:21 2012:04:28 18:22:21 Y Cb Cr - 9,00 EV (1/512 sek.) 5,00 EV (f/5,7) 0,00 EV Raster 22,0 mm 8016 Byte(s) unbekannte Daten 60 60 60 FlashPix Version 1.0 sRGB 1500 1500 4438,356 4445,969 Zoll Normale Verarbeitung Automatische Belichtungzeit Automatischer Weißabgleich Standard R98 0100 CC   {&] =}^N/Ee}~I`:X1TVXܷ/u}c=d.t71,>.īъ6!ϟ}ZiJarMpǫQ:v{r"ԒA{uV?|yiSfK[Qjl#W*'FdȪ6H'I/f[>~ϠYHqnjOQtJHO?w[%noiu* ظUzs洦4Ta[8׏,;7G^rǙ+2%\̊9ߢ ߓT:};TH_-\+g_9jTX1ou#^ӝ=_v?850ǥZOkWf <ۊb77ݲ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&d &r8 , hx@(l* R QQ^-tlݟ=tf)tmDcmGRvE/G)G DL$j\CZa~;/6g HR2 55'qT+u+w-%9a D䭸D /X2aSzDSiNArע,8-mqTx@[B*n0n6˾8RZn(1rҰP!&fƠU@̴[Kh@sxǨ}Mg(R 6% T*jS ilR|գ@[Ә #qa9Y*};k3틱~'dؘuX:l+K 3-%^Ri0AB1 }$6gC0:bU"Kx${Ǔ/oϺ5`T?Aí[L0 ehbhaǑ;f4'@0PELYGv&F-H>LmkS=5k TbR<A})it;k )+a%$̖t'4%_2VNJ_ 7( :aN+:XP/DXY-@}tR#9BS}\vNJ: qUQ;fs -E7wl@OH({ c0P\ f02πCg2H"ɛY#j-?p989R\S %C ڈ`k>A_n O~C!ZT1CWɯ2JU4[Ia)L|n-9;@/w߈hLARu8 >7%1n`Jҭilo @ ly4͛NMS,/Ǚ"FAB"|h(?%'n()IG/#僬i_< d!W OY!*J~D5 TъY/M$"&9xрo C⩃Q322Il=UZPD VyvMz58ƿt}(?t}OQ^ UfKͯ٢odӞ&ދXxttgSsWs'"И!ɪULBfP5lcQуO$VpU$)br": !! kkǫwf*ؤ&.RpP$OelcAu6 oa *!\UhxT5_B/5BD Q^%DiM<_bcL1([C1V:۔R]qm@ThVIJ=yFYiQJ8HLFM<>0%(*׾SM}q]! RYf55gq Ev9a;,e߬!_̑e"w7c!!F AN!Ch"^1-!ىRHS+[1;q.Q:ào7Eӳ.I*@Lɵ5ܨ66II+QS58`u)Ļ_[]G&8/2A @"\5WWf_WfPvL,='D 5DiD05@DTDDu*{)Jw8tLE](S~r* &~*/{ϿИgw#AxAYkP7xn^wK}$=SNTsPAP/?8P1<ѥVWA0Jd#o,_4i-NУHXmOMr%(h?|`Uw_k.6pD\,VgDbqFFsN! %|}8] 5\Զ/۹etiI}x^[$!unity-notifications-0.1.3+15.10.20151021/tools/Notifications/graphics/icon_phone.png0000644000015300001610000000075612611675634030476 0ustar pbuserpbgroup00000000000000PNG  IHDR$$bKGD pHYs  tIME $.3^{IDATXq@ L J;p:p "N͑ pq)!t@"2adЅ-7Jj3L/sۆHG2@U `FsH Xȋ19cOi9D9f?ijs3`2L J+h0Dp}*k-ZɉT/wY@Te \%:.ܲ͘LO9@RM_`\@$>,iƈ`87r"u^R՗v3{);qY<,w EU{ΘLD9t ;J֑]`rmH-MGhՕŁdL`ƌRVtw;Θ֑Șuj.ʴGIENDB`unity-notifications-0.1.3+15.10.20151021/tools/Notifications/Notifications.qml0000644000015300001610000000364612611675634027374 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import Ubuntu.Components 0.1 import "timings.js" as Timings ListView { id: notificationRenderer objectName: "notificationRenderer" interactive: false spacing: units.gu(.5) delegate: Notification { objectName: "notification" + index iconSource: model.icon secondaryIconSource: model.secondaryIcon summary: model.summary body: model.body actions: model.actions notificationId: model.id type: model.type notification: model.notification } populate: Transition { NumberAnimation { property: "opacity" to: 1 duration: Timings.snapBeat easing.type: Timings.easing } } add: Transition { NumberAnimation { property: "opacity" to: 1 duration: Timings.snapBeat easing.type: Timings.easing } } remove: Transition { NumberAnimation { property: "opacity" to: 0 duration: Timings.fastBeat easing.type: Timings.easing } } displaced: Transition { NumberAnimation { properties: "x,y" duration: Timings.fastBeat easing.type: Timings.easing } } } unity-notifications-0.1.3+15.10.20151021/tools/Notifications/timings.js0000644000015300001610000000144312611675634026051 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ var rhythm = 700; var fastBeat = 0.5 * rhythm; var snapBeat = 0.5 * fastBeat; var slowBeat = rhythm; var sleepyBeat = slowBeat * 2; var easing = "OutQuint"; unity-notifications-0.1.3+15.10.20151021/tools/mainWindow.h0000644000015300001610000000367312611675634023524 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include #include "ui_mainWindow.h" #include "notify-backend.h" #include "Notification.h" class NotificationModel; class MainWindow : public QMainWindow, private Ui_MainWindow { Q_OBJECT public: MainWindow(QWidget *parent=nullptr); ~MainWindow(); private: NotificationModel *m; int notificationCount; int syncCount; int interactiveCount; int snapCount; // Offsets to make notification ids unique. static const int notificationOffset = 0; static const int syncOffset = 10000; static const int interactiveOffset = 20000; static const int snapOffset = 40000; void sendNotification(int id, Notification::Type type, Notification::Urgency urg, QString text) const; public Q_SLOTS: void queueSizeChanged(int newsize); private Q_SLOTS: void sendLowNotification(); void sendNormalNotification(); void sendCriticalNotification(); void sendSynchronousNotification(); void sendLowInteractiveNotification(); void sendNormalInteractiveNotification(); void sendCriticalInteractiveNotification(); void sendSnapNotification(); void sendNormalSnapNotification(); void sendCriticalSnapNotification(); }; #endif unity-notifications-0.1.3+15.10.20151021/tools/CMakeLists.txt0000644000015300001610000000213412611675634023766 0ustar pbuserpbgroup00000000000000qt5_wrap_ui(GUI_HEADERS mainWindow.ui serverMainWindow.ui clientMainWindow.ui) # Viewer app ############ add_executable(viewer viewer.cpp mainWindow.cpp mainWindow.h ${GUI_HEADERS} ) qt5_use_modules(viewer Widgets) target_link_libraries(viewer notifybackend) # QMLtest app ############# add_executable(qmltest qmltest.cpp ) qt5_use_modules(qmltest Qml Quick DBus Widgets ) target_link_libraries(qmltest notifybackend) # DBus server app ################# add_executable(dbusserver dbusserver.cpp serverMainWindow.cpp ${GUI_HEADERS} ) qt5_use_modules(dbusserver Widgets DBus ) target_link_libraries(dbusserver notifybackend) # DBus client app ################# add_executable(dbusclient dbusclient.cpp clientMainWindow.cpp ${GUI_HEADERS} ) qt5_use_modules(dbusclient Widgets DBus ) target_link_libraries(dbusclient notifybackend) # Move files around ################### file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/Notifications DESTINATION ${CMAKE_BINARY_DIR}/tools ) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/datatest.qml DESTINATION ${CMAKE_BINARY_DIR}/tools ) unity-notifications-0.1.3+15.10.20151021/tools/serverMainWindow.cpp0000644000015300001610000000232112611675634025233 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationModel.h" #include "serverMainWindow.h" ServerMainWindow::ServerMainWindow(NotificationModel &m, QWidget *parent) : QMainWindow(parent), model(m) { setupUi(this); listView->setModel(&model); connect(&model, SIGNAL(queueSizeChanged(int)), this, SLOT(queueSizeChanged(int))); } ServerMainWindow::~ServerMainWindow() { } void ServerMainWindow::queueSizeChanged(int newSize) { QString text("Notifications in queue: "); text += QString::number(newSize, 10); queueLabel->setText(text); } unity-notifications-0.1.3+15.10.20151021/tools/clientMainWindow.cpp0000644000015300001610000000766112611675634025217 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "clientMainWindow.h" #include "NotificationClient.h" #include "Notification.h" ClientMainWindow::ClientMainWindow(NotificationClient &cl, QWidget *parent) : QMainWindow(parent), client(cl) { setupUi(this); connect(this->synchronousSendButton, SIGNAL(clicked()), this, SLOT(sendSynchronousNotification())); connect(this->notificationSendButton, SIGNAL(clicked()), this, SLOT(sendLowNotification())); connect(this->notificationNormalButton, SIGNAL(clicked()), this, SLOT(sendNormalNotification())); connect(this->notificationCriticalButton, SIGNAL(clicked()), this, SLOT(sendCriticalNotification())); connect(this->interactiveSendButton, SIGNAL(clicked()), this, SLOT(sendLowInteractiveNotification())); connect(this->interactiveNormalButton, SIGNAL(clicked()), this, SLOT(sendNormalInteractiveNotification())); connect(this->interactiveCriticalButton, SIGNAL(clicked()), this, SLOT(sendCriticalInteractiveNotification())); connect(this->snapSendButton, SIGNAL(clicked()), this, SLOT(sendSnapNotification())); connect(this->snapNormalButton, SIGNAL(clicked()), this, SLOT(sendNormalSnapNotification())); connect(this->snapCriticalButton, SIGNAL(clicked()), this, SLOT(sendCriticalSnapNotification())); } ClientMainWindow::~ClientMainWindow() { } void ClientMainWindow::sendNotification(Notification::Type type, Notification::Urgency urg, QString text) { QString summary("summary"); unsigned int res = client.sendNotification(type, urg, summary, text); QString msg = "Sent Notification which got reply id "; msg += QString::number(res, 10); msg += ".\n"; appendText(msg); } void ClientMainWindow::appendText(QString text) { this->plainTextEdit->appendPlainText(text); } void ClientMainWindow::sendLowNotification() { sendNotification(Notification::Ephemeral, Notification::Low, "Low urgency asynchronous"); } void ClientMainWindow::sendNormalNotification() { sendNotification(Notification::Ephemeral, Notification::Normal, "Normal urgency asynchronous"); } void ClientMainWindow::sendCriticalNotification() { sendNotification(Notification::Ephemeral, Notification::Critical, "Critical urgency asynchronous"); } void ClientMainWindow::sendSynchronousNotification() { sendNotification(Notification::Confirmation, Notification::Normal, "Normal urgency synchronous"); } void ClientMainWindow::sendLowInteractiveNotification() { sendNotification(Notification::Interactive, Notification::Low, "Low urgency interactive"); } void ClientMainWindow::sendNormalInteractiveNotification() { sendNotification(Notification::Interactive, Notification::Normal, "Normal urgency interactive"); } void ClientMainWindow::sendCriticalInteractiveNotification() { sendNotification(Notification::Interactive, Notification::Critical, "Critical urgency interactive"); } void ClientMainWindow::sendSnapNotification() { sendNotification(Notification::SnapDecision, Notification::Low, "Low urgency snap"); } void ClientMainWindow::sendNormalSnapNotification() { sendNotification(Notification::SnapDecision, Notification::Normal, "Normal urgency snap"); } void ClientMainWindow::sendCriticalSnapNotification() { sendNotification(Notification::SnapDecision, Notification::Critical, "Critical urgency snap"); } unity-notifications-0.1.3+15.10.20151021/test/0000755000015300001610000000000012611700252021026 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/test/tst_NotificationInterface.qml0000644000015300001610000001703512611675634026727 0ustar pbuserpbgroup00000000000000/* * Copyright 2013 Canonical Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import QtTest 1.0 import Unity.Notifications 0.1 as Notifications import Unity.Notifications.Mocks 0.1 as NotificationMocks TestCase { NotificationMocks.Source { id: source } Repeater { id: repeater model: Notifications.Model delegate: Item { property var data: model property Repeater actionRepeater actionRepeater: Repeater { model: parent.data.actions delegate: Item { property var data: model } } } } SignalSpy { id: dataSpy target: Notifications.Model signalName: "dataChanged" } function initTestCase() { Notifications.Model.source = source; } function init() { Notifications.Model.confirmationPlaceholder = false; tryCompare(repeater, "count", "0", "There should be no notifications") } function cleanup() { // dismiss all Notifications for (var i = 0; i < repeater.count; i++) { repeater.itemAt(i).notification.dismissed() repeater.itemAt(i).notification.completed() } dataSpy.clear() } /* make sure all the required types are registered */ function test_types() { compare(typeof Notifications.Urgency.Low, "number", "there should be an Urgency::Low enum"); compare(typeof Notifications.Urgency.Normal, "number", "there should be an Urgency::Normal enum"); compare(typeof Notifications.Urgency.Critical, "number", "there should be an Urgency::Critical enum"); compare(typeof Notifications.Type.Confirmation, "number", "there should be a Type::Confirmation enum"); compare(typeof Notifications.Type.Ephemeral, "number", "there should be a Type::Ephemeral enum"); compare(typeof Notifications.Type.Interactive, "number", "there should be a Type::Interactive enum"); compare(typeof Notifications.Type.SnapDecision, "number", "there should be a Type::SnapDecision enum"); compare(typeof Notifications.Type.Placeholder, "number", "there should be a Type::Placeholder enum"); compare(typeof Notifications.Hint.ButtonTint, "number", "there should be a Hint::ButtonTint enum"); compare(typeof Notifications.Hint.IconOnly, "number", "there should be a Hint::IconOnly enum"); compare(typeof Notifications.Notification, "object", "Notification should be a registered type"); compare(typeof Notifications.Action, "object", "Action should be a registered type"); compare(typeof Notifications.Model, "object", "Notifications.Model should be a registered singleton"); compare(typeof Notifications.Model.source, "object", "Notifications.Model should have a source property"); compare(typeof Notifications.Model.confirmationPlaceholder, "boolean", "Notifications.Model should have a confirmationPlaceholder property"); } /* make sure all the required roles and methods of Notification are exposed */ function test_notification_members() { source.send({ "type": Notifications.Type.Interactive, }); tryCompare(repeater, "count", 1, "there should be one notification"); var data = repeater.itemAt(0).data; compare(typeof data.type, "number", "NotificationModel should expose a \"type\" role of type Type"); compare(typeof data.urgency, "number", "NotificationModel should expose a \"urgency\" role of type Urgency"); compare(typeof data.id, "number", "NotificationModel should expose a \"id\" role of type int"); compare(typeof data.summary, "string", "NotificationModel should expose a \"summary\" role of type QString"); compare(typeof data.body, "string", "NotificationModel should expose a \"body\" role of type QString"); compare(typeof data.value, "number", "NotificationModel should expose a \"value\" role of type int"); compare(typeof data.icon, "object", "NotificationModel should expose an \"icon\" role of type QUrl"); compare(typeof data.secondaryIcon, "object", "NotificationModel should expose a \"secondaryIcon\" role of type QUrl"); compare(typeof data.actions, "object", "NotificationModel should expose an \"actions\" role" + " of type QQmlListProperty"); compare(typeof data.hints, "int", "NotificationModel should expose a \"hints\" role of type Hints"); compare(typeof data.notification, "object", "NotificationModel should expose a \"notification\" role" + " of type Notification"); var notification = data.notification; compare(typeof notification.dismissed, "function", "Notification::dismissed should be a signal"); compare(typeof notification.completed, "function", "Notification::completed should be a signal"); compare(typeof notification.onHovered, "function", "Notification::onHovered should be a slot"); compare(typeof notification.onDisplayed, "function", "Notification::onDisplayed should be a slot"); } /* make sure all the required roles and methods of Action are exposed */ function test_action_members() { source.send({ "type": Notifications.Type.Interactive, "actions": [ {"label": "test"} ] }); tryCompare(repeater, "count", 1, "there should be one notification"); var data = repeater.itemAt(0).data; data = repeater.itemAt(0).actionRepeater.itemAt(0).data; compare(typeof data.label, "string", "Notification::actions should expose a \"label\" role of type QString"); compare(typeof data.action, "object", "Notification::actions should expose an \"action\" role of type Action"); var action = data.action; compare(typeof action.invoke, "function", "Action::invoke should be a function"); } /* make sure the model is empty by default */ function test_empty() { tryCompare(repeater, "count", 0, "there should be no notifications"); } /* make sure there is a placeholder item used as the first item when confirmationPlaceholder is true and that any additional notification is added after it */ function test_placeholder() { Notifications.Model.confirmationPlaceholder = true; tryCompare(repeater, "count", 1, "there should be one notification"); compare(repeater.itemAt(0).data.type, Notifications.Type.Placeholder, "the notification should be of Placeholder type"); source.send({ "type": Notifications.Type.Ephemeral }) tryCompare(repeater, "count", 2, "second notification was added"); compare(repeater.itemAt(0).data.type, Notifications.Type.Placeholder, "the first notification should be of Placeholder type"); compare(repeater.itemAt(1).data.type, Notifications.Type.Ephemeral, "the second notification should be of Ephemeral type"); } /* make sure the placeholder item is updated with data incoming in a Confirmation notification */ function test_confirmation() { Notifications.Model.confirmationPlaceholder = true; tryCompare(repeater, "count", 1, "there should be only one notification"); source.send({ "type": Notifications.Type.Confirmation }); tryCompare(dataSpy, "count", 1, "notification data should have been updated"); compare(repeater.count, 1, "there should be only one notification"); compare(repeater.itemAt(0).type, Notifications.Type.Confirmation, "the first notification should be of Confirmation type"); } } unity-notifications-0.1.3+15.10.20151021/test/notificationservertest.cpp0000644000015300001610000002341712611675634026375 0ustar pbuserpbgroup00000000000000 #include #include #include #include #include #include using namespace QtDBusTest; class TestNotificationServer: public QObject { Q_OBJECT QSharedPointer dbus; QSharedPointer notificationsInterface; QSharedPointer secondConnection; QSharedPointer secondNotificationsInterface; private Q_SLOTS: void init() { DBusTypes::registerNotificationMetaTypes(); dbus.reset(new DBusTestRunner); dbus->registerService( DBusServicePtr( new QProcessDBusService(DBUS_SERVICE_NAME, QDBusConnection::SessionBus, DBUS_SERVER_BINARY, QStringList{"--no-gui"}))); dbus->startServices(); // Create a connection to the server notificationsInterface.reset( new OrgFreedesktopNotificationsInterface(DBUS_SERVICE_NAME, DBUS_PATH, dbus->sessionConnection())); secondConnection.reset( new QDBusConnection( QDBusConnection::connectToBus( dbus->sessionBus(), dbus->sessionBus() + "_second"))); // Create a second connection to the server over a different dbus connection secondNotificationsInterface.reset( new OrgFreedesktopNotificationsInterface( DBUS_SERVICE_NAME, DBUS_PATH, *secondConnection)); } void cleanup() { secondNotificationsInterface.reset(); secondConnection.reset(); notificationsInterface.reset(); dbus.reset(); } int _notify( QSharedPointer interface, const QString& name, int replacesId = 0) { auto reply = interface->Notify("my app", replacesId, "icon " + name, "summary " + name, "body " + name, QStringList(), QVariantMap(), 0); reply.waitForFinished(); if (reply.isError()) { throw std::domain_error(reply.error().message().toStdString()); } return reply; } int notifyFirst(const QString& name, int replacesId = 0) { return _notify(notificationsInterface, name, replacesId); } int notifySecond(const QString& name, int replacesId = 0, bool secondInterface = false) { return _notify(secondNotificationsInterface, name, replacesId); } void expectNotification(const NotificationDataList& notifications, int index, int id, const QString& name) { QCOMPARE( notifications.at(index), NotificationData() .setAppName("my app") .setId(id) .setAppIcon("image://theme/icon " + name) .setBody("body " + name) .setSummary("summary " + name) .setExpireTimeout(5000) ); } void _close(QSharedPointer interface, int id) { auto reply = interface->CloseNotification(id); reply.waitForFinished(); if (reply.isError()) { throw std::domain_error(reply.error().message().toStdString()); } } void closeFirst(int id) { _close(notificationsInterface, id); } void closeSecond(int id) { _close(secondNotificationsInterface, id); } void testNotify() { uint id1 = notifyFirst("1"); QCOMPARE(id1, uint(1)); uint id2 = notifyFirst("2"); QCOMPARE(id2, uint(2)); NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 2); expectNotification(notifications, 0, id1, "1"); expectNotification(notifications, 1, id2, "2"); } void testClose() { uint id1 = notifyFirst("1"); QCOMPARE(id1, uint(1)); uint id2 = notifyFirst("2"); QCOMPARE(id2, uint(2)); { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 2); expectNotification(notifications, 0, id1, "1"); expectNotification(notifications, 1, id2, "2"); } closeFirst(id1); { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 1); expectNotification(notifications, 0, id2, "2"); } } void testNotifyCloseNotify() { uint id1 = notifyFirst("1"); QCOMPARE(id1, uint(1)); { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 1); expectNotification(notifications, 0, id1, "1"); } closeFirst(id1); { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 0); } id1 = notifyFirst("1", id1); QCOMPARE(id1, uint(1)); { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 1); expectNotification(notifications, 0, id1, "1"); } } void testNotifyCounterIncrement() { uint id1 = notifyFirst("1", 1); QCOMPARE(id1, uint(1)); uint id2 = notifyFirst("2", 2); QCOMPARE(id2, uint(2)); uint id4 = notifyFirst("4", 4); QCOMPARE(id4, uint(4)); uint id5 = notifyFirst("5", 5); QCOMPARE(id5, uint(5)); uint id3 = notifyFirst("3"); QCOMPARE(id3, uint(3)); uint id6 = notifyFirst("6"); QCOMPARE(id6, uint(6)); { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 6); expectNotification(notifications, 0, id1, "1"); expectNotification(notifications, 1, id2, "2"); expectNotification(notifications, 2, id3, "3"); expectNotification(notifications, 3, id4, "4"); expectNotification(notifications, 4, id5, "5"); expectNotification(notifications, 5, id6, "6"); } } void testNotifyTwoClientsOneNaughty() { // Create notification from one client uint id1 = notifySecond("1"); QCOMPARE(id1, uint(1)); qDebug() << "====== EXPECTED ERRORS BELOW ======"; // Try and update notification from another client QVERIFY_EXCEPTION_THROWN(notifyFirst("2", id1), std::domain_error); // Try and close notification from another client QVERIFY_EXCEPTION_THROWN(closeFirst(id1), std::domain_error); qDebug() << "====== EXPECTED ERRORS ABOVE ======"; } void testNotifyOneClientDies() { QSignalSpy closedSpy(notificationsInterface.data(), SIGNAL(NotificationClosed(uint, uint))); uint id1 = notifySecond("1"); QCOMPARE(id1, uint(1)); uint id2 = notifySecond("2"); QCOMPARE(id2, uint(2)); uint id3 = notifySecond("3"); QCOMPARE(id3, uint(3)); uint id4 = notifySecond("4"); QCOMPARE(id4, uint(4)); // Kill off the client without cleaning up QString connectionName = secondConnection->name(); secondNotificationsInterface.reset(); secondConnection.reset(); QDBusConnection::disconnectFromBus(connectionName); QVERIFY2(closedSpy.wait(), "We should receive a closed notification"); // We shouldn't have any notifications left behind { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 0); } } void testNotifyTwoClientsOneDies() { QSignalSpy closedSpy(notificationsInterface.data(), SIGNAL(NotificationClosed(uint, uint))); uint id1 = notifyFirst("1"); QCOMPARE(id1, uint(1)); uint id2 = notifySecond("2"); QCOMPARE(id2, uint(2)); uint id3 = notifyFirst("3"); QCOMPARE(id3, uint(3)); uint id4 = notifySecond("4"); QCOMPARE(id4, uint(4)); // Kill off the client without cleaning up QString connectionName = secondConnection->name(); secondNotificationsInterface.reset(); secondConnection.reset(); QDBusConnection::disconnectFromBus(connectionName); QVERIFY2(closedSpy.wait(), "We should receive a closed notification"); // We should only have notifications from the first client left behind { NotificationDataList notifications = notificationsInterface->GetNotifications("my app"); QCOMPARE(notifications.size(), 2); expectNotification(notifications, 0, id1, "1"); expectNotification(notifications, 1, id3, "3"); } } void testGetCapabilities() { QStringList capabilities = notificationsInterface->GetCapabilities(); QStringList expected {"actions", "body", "body-markup", "icon-static", "image/svg+xml", VALUE_HINT, VALUE_TINT_HINT, URGENCY_HINT, SOUND_HINT, SUPPRESS_SOUND_HINT, SYNCH_HINT, ICON_ONLY_HINT, AFFIRMATIVE_TINT_HINT, REJECTION_TINT_HINT, TRUNCATION_HINT, SNAP_HINT, SECONDARY_ICON_HINT, NON_SHAPED_ICON_HINT, MENU_MODEL_HINT, INTERACTIVE_HINT, TIMEOUT_HINT, SWIPE_HINT }; QCOMPARE(capabilities, expected); } void testGetServerInformation() { QString vendor, version, specVersion; QString name = notificationsInterface->GetServerInformation(vendor, version, specVersion); QCOMPARE(name, QString("Unity notification server")); QCOMPARE(vendor, QString("Canonical Ltd")); QCOMPARE(version, QString("1.2")); QCOMPARE(specVersion, QString("1.1")); } }; QTEST_MAIN(TestNotificationServer) #include "notificationservertest.moc" unity-notifications-0.1.3+15.10.20151021/test/notificationtest.cpp0000644000015300001610000003200312611675647025141 0ustar pbuserpbgroup00000000000000#include "Notification.h" #include "NotificationModel.h" #include "NotificationServer.h" #include typedef struct { const char* before; const char* expected; } TextComparisons; class TestNotifications: public QObject { Q_OBJECT private Q_SLOTS: void testFullQueue(); void testHas(); void testOrder(); void testTypeSimple(); void testSimpleInsertion(); void testVisualSDQueueWithoutCritical(); void testVisualSDQueueWithCritical(); void testVisualSDQueueMax(); void testConfirmationValue(); void testTextFilter(); void testTextFilter_data(); void testReverseClose(); }; void TestNotifications::testSimpleInsertion() { int timeout = 5000; QSharedPointer n(new Notification(42, timeout, Notification::Low, "this is text")); NotificationModel m; QCOMPARE(m.numNotifications(), 1); m.insertNotification(n); QCOMPARE(m.numNotifications(), 2); m.removeNotification(n->getID()); QCOMPARE(m.numNotifications(), 1); } void TestNotifications::testTypeSimple() { int timeout = 5000; QSharedPointer n1(new Notification(1, timeout, Notification::Low, "low", Notification::Ephemeral)); QSharedPointer n2(new Notification(2, timeout, Notification::Low, "low", Notification::SnapDecision)); QSharedPointer n3(new Notification(3, timeout, Notification::Low, "low", Notification::Confirmation)); NotificationModel m; m.insertNotification(n1); QVERIFY(m.showingNotificationOfType(Notification::Ephemeral)); m.insertNotification(n2); QVERIFY(m.showingNotificationOfType(Notification::SnapDecision)); m.insertNotification(n3); QVERIFY(m.showingNotificationOfType(Notification::Confirmation)); } void TestNotifications::testOrder() { const int timeout = 1000; static NotificationModel *m = new NotificationModel(this); static NotificationServer *s = new NotificationServer(QDBusConnection::sessionBus(), *m); QStringList actions = QStringList(); QVariantMap hints; int id[3]; hints[URGENCY_HINT] = QVariant::fromValue(Notification::Urgency::Low); id[0] = s->Notify ("test-name-low", 0, "icon-low", "summary-low", "body-low", actions, hints, timeout); QVERIFY(m->showingNotification(id[0])); hints[URGENCY_HINT] = QVariant::fromValue(Notification::Urgency::Normal); id[1] = s->Notify ("test-name-normal", 0, "icon-normal", "summary-normal", "body-normal", actions, hints, timeout); QVERIFY(!m->showingNotification(id[0])); QVERIFY(m->showingNotification(id[1])); QVERIFY(m->queued() == 1); hints[URGENCY_HINT] = QVariant::fromValue(Notification::Urgency::Critical); id[2] = s->Notify ("test-name-critical", 0, "icon-critical", "summary-critical", "body-critical", actions, hints, timeout); QVERIFY(!m->showingNotification(id[0])); QVERIFY(!m->showingNotification(id[1])); QVERIFY(m->showingNotification(id[2])); QCOMPARE(m->queued(), 2); m->removeNotification(id[2]); QVERIFY(!m->showingNotification(id[0])); QVERIFY(m->showingNotification(id[1])); QVERIFY(!m->showingNotification(id[2])); QCOMPARE(m->queued(), 1); m->removeNotification(id[1]); QVERIFY(m->showingNotification(id[0])); QVERIFY(!m->showingNotification(id[1])); QVERIFY(!m->showingNotification(id[2])); QCOMPARE(m->queued(), 0); m->removeNotification(id[0]); QVERIFY(!m->showingNotification(id[0])); QVERIFY(!m->showingNotification(id[1])); QVERIFY(!m->showingNotification(id[2])); QCOMPARE(m->queued(), 0); delete s; delete m; } void TestNotifications::testHas() { const int timeout = 5000; QSharedPointer n1(new Notification(1, timeout, Notification::Low, "low", Notification::Ephemeral)); QSharedPointer n2(new Notification(2, timeout, Notification::Low, "low", Notification::Ephemeral)); QSharedPointer n3(new Notification(3, timeout, Notification::Low, "low", Notification::Ephemeral)); NotificationModel m; QVERIFY(!m.hasNotification(1)); QVERIFY(!m.hasNotification(2)); QVERIFY(!m.hasNotification(3)); m.insertNotification(n1); QVERIFY(m.hasNotification(1)); QVERIFY(!m.hasNotification(2)); QVERIFY(!m.hasNotification(3)); m.insertNotification(n2); QVERIFY(m.hasNotification(1)); QVERIFY(m.hasNotification(2)); QVERIFY(!m.hasNotification(3)); m.insertNotification(n3); QVERIFY(m.hasNotification(1)); QVERIFY(m.hasNotification(2)); QVERIFY(m.hasNotification(3)); } void TestNotifications::testFullQueue() { int timeout = 5000; NotificationModel m; for(unsigned int i=0; i< MAX_NOTIFICATIONS; i++) { QSharedPointer n(new Notification(i, timeout, Notification::Low, "text", Notification::Ephemeral)); m.insertNotification(n); } QCOMPARE((unsigned int)m.numNotifications(), MAX_NOTIFICATIONS); QSharedPointer wontFit(new Notification(1111, timeout, Notification::Critical, "foo")); m.insertNotification(wontFit); QCOMPARE((unsigned int)m.numNotifications(), MAX_NOTIFICATIONS); } void TestNotifications::testVisualSDQueueMax() { const int timeout = 60000; NotificationModel m; for(unsigned int i = 0; i < NotificationModel::maxSnapsShown + 1; i++) { QSharedPointer n(new Notification(i, timeout, Notification::Low, "snap-decision", Notification::SnapDecision)); m.insertNotification(n); } for(unsigned int i = 0; i < NotificationModel::maxSnapsShown; i++) { QVERIFY(m.showingNotification(i)); } QVERIFY(!m.showingNotification(NotificationModel::maxSnapsShown+1)); } void TestNotifications::testVisualSDQueueWithCritical() { const int timeout = 60000; NotificationModel m; QSharedPointer n1(new Notification(1, timeout, Notification::Low, "snap-decision", Notification::SnapDecision)); QSharedPointer n2(new Notification(2, timeout, Notification::Low, "snap-decision", Notification::SnapDecision)); QSharedPointer n3(new Notification(3, timeout, Notification::Critical, "snap-decision-critical", Notification::SnapDecision)); QSharedPointer n4(new Notification(4, timeout, Notification::Low, "snap-decision", Notification::SnapDecision)); m.insertNotification(n1); m.insertNotification(n2); m.insertNotification(n3); m.insertNotification(n4); QCOMPARE(m.getDisplayedNotification(1)->getBody(), QString("snap-decision-critical")); } void TestNotifications::testVisualSDQueueWithoutCritical() { const int timeout = 60000; NotificationModel m; QSharedPointer n1(new Notification(1, timeout, Notification::Low, "snap-decision-1", Notification::SnapDecision)); QSharedPointer n2(new Notification(2, timeout, Notification::Low, "snap-decision-2", Notification::SnapDecision)); QSharedPointer n3(new Notification(3, timeout, Notification::Low, "snap-decision-3", Notification::SnapDecision)); QSharedPointer n4(new Notification(4, timeout, Notification::Low, "snap-decision-4", Notification::SnapDecision)); m.insertNotification(n1); m.insertNotification(n2); m.insertNotification(n3); m.insertNotification(n4); QCOMPARE(m.getDisplayedNotification(4)->getBody(), QString("snap-decision-1")); QCOMPARE(m.getDisplayedNotification(3)->getBody(), QString("snap-decision-2")); QCOMPARE(m.getDisplayedNotification(2)->getBody(), QString("snap-decision-3")); QCOMPARE(m.getDisplayedNotification(1)->getBody(), QString("snap-decision-4")); } void TestNotifications::testConfirmationValue() { const int timeout = 3000; NotificationModel m; QSharedPointer confirmation(new Notification(1, timeout, Notification::Normal, "", Notification::Confirmation)); QSharedPointer ephemeral(new Notification(2, timeout, Notification::Normal, "ephemeral", Notification::Ephemeral)); confirmation->setValue(42); QCOMPARE(confirmation->getValue(), 42); confirmation->setValue(-10); QCOMPARE(confirmation->getValue(), -10); confirmation->setValue(0); QCOMPARE(confirmation->getValue(), 0); m.insertNotification(ephemeral); m.insertNotification(confirmation); QCOMPARE(m.getDisplayedNotification(2)->getBody(), QString("ephemeral")); QCOMPARE(m.getDisplayedNotification(1)->getBody(), QString("")); } void TestNotifications::testTextFilter_data() { QTest::addColumn("string"); QTest::addColumn("result"); QTest::newRow("URL") << "Ubuntu" << "Ubuntu"; QTest::newRow("as is") << "Don't rock the boat" << "Don't rock the boat"; QTest::newRow("img") << "Nothing to see" << "Nothing to see"; QTest::newRow("italic") << "Not italic" << "Not italic"; QTest::newRow("unterline") << "Test" << "Test"; QTest::newRow("bold") << "Bold" << "Bold"; QTest::newRow("span") << "Span" << "Span"; QTest::newRow("s-tag") << "E-flat" << "E-flat"; QTest::newRow("sub") << "Sandwich" << "Sandwich"; QTest::newRow("small") << "Fry" << "Fry"; QTest::newRow("tt") << "Testing tag" << "Testing tag"; QTest::newRow("html") << "Surrounded by html" << "Surrounded by html"; QTest::newRow("qt") << "Surrounded by qt" << "Surrounded by qt"; QTest::newRow("non-tag 1/3") << "><" << "><"; QTest::newRow("non-tag 2/3") << "<>" << "<>"; QTest::newRow("non-tag 3/3") << "< this is not a tag >" << "< this is not a tag >"; QTest::newRow("quotes") << "\"Film spectators are quiet vampires.\"" << "\"Film spectators are quiet vampires.\""; QTest::newRow("> 1/4") << "7 > 3" << "7 > 3"; QTest::newRow("> 2/4") << "7 > 3" << "7 > 3"; QTest::newRow("> 3/4") << "7 > 3" << "7 > 3"; QTest::newRow("> 4/4") << "7 > 3" << "7 > 3"; QTest::newRow("< 1/4") << "14 < 42" << "14 < 42"; QTest::newRow("< 2/4") << "14 < 42" << "14 < 42"; QTest::newRow("< 3/4") << "14 < 42" << "14 < 42"; QTest::newRow("< 4/4") << "14 < 42" << "14 < 42"; QTest::newRow("& 1/4") << "War & Peace" << "War & Peace"; QTest::newRow("& 2/4") << "Law & Order" << "Law & Order"; QTest::newRow("& 3/4") << "Love & War" << "Love & War"; QTest::newRow("& 4/4") << "Peace & Love" << "Peace & Love"; QTest::newRow("apostrophe") << "Kick him while he's down" << "Kick him while he's down"; QTest::newRow("newline 1/2") << "First line\r\nSecond line" << "First line\nSecond line"; QTest::newRow("newline 2/2") << "First line\n2nd line\r\n3rd line" << "First line\n2nd line\n3rd line"; } void TestNotifications::testTextFilter() { const int timeout = 1000; Notification n(new Notification(1, timeout, Notification::Low, "notification", Notification::Ephemeral)); QFETCH(QString, string); QFETCH(QString, result); n.setSummary(string); QCOMPARE(n.getSummary(), result); n.setBody(string); QCOMPARE(n.getBody(), result); } void TestNotifications::testReverseClose() { const int timeout = 1000; const int max = 20; static NotificationModel *m = new NotificationModel(); static NotificationServer *s = new NotificationServer(QDBusConnection::sessionBus(), *m); QStringList actions = QStringList(); QVariantMap hints; int before = m->numNotifications(); for (int i = 1; i <= max; i++) { s->Notify ("test-app-name", 0, "test-icon", "test-summary", "test-body", actions, hints, timeout); } QCOMPARE(m->numNotifications(), max+1); for (int i = max; i >= 1; i--) { m->getNotification(i)->close(); QCOMPARE(m->numNotifications(), i); } QCOMPARE(m->numNotifications(), before); delete s; delete m; } QTEST_MAIN(TestNotifications) #include "notificationtest.moc" unity-notifications-0.1.3+15.10.20151021/test/CMakeLists.txt0000644000015300001610000000154712611675647023620 0ustar pbuserpbgroup00000000000000function(add_notification_test NAME) add_executable(${NAME} "${NAME}.cpp") target_link_libraries(${NAME} notifybackend ${QTDBUSTEST_LDFLAGS} ) qt5_use_modules(${NAME} Core DBus Gui Qml Test Widgets ) add_test(${NAME} ${NAME}) set_tests_properties(${NAME} PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=minimal" ) endfunction() pkg_check_modules(QTDBUSTEST REQUIRED libqtdbustest-1 REQUIRED) include_directories(${QTDBUSTEST_INCLUDE_DIRS}) set(DBUS_SERVER_BINARY "${CMAKE_BINARY_DIR}/tools/dbusserver") add_definitions(-DDBUS_SERVER_BINARY="${DBUS_SERVER_BINARY}") add_notification_test(notificationtest) add_notification_test(notificationservertest) # Disabled until frontend and backend are fully # merged to respective trunks. #add_qml_test(NotificationInterface) unity-notifications-0.1.3+15.10.20151021/cmake/0000755000015300001610000000000012611700252021127 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/cmake/coverage.cmake0000644000015300001610000000323012611675634023741 0ustar pbuserpbgroup00000000000000if (CMAKE_BUILD_TYPE MATCHES coverage) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage") set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} --coverage") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} --coverage") find_program(GCOVR_EXECUTABLE gcovr HINTS ${GCOVR_ROOT} "${GCOVR_ROOT}/bin") if (NOT GCOVR_EXECUTABLE) message(STATUS "Gcovr binary was not found, can not generate XML coverage info.") else () message(STATUS "Gcovr found, can generate XML coverage info.") add_custom_target (coverage-xml WORKING_DIRECTORY ${CMAKE_BINARY_DIR} COMMAND "${GCOVR_EXECUTABLE}" --exclude="test.*" -x -r "${CMAKE_SOURCE_DIR}" --object-directory=${CMAKE_BINARY_DIR} -o coverage.xml) endif() find_program(LCOV_EXECUTABLE lcov HINTS ${LCOV_ROOT} "${GCOVR_ROOT}/bin") find_program(GENHTML_EXECUTABLE genhtml HINTS ${GENHTML_ROOT}) if (NOT LCOV_EXECUTABLE) message(STATUS "Lcov binary was not found, can not generate HTML coverage info.") else () if(NOT GENHTML_EXECUTABLE) message(STATUS "Genthml binary not found, can not generate HTML coverage info.") else() message(STATUS "Lcov and genhtml found, can generate HTML coverage info.") add_custom_target (coverage-html WORKING_DIRECTORY ${CMAKE_BINARY_DIR} COMMAND "${LCOV_EXECUTABLE}" --directory ${CMAKE_BINARY_DIR} --capture --output-file coverage.info --no-checksum COMMAND "${GENHTML_EXECUTABLE}" --prefix ${CMAKE_BINARY_DIR} --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info ) endif() endif() endif() unity-notifications-0.1.3+15.10.20151021/COPYING0000644000015300001610000010437412611675634021132 0ustar pbuserpbgroup00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . unity-notifications-0.1.3+15.10.20151021/examples/0000755000015300001610000000000012611700252021665 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/examples/trigger-sds.sh0000755000015300001610000000032512611675634024475 0ustar pbuserpbgroup00000000000000#!/bin/sh ./sd-example-incoming-call.py & sleep 2 ./sd-example-incoming-file.py & sleep 2 ./sd-example-morning-alarm.py & sleep 2 ./sd-example-much-body-text.py & sleep 2 ./sd-example-using-button-tint-hint.py & unity-notifications-0.1.3+15.10.20151021/examples/summary-only.py0000755000015300001610000000333012611675634024734 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly and at the same time comply to ## the new jaunty notification spec (read: visual guidelines) ## ## Run: ## chmod +x summary-only.py ## ./summary-only.py ## ## Copyright 2009 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("summary-only"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the summary-only case n = pynotify.Notification ("Summary-only", "") n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-event-reminder.py0000755000015300001610000000604712611675634027251 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sd-example-event-reminder.py ## ./sd-example-event-reminder.py ## ## Copyright 2014 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import time import pynotify import gobject import example def action_view (notification, action): if action == "view": print "Viewing the thing." else: print "That should not have happened (action_view)!" def action_snooze (notification, action): if action == "snooze": print "You want to snooze some more you lazy bastard!" else: print "That should not have happened (action_snooze)!" def action_ok (notification, action): if action == "ok": print "Getting up is the right thing to do... good for you!" else: print "That should not have happened (action_ok)!" def pushNotification (title, body, icon): n = pynotify.Notification (title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("ok", "Ok", action_ok); n.add_action ("snooze", "Snooze", action_snooze); n.add_action ("view", "View", action_view); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint_string ("x-canonical-snap-decisions", "true"); n.set_hint_string ("x-canonical-non-shaped-icon", "true"); n.set_hint_string ("x-canonical-private-affirmative-tint", "true"); n.show () return n if __name__ == '__main__': if not pynotify.init ("sd-example-event-reminder"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-snap-decisions'] \ and example.capabilities['x-canonical-non-shaped-icon'] \ and example.capabilities['x-canonical-private-affirmative-tint']: sys.exit (2) loop = gobject.MainLoop () n = pushNotification ("Theatre at Ferria Stadium", "at Ferria Stadium in Bilbao, Spain\n07578545317", "") n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-simunlock.py0000755000015300001610000001076712611675634026335 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sd-example-simunlock.py ## ./sd-example-simunlock.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys from gi.repository import Gio, GLib, Notify APPLICATION_ID = 'com.canonical.indicator.network.example' SIM_UNLOCK_MENU_PATH = '/com/canonical/indicator/network/example/unlocksim' SIM_UNLOCK_ACTION_PATH = '/com/canonical/indicator/network/example/unlocksim' def quit_callback(notification, loop): global connection global exported_action_group_id global exported_menu_model_id connection.unexport_action_group (exported_action_group_id) connection.unexport_menu_model (exported_menu_model_id) loop.quit() def activate (action, variant): global n if not variant.get_boolean(): print "Cancel" n.close() def simpin_changed (action, variant): global n pin = variant.get_string(); print "PIN entered: " + pin n.close() def bus_acquired(bus, name): # menu unlock_menu = Gio.Menu(); pin_unlock = Gio.MenuItem.new ("", "notifications.simunlock"); pin_unlock.set_attribute_value ("x-canonical-type", GLib.Variant.new_string("com.canonical.snapdecision.pinlock")); unlock_menu.append_item (pin_unlock); # actions unlock_actions = Gio.SimpleActionGroup.new(); action = Gio.SimpleAction.new_stateful("simunlock", GLib.VariantType.new("b"), GLib.Variant.new_string("")); action.connect ("change-state", simpin_changed); action.connect ("activate", activate) unlock_actions.insert (action); global connection connection = bus global exported_action_group_id exported_action_group_id = connection.export_action_group(SIM_UNLOCK_ACTION_PATH, unlock_actions) global exported_menu_model_id exported_menu_model_id = connection.export_menu_model(SIM_UNLOCK_MENU_PATH, unlock_menu) def pushNotification (title, body, icon): simNotification = Notify.Notification.new(title, body, icon); # create the menu-model menu_model_actions = GLib.VariantBuilder.new (GLib.VariantType.new ("a{sv}")); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("notifications"), GLib.Variant.new_variant(GLib.Variant.new_string(SIM_UNLOCK_ACTION_PATH))); menu_model_actions.add_value (entry); menu_model_paths = GLib.VariantBuilder.new (GLib.VariantType.new ("a{sv}")); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("busName"), GLib.Variant.new_variant(GLib.Variant.new_string(APPLICATION_ID))); menu_model_paths.add_value (entry); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("menuPath"), GLib.Variant.new_variant(GLib.Variant.new_string(SIM_UNLOCK_MENU_PATH))); menu_model_paths.add_value (entry); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("actions"), GLib.Variant.new_variant(menu_model_actions.end())); menu_model_paths.add_value (entry); simNotification.set_hint ("x-canonical-private-menu-model", menu_model_paths.end ()); # indicate to the notification-daemon, that we want to use snap-decisions simNotification.set_hint_string ("x-canonical-snap-decisions", "true"); simNotification.set_hint_string ("x-canonical-private-button-tint", "true"); Gio.bus_own_name(Gio.BusType.SESSION, APPLICATION_ID, 0, bus_acquired, None, None) return simNotification if __name__ == '__main__': if not Notify.init("sd-example-simunlock"): sys.exit (1) connection = None exported_menu_model_id = 0 exported_action_group_id = 0 pin = "0000" loop = GLib.MainLoop() global n n = pushNotification ("", "", "") n.connect('closed', quit_callback, loop) n.show () loop.run() unity-notifications-0.1.3+15.10.20151021/examples/unsupported/0000755000015300001610000000000012611700252024255 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/examples/unsupported/icon-updating.py0000755000015300001610000000444612611675634027422 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x icon-updating.py ## ./icon-updating.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import time import pynotify import example import gtk if __name__ == '__main__': if not pynotify.init ("icon-updating"): sys.exit (1); # call this so we can savely use capabilities dictionary later example.initCaps (); # show what's supported example.printCaps (); # create new notification, set icon using hint "image_path" n = pynotify.Notification ("Test 1/3", "Set icon via hint \"image_path\" to logo-icon."); n.set_hint_string ("image_path", "/usr/share/icons/Humanity/places/64/distributor-logo.svg"); n.show (); time.sleep (4); # wait a bit # update notification using hint image_data n.clear_hints (); n.update ("Test 2/3", "Set icon via hint \"image_data\" to avatar-photo."); pixbuf = gtk.gdk.pixbuf_new_from_file ("../icons/avatar.png"); n.set_icon_from_pixbuf (pixbuf); n.show (); time.sleep (4); # wait a bit # update notification using icon-parameter directly n.clear_hints (); n.update ("Test 3/3", "Set icon via icon-parameter directly to totem-icon.", "totem"); n.show (); unity-notifications-0.1.3+15.10.20151021/examples/unsupported/sync-icon-only.py0000755000015300001610000000376412611675634027544 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly and at the same time comply to ## the new jaunty notification spec (read: visual guidelines) ## ## Run: ## chmod +x sync-icon-only.py ## ./sync-icon-only.py ## ## Copyright 2009 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import pynotify import example if __name__ == '__main__': if not pynotify.init ("sync-icon-only"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # try sync. icon-only if example.capabilities['x-canonical-private-icon-only'] and example.capabilities['x-canonical-private-synchronous']: n = pynotify.Notification ("Eject", # for a11y-reasons put something meaningfull here "", "notification-device-eject") n.set_hint_string ("x-canonical-private-icon-only", "true"); n.set_hint_string ("x-canonical-private-synchronous", "true"); n.show () else: print "The daemon does not support sync. icon-only!" unity-notifications-0.1.3+15.10.20151021/examples/unsupported/icon-value.py0000755000015300001610000000517012611675634026716 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x icon-value.py ## ./icon-value.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import time import pynotify import example def pushNotification (icon, value): n = pynotify.Notification ("Brightness", # for a11y-reasons supply something meaning full "", # this needs to be empty! icon); n.set_hint_int32 ("value", value); n.set_hint_string ("x-canonical-private-synchronous", "true"); n.show () time.sleep (1) if __name__ == '__main__': if not pynotify.init ("icon-value"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # try the icon-value case if example.capabilities['x-canonical-private-icon-only']: pushNotification ("notification-keyboard-brightness-low", 25); pushNotification ("notification-keyboard-brightness-medium", 50); pushNotification ("notification-keyboard-brightness-high", 75); pushNotification ("notification-keyboard-brightness-full", 100); # trigger "overshoot"-effect pushNotification ("notification-keyboard-brightness-full", 101); pushNotification ("notification-keyboard-brightness-high", 75); pushNotification ("notification-keyboard-brightness-medium", 50); pushNotification ("notification-keyboard-brightness-low", 25); pushNotification ("notification-keyboard-brightness-off", 0); # trigger "undershoot"-effect pushNotification ("notification-keyboard-brightness-off", -1); else: print "The daemon does not support the x-canonical-private-icon-only hint!" unity-notifications-0.1.3+15.10.20151021/examples/unsupported/icon-only.py0000755000015300001610000000356012611675634026564 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x icon-only.py ## ./icon-only.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import pynotify import example if __name__ == '__main__': if not pynotify.init ("icon-only"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-private-icon-only']: sys.exit (2) # try the icon-only case n = pynotify.Notification ("", # for a11y-reasons put something meaningfull here "", # for a11y-reasons put something meaningfull here "notification-device-eject") n.set_hint_string ("x-canonical-private-icon-only", "true"); n.show () unity-notifications-0.1.3+15.10.20151021/examples/unsupported/append-hint-example.py0000755000015300001610000000676512611675634030527 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly with the new Qt/QML-based ## implementation of NotifyOSD ## ## Run: ## chmod +x append-hint-example.py ## ./append-hint-example.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import time import pynotify import example def pushNotification (title, body, icon, secondaryIcon): n = pynotify.Notification (title, body, icon); n.set_hint_string ("x-canonical-append", "true"); n.set_hint_string ("x-canonical-secondary-icon", secondaryIcon); n.show () time.sleep (3) # simulate a user typing if __name__ == '__main__': if not pynotify.init ("append-hint-example"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-append']: sys.exit (2) # try the append-hint if example.capabilities['x-canonical-append']: pushNotification ("Cole Raby", "Hey Bro Coly!", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") pushNotification ("Cole Raby", "What's up dude?", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") pushNotification ("Cole Raby", "Did you watch the air-race in Oshkosh last week?", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") pushNotification ("Cole Raby", "Phil owned the place like no one before him!", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") pushNotification ("Cole Raby", "Did really everything in the race work according to regulations?", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") pushNotification ("Cole Raby", "Somehow I think to remember Burt Williams did cut corners and was not punished for this.", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") pushNotification ("Cole Raby", "Hopefully the referees will watch the videos of the race.", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") pushNotification ("Cole Raby", "Burt could get fined with US$ 50000 for that rule-violation :)", os.getcwd() + "/assets/avatar1.jpg", os.getcwd() + "/assets/icon_facebook.png") else: print "The daemon does not support the x-canonical-append hint!" unity-notifications-0.1.3+15.10.20151021/examples/sd-example-incoming-file.py0000755000015300001610000000567612611675634027054 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly and at the same time comply to ## the new jaunty notification spec (read: visual guidelines) ## ## Run: ## chmod +x sd-example-incoming-file.py ## ./sd-example-incoming-file.py ## ## Copyright 2012 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import time import pynotify import gobject import example def action_decline (notification, action): if action == "action_decline": print "You are rejecting to receive the file" else: print "That should not have happened (action_decline)!" def action_accept (notification, action): if action == "action_accept": print "Accepting incoming file" else: print "That should not have happened (action_accept)!" def pushNotification (title, body, icon): n = pynotify.Notification (title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("action_accept", "Accept", action_accept); n.add_action ("action_decline", "Decline", action_decline); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint_string ("x-canonical-snap-decisions", "true"); n.set_hint_string ("x-canonical-non-shaped-icon", "true"); n.set_hint_string ("x-canonical-private-affirmative-tint", "true"); n.set_hint_string ("x-canonical-private-rejection-tint", "true"); n.show () return n if __name__ == '__main__': if not pynotify.init ("sd-example-incoming-file"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-snap-decisions']: sys.exit (2) loop = gobject.MainLoop () n = pushNotification ("Incoming file", "Frank would like to send you the file: essay.pdf", "sync-idle") n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/icon-summary-body.py0000755000015300001610000000354012611675634025641 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x icon-summary-body.py ## ./icon-summary-body.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("icon-summary-body"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the icon-summary-body case n = pynotify.Notification ("Bro Coly", "Hey pal, what's up with the party " "next weekend? Will you join me " "and Anna?", os.getcwd() + "/assets/avatar2.jpg") n.set_hint_string ("x-canonical-secondary-icon", "message") n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-user-auth.py0000755000015300001610000001345112611675634026237 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sd-example-user-auth.py ## ./sd-example-user-auth.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys from gi.repository import Gio, GLib, Notify APPLICATION_ID = 'com.canonical.snapdecisions' PASSWORD_MENU_PATH = '/com/canonical/snapdecisions/password' PASSWORD_ACTION_PATH = '/com/canonical/snapdecisions/password' def quit_callback(notification, loop): global connection global exported_action_group_id global exported_menu_model_id connection.unexport_action_group (exported_action_group_id) connection.unexport_menu_model (exported_menu_model_id) loop.quit() def cancel (notification, action, data): if action == "cancel": print "Cancel" else: print "That should not have happened (cancel)!" def connect (notification, action, data): if action == "connect": global login print "login entered: " + login global password print "password entered: " + password else: print "That should not have happened (connect)!" def login_changed (action, variant): global login login = variant.get_string(); def password_changed (action, variant): global password password = variant.get_string(); def bus_acquired(bus, name): # menu menu = Gio.Menu(); login_item = Gio.MenuItem.new ("Login name:", "notifications.login"); login_item.set_attribute_value ("x-canonical-type", GLib.Variant.new_string("com.canonical.snapdecision.textfield")); login_item.set_attribute_value ('x-echo-mode-password', GLib.Variant.new_boolean(False)) menu.append_item (login_item); password_item = Gio.MenuItem.new ("Password:", "notifications.password"); password_item.set_attribute_value ("x-canonical-type", GLib.Variant.new_string("com.canonical.snapdecision.textfield")); password_item.set_attribute_value ('x-echo-mode-password', GLib.Variant.new_boolean(True)) menu.append_item (password_item); # actions actions = Gio.SimpleActionGroup.new(); password_action = Gio.SimpleAction.new_stateful("password", GLib.VariantType.new("s"), GLib.Variant.new_string("")); password_action.connect ("change-state", password_changed); actions.insert (password_action); login_action = Gio.SimpleAction.new_stateful("login", GLib.VariantType.new("s"), GLib.Variant.new_string("")); login_action.connect ("change-state", login_changed); actions.insert (login_action); global connection connection = bus global exported_action_group_id exported_action_group_id = connection.export_action_group(PASSWORD_ACTION_PATH, actions) global exported_menu_model_id exported_menu_model_id = connection.export_menu_model(PASSWORD_MENU_PATH, menu) def pushNotification (title, body, icon): n = Notify.Notification.new(title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("connect", "Connect", connect, None, None); n.add_action ("cancel", "Cancel", cancel, None, None); # create the menu-model menu_model_actions = GLib.VariantBuilder.new (GLib.VariantType.new ("a{sv}")); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("notifications"), GLib.Variant.new_variant(GLib.Variant.new_string(PASSWORD_ACTION_PATH))); menu_model_actions.add_value (entry); menu_model_paths = GLib.VariantBuilder.new (GLib.VariantType.new ("a{sv}")); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("busName"), GLib.Variant.new_variant(GLib.Variant.new_string(APPLICATION_ID))); menu_model_paths.add_value (entry); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("menuPath"), GLib.Variant.new_variant(GLib.Variant.new_string(PASSWORD_MENU_PATH))); menu_model_paths.add_value (entry); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("actions"), GLib.Variant.new_variant(menu_model_actions.end())); menu_model_paths.add_value (entry); n.set_hint ("x-canonical-private-menu-model", menu_model_paths.end ()); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint ("x-canonical-snap-decisions", GLib.Variant.new_string("true")); n.set_hint ("x-canonical-snap-decisions-timeout", GLib.Variant.new_int32 (90000)); n.set_hint ("x-canonical-private-affirmative-tint", GLib.Variant.new_string("true")); n.set_hint ("x-canonical-private-rejection-tint", GLib.Variant.new_string("true")); n.set_hint ("x-canonical-non-shaped-icon", GLib.Variant.new_string("true")); Gio.bus_own_name(Gio.BusType.SESSION, APPLICATION_ID, 0, bus_acquired, None, None) return n if __name__ == '__main__': if not Notify.init("sd-example-user-auth"): sys.exit (1) connection = None exported_menu_model_id = 0 exported_action_group_id = 0 login = "" password = "" loop = GLib.MainLoop() n = pushNotification ("Connect to \"linksys\"", "", "image://theme/nm-signal-100") n.connect('closed', quit_callback, loop) n.show () loop.run() unity-notifications-0.1.3+15.10.20151021/examples/assets/0000755000015300001610000000000012611700252023167 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/examples/assets/avatar2.jpg0000644000015300001610000020460212611675634025254 0ustar pbuserpbgroup00000000000000JFIF+ExifII* (1 2;iCanonCanon EOS-1D Mark IVGIMP 2.8.42013:05:17 11:00:43Ralf DeutzmannSuperMoto-Racing.de4<"'d0221DX lt |  41410100# 2010:06:26 16:55:502010:06:26 16:55:50Έ@B ,J 1D( o(HHJFIFC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?-CH_6k"95]wPOaQl[ުR+UJSPPKkH^i$qcP+j[`Pp (ʹI'vu'3X8dWxo&=f'j Qcg2ds R.7I+f]sFҋuy/l۰=Ze$U5yMn54`$ Ntj]žq?՞^*F5x"}CM"~)C׽oGz%g {eX0ɵdIenrG#G"2:X`iKymc9vpkGҹ&]ҹ)pj+ڐSp4TYRb0֨{Wey'Қaj}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J:Xv?SJe(e*J.@?_SW>A5mM)ՔW*95XfRIABq9NkC\uןMMmr0WEkTi'Vt^ +mr|Uqu{#òI2Kvҥ)0#FV5OxKCԷ-ip'ҾcTQ²T6*&4BW89'tpd˶:NzW]Wn8J#6ܘ]1N 5#ǖ f rFIr?֟ќ\o./<1ȁ!C^]FK(-IǘGlw83T{8xhz?]w:G-Vn:~/ PE)RQvFAMsiWCHdnvqiri2ĚKc,I$+Qc<{XnS,n}xִq[xWI4c#c*FGBV^2H\61"945e{֍;Q$9s]iqn#1kv/$RZCii30cN>޺3LK1;ݓvBimYiCt B3MDZB񊫊g*dXBT2E[EMq.kv2ϧׂj]֑% pÑ_Z^_sk}Z kQU8u'̹2oVPx#kv5y lN. k!-٘uNvFh9v:&-riQ:3=ip(0JUȲ# rps]5 C[C\ ci ykw$>UݤVqkƞ"b+Ooi2kTqԥ%&[0QS{\* =jWM0jrRO#4.Y:ǥi$;}ퟙqSGx@kF90U f!dh夙_Hz9dio1O&t 7kQ'=+spPs53MP%[hw1WW lp=A՟NU$OXG"N?D!Ҵ]&,̒,ԚUo08'u(!raN*=iQL9Y9aQ; cH=j'Pyp 88۲sOVpE+&IW8' fb-SE#9Prr95e-c9#d@{}*?M[tfcsWCI?KKsDٖ'*>Z|Ou,uĺU4O8\AQ+R23ʟzOi, K;?NP? [Yam|RSUI@.kI>fMw 8>M{AT=vP;Ncs+ 'K6e|Oo.5h b!v:^bhCec9'۠\ ٔH׼R/%0Xp[umR* H> ?#2Uyp}9Wm(͟z5KXK-hNz~>jw+x,,B??S(V1< WѺeɪi#&1ؐIOS9Eֶ F>٪I$AXb7)QEzx'3čym Canon Canon EOS-1D Mark IV 3000 2000 240/1 240/1 2 3000 2000 Canon Canon EOS-1D Mark IV 240 240 Zoll Adobe Photoshop CS3 Windows 2010:07:01 00:06:59 Ralf Deutzmann SuperMoto-Racing.de (Photograph) - [Keins] (Editor) JPEG Kompression 72 72 Zoll 1/500 sek. f/3,5 optimiert nach Belichtungszeit 100 Exif Version 2.21 2010:06:26 16:55:50 2010:06:26 16:55:50 8,97 EV (1/499 sek.) 3,61 EV (f/3,5) 0,33 EV 3,00 EV (f/2,8) 25,5 m Partiell 300,0 mm 41 41 FlashPix Version 1.0 Interner Fehler (unbekannter Wert 65535) 3795,3488 3904,306 Zoll Normale Verarbeitung Automatische Belichtungzeit Automatischer Weißabgleich Standard 2010-07-01T00:06:59+02:00 2010-06-29T23:12:16+02:00 Rot 2 Adobe Photoshop Lightroom 2010-07-01T00:06:26.015-02:00 530302030 300/1 300/1 0/0 0/0 EF300mm f/2.8L IS USM 142 0 0/1 1.0.6 True image/jpeg Ralf Deutzmann x-default DEU DM Lichtenberg Sachsen Zupin Lichtenberg 31845D64544A3B644E816FE67C579AE8 uuid:1360A69EC283DF118166922E363D31FF 6.1 5.7 As Shot 0 0 0.00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25 50 75 +1.0 25 0 0 0 0 0 0 0 0.0 100 False Linear Embedded D6AF5AEA62557FCE88BC099788BBD3CC LensDefaults True False True XICC_PROFILE HLinomntrRGB XYZ  1acspMSFTIEC sRGB-HP cprtP3desclwtptbkptrXYZgXYZ,bXYZ@dmndTpdmddvuedLview$lumimeas $tech0 rTRC< gTRC< bTRC< textCopyright (c) 1998 Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_. \XYZ L VPWmeassig CRT curv #(-27;@EJOTY^chmrw| %+28>ELRY`gnu| &/8AKT]gqz !-8COZfr~ -;HUcq~ +:IXgw'7HYj{+=Oat 2FZ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& b#s*Ľ0NXE[WW. ]yzb-Dġ"f1@z {zȃ,y`A&--;\`Zn]rᖬWL$$oai ]:H.wߟ3H2j} GV'clT Ć3$w qU;oo̒c%?Y5M\>d> 5 /xήcqH`LLBlb{rڕya54 3D0#g&/SJ MB,kXkzp+3;zF'lkaf @^XpR_  #؎r.X(S֟iʈ| 㦤'mc"(` jCW XN׺sդ5OD M'Sh$-;x,uЬ`ٔ?W 4vE,,Lnb%Q )lޏR騀FwEJɂY2 :cuAC#'% L3ځF4FL#ARH*;mlg="$ +8IENDB`unity-notifications-0.1.3+15.10.20151021/examples/assets/avatar3.jpg0000644000015300001610000015356712611675634025272 0ustar pbuserpbgroup00000000000000JFIFHHAExifII* z(2i #CanonCanon EOS 1000DHH2013:05:17 11:01:39.6"'0221>R fn v  ~|P!2525250100"""8 2012:10:21 13:16:252012:10:21 13:16:25` 7 / jr"z   R  T&(^@2@@ @ @ @ @ !^ -7L7aD,(Canon EOS 1000DFirmware Version 1.0.700Xeu7" #%,t P p0[-7%1.0.76Ddd%ded  4c6 ngKfWWaa%II#  SL=>!KLy  2 P XO [pkqqj ^`Z U ` -- -- -- -- -- -- -- -- -- yW*`'xl CX4pV{P\.Hh2_l   -w >` &*-.3466:/.*;179.))$'(,,0;7;88AM#" $(),.3;=@D9C+)()+)'*#&&$$&1EX>OPY[][bHIAkFMNJ`PPVXaag~pzqqUJHT\]dhqleabc_Y\JMMIHKd]7XUZZ\Y\FC:Q@A9bbYNQQWVYg[^TSZT[SMQVVZ]clmmn[byphc_ZTWHLJA=?JYY>J@CCC@C.-&>&('EYF;=<A@BMCE?>DCMA<=?>ABFLOONDLYQLFA=77'%#!!!,H f.?:-Q & 4qN&wqVRRfqk%c29 uTR 5 k $j3W|q}  }  c{;'S;l'GR980100Z#b#(j#SHHJFIFC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!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72 Zoll 1/640 sek. f/5,6 Kreatives Programm (bevorzugt kurze Belichtungszeit) 400 Exif Version 2.21 2012:10:21 13:16:25 2012:10:21 13:16:25 Y Cb Cr - 9,38 EV (1/663 sek.) 5,00 EV (f/5,7) 0,00 EV Raster 55,0 mm 8016 Byte(s) unbekannte Daten 25 25 25 FlashPix Version 1.0 sRGB 2048 1152 4438,356 4445,969 Zoll Normale Verarbeitung Automatische Belichtungzeit Automatischer Weißabgleich Standard R98 0100 CC!   >O~B(1 !$(FX˱'㕥FڭEùڍk1_7ss2*bD *ލ8U^ЈiK1Xz($g{(ʯT(,?u߉:,fԱmN,Z~qּEknKu9.4̈]U$+/51zR[!QXn7{^rayA;..`%e\p]̡)Ʈ9YC )ĭ!!c`_?)t]'5E6ֳ2lX7B<g-c q6'͐&:^q> lº1uO65֙ q 2x0휮#qx7R;Aq>[&&-홛^n]8g8ZN(cQ`':vPBp9O:.(\jP$/-K8d\HQI¼]\%٩0U"+wq:~$G,Yc]W:9 X)H2XRo?>+bkBרC$&}˺BhL$<(6> d*tX7X3 =c7AJPzz{8ս(۔ g| R$%/ :rqiUY)f ]c7/6;\4ԃ0;ͨib8hh#,{q(X YR-1]k yQ ,spkf21](V*[Y7%i!C 24,ZHMrIru*3dwe}BdM-!?J:KArSz03Z“?*3|t;K=IVA]6Wj%So2IS3P{ *m:>f]mb50pdeFëwrTPLBwt:'}-!Xjs/7j\0l9Q5r0Yҭˠh^yÇϞ}-_Lu8g!zی#JYnkvG&(zV/ hW+%^jn=6<^ͿcU+7r}l@:[%#Nn#ncl{?_C=Q{-W#2`韴ߨ.iMGAd&0eU2RAU^q9"(Ͽ|'.,5F9-Ν6r53u+L !-%-Iߦɓ7^2h+F047k[ܵz>^OU?ǻk$^q.^g'9-l`uݽtFGm3ncqL咵ݠ!O4_~}c ASJ+Wt)1WA^L hb KNMNq(էFϞt_e+|wsxEDͦ_+$I#X{Qh:dTcM9ۜ8V{9*|P0i:/`'ј7f5槗~N*sHntc|kv + my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{[LArϳ-ʆq*o-XtxZ#OG9W-}cXM`h+֊rP䷅֮?j!}0:'\` MA t ^T@ W^q41 a@G~!8*]ǜLIjмȞ;[Uѩ yR9q78<+Zfis~{JGx ό!U9<~@h2T57 ]@1Tz4{㼉0hQt>qE fgx8;X>N9)M%rW.)6!$3Qr>2@֛}w(sβٶˡT HYWgsdNz*Y+/kF1H(llq;4\o13}.D.ِZ;>K8Ѥcz;!cfO5 9w7r9O7xD\; JtY Wt/xY%VjۍJ.sqG>q7OzE|*!2U`؄//i5ɂ]MiK~ ]BceHS7 ]L׬5|VZ gnQUo9xiG񞌌߬H @h]9kp\9Ԃ3|x !d2#y)t{2_" IbFzW ɿxg Fqȡw |ۭ SD I*`W~? d59ϜzI8wpCN>DRp?8>*nm91Cb\°Lw8)vp8&!X:C%t6ɉᡸ0Z(q8ͰҀA< t # ^g{WLlȢ+5w P0.(O.K cX ;mXՙ6ЮPTMVbTj:gUY1*bi"n$ŀ4AM׼T6w R6k%9bҝ_4(ųnͶcih6%Dt|@b ,2bC$C\`},>!z.UR1 y5/(cLJ{eo0ʀ`sö p$xLU5,VWX.-2(z]S$V :ȏ(prK$K{e* nt_,ȶC P43$ ~+VyŁzjc֜U5N)Rxz: NŸgvz#`r+ ,N d-G`1;;T%h7DW*d n)oZ k.PuV^pNYϋV$9'^ TQ9@[N>e`b)=&1'hU:MsNpx:Z|1nKpDSYS`&5E~O%KugXcX䮇$(a0byb[:ڎy,JrGI2v#\M{ZxKP@m6PoBSƚ  ?OYwbfmh'T ܛy!zǧH`Dւh i͡m QN{j^ijÂvMwcߡXpevPv g=UovcԀ-pz#c۪f^ߖK)4blhJɮ"!G5$j7*9r!"FC)SMS~>3cpMݶ~uua:M X>x|k8]\xCn86\/b! xunity-notifications-0.1.3+15.10.20151021/examples/assets/notification-weekday-alarm.svg0000644000015300001610000000351412611675634031141 0ustar pbuserpbgroup00000000000000 unity-notifications-0.1.3+15.10.20151021/examples/assets/avatar2-with-alpha.png0000644000015300001610000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ccc烚H$2JV8IB!HRA&%l6{IR9M&㣏>}8?CLCHRp88r Bv;N'Ο?,,,̙3hkkL&CMM  j5V+}ܺuk@>#қn$ͿYܶm[enZ&,hll?K i ?^(hb|ͣA17 6rG^4r*++qv& )G/'jcqb"K<:Eضmۊ\.yW͞yyS(\+W\IB!IO$ch<˲-6Pee%FuٗbQ__xn꧗L&NQZZ łnDQ7,- {/u!|.YZb2f9{]&m2z}bRK @§att4+ˆ}Y8jzB!x'5dWT<r9Orr AP]]ԜCrC_TiaVd6d2-R @0Z644 ôT*ĄRa֭X[[2j=v;N8ӉBK.T T/0ƍjx饗EX0RRm0 #eN7R.k4***V%Q@O;b\.&&&`0׾5Pv pQ\.j;w* wCL&f1??\.ӉytvvѝxH~z\.0o Ev>/OK)Lw}|>vddY\\^nǝ;w ,ZZZgA֭[D"hii\."t:aXp l qQ qT*B1YRRxnST7ސw$H 1}^f2thmmd1== Պ{`0@&aee7oD.CEE b~?A@ww7&&&(qsOX,Y{ޙ].{1ŗ q_D"Eә0D"aP(2^Vl6L&bǎ|=d2D8˲P*ؽ{7KCdHH?ajR "Rbz~]ޱcǩl6Vinn^yGI<6oX@>L+J* 0 0>>N9ϣxwpe;@0g>ϰ,VTANsbfnOh.~ӟJ)|wkߵk?)WVVFh>鰰r9 d2|߆lɓ'177ANh*QRZv3# "P(?яY{`xx8t:oٲe]鴌.)1<< Ad,~44 ryQ.gJeF~[c5Lf{DIe~tth |0 lVFv1::H$F*~̙3$J2RxR.֌F-[l65n>R_/AJ7bXSf_mV&avj4 B7n`qqn A&!ZmZPU*Ud2 )tf2hL' q_$38BQT*E*JH$2L&R)P0qbX,veA2xnXP(;;;2_ x衇Lv^RXPy^+T<+nb('FeeeexIII`0d~a镗 _FYrKr9o.srMa>4CJra/~ )%HW R5jj Bt:rqQid'A $H A $H A >;7perm:IENDB`unity-notifications-0.1.3+15.10.20151021/examples/assets/icon_message.png0000644000015300001610000000147012611675634026352 0ustar pbuserpbgroup00000000000000PNG  IHDR$$bKGD pHYs  tIME #&r%@JIDATXOS\3-J a!hFRiH VBZj%vτ8ODh"H_PXJ4 RJL؜ik^ssg6os}{w\ꫯ̇KqFpF7#8 >oc,"M vL|abhG 0/'P)yHzRY~][Vuu |mab^}N;yu|TC-%o 3Z&SDzwV,%?UJX̽x.pDzth._!"ƎRSy//g6K鋚q?)%d"06E]s=7[Nt@FW#fViazcʖUcDg܊ 0\!"M4LbE)뀚HIJwte؉bVk&H۰>z) s;9ulHSVGSJUXR>Q@Dz&"uSn[u\e>Ue7EA_P:VpMDh',ZOE+qt\ΰJwu`s6}Y K4{Rcv+|@CڤccoZge4ݵhl תmH[=9c8No3ʻIENDB`unity-notifications-0.1.3+15.10.20151021/examples/assets/avatar4.jpg0000644000015300001610000001307412611675634025257 0ustar pbuserpbgroup00000000000000JFIFHHC     C    c*R@@(6EDZ ̮l| $)#WWltu%DUxŪ­L`65wR-ƲfVqנX,G3阀dϽ^a0ۦy»m;)c_'[w"ִm1Lqy\~V_gYxdk^|oJ5$McV+G|?ݤ}k `yMuKwxyXOr`g k3 >ׄTQ⥲{w<}O6ֱk "ӡZT>#ku7=0u]7T|%),NG\ꫫn]+?;v<`"A<6,n/}Uep P *<󟶏 2RF0^WMD88BKpLAP,"{ .ܥJ2.kf؍1:͌[uN޼w\HmKPjPDT Nǡqts-ϝt"h""!I+! "0#A124@s獊mb)MLRΣ6i&d-&K9:tl.b PZ^w+& R]BW9w"Jgʹ$Q+BԝZV8=8_|m Þt[|uYV]=US\RM鲼 5w,LRo@҃. Mi}' -ݳW6GT~jI_=؝ْE= %EU0xG;~SszĒ?ߩ3y Rg ֵWx.‰=؇XUX蘸DaK ku^^) szv'-ɎZm!jԔxu]AUيbcHɣy~"O!v ѧfWXiSZokZګŃe\vS -bFͭ{O~4\/]o{-Uë#Q9CӟLp26)r)}mI1<8dOk t(3j/ WcM? Y;DpIJS 4ϫn0>A}kUYyg86G[9>N>-A;n{>V9BPpstd_US%yź<0+W:&I6>WsɰF8tp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ӂQpbvDZ&]WZ٣0Ep;r 6ߧ8ÐL:>|*#GأxMܞ `09>~MQFoִk6Za0]LDj";ǶxJ> 6EOº>%}Op[UZy b(xDNϴmԣʛI W#퍾A(QgdI{H^ շSQO bOY~$NpAUK+2DR|MS.8Cot}N8[6FT!Fd@cU׼IOxpeov-?a6q##p}=zȁt~z+pܔ~! tvąE_¦~gSAzg-]ᛈ ysk 2u?˗F@T'}o&/\+J9+OXxq 5jdcGp >z8@zj ҁLGb;N0n|zU/W?C]*SεF-&<+3=RVlbsJil: ݎS%8?b1Z0䨟gyq,s_6hrst"r-[0V,EӋ@wG7 /W= W 0gǝDpFCY.tMOP(蘬7<k%=>{@o6@TZxggunity-notifications-0.1.3+15.10.20151021/examples/assets/icon_phone.png0000644000015300001610000000075612611675634026045 0ustar pbuserpbgroup00000000000000PNG  IHDR$$bKGD pHYs  tIME $.3^{IDATXq@ L J;p:p "N͑ pq)!t@"2adЅ-7Jj3L/sۆHG2@U `FsH Xȋ19cOi9D9f?ijs3`2L J+h0Dp}*k-ZɉT/wY@Te \%:.ܲ͘LO9@RM_`\@$>,iƈ`87r"u^R՗v3{);qY<,w EU{ΘLD9t ;J֑]`rmH-MGhՕŁdL`ƌRVtw;Θ֑Șuj.ʴGIENDB`unity-notifications-0.1.3+15.10.20151021/examples/urgent-urgency.py0000755000015300001610000000341512611675634025242 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x urgent-urgency.py ## ./urgent-urgency.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("urgent-urgency"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the icon-summary-body case n = pynotify.Notification ("Cole Raby", "Dude, this is so urgent you have no idea :)", os.getcwd() + "/assets/avatar4.jpg") n.set_urgency (pynotify.URGENCY_CRITICAL) n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/non-shaped-icon-summary-body.py0000755000015300001610000000370012611675634027671 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x non-shaped-icon-summary-body.py ## ./non-shaped-icon-summary-body.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("non-shaped-icon-summary-body"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the icon-summary-body case n = pynotify.Notification ("Bro Coly", "Hey pal, what's up with the party " "next weekend? Will you join me " "and Anna?", os.getcwd() + "/assets/avatar2-with-alpha.png") n.set_hint_string ("x-canonical-secondary-icon", "message") n.set_hint_string ("x-canonical-non-shaped-icon", "true") n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/update-notifications.py0000755000015300001610000000513312611675634026414 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x update-notifications.py ## ./update-notifications.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import time import pynotify import example if __name__ == '__main__': if not pynotify.init ("update-notifications"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # try the icon-summary-body case n = pynotify.Notification ( "Inital notification (1. notification)", "This is the original content of this notification-bubble.", os.getcwd() + "/assets/avatar1.jpg") n.show () time.sleep (2); # simulate app activity # update the current notification with new content n.update ("Updated notification (1. notification)", "Here the same bubble with new title- and body-text, even the icon can be changed on the update.", os.getcwd() + "/assets/avatar2.jpg") n.show (); time.sleep (4); # wait longer now # create a new bubble using the icon-summary-body layout n = pynotify.Notification ( "Initial layout (2. notification)", "This bubble uses the icon-title-body layout with a secondary icon.", os.getcwd() + "/assets/avatar3.jpg") n.set_hint_string ("x-canonical-secondary-icon", "message"); n.show () time.sleep (2); # simulate app activity # now update current bubble again, but change the layout n.clear_hints() n.update ("Updated layout (2. notification)", "After the update we now have a bubble using the title-body layout.", " ") n.show () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-using-button-tint-hint.py0000755000015300001610000000606312611675634030675 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly and at the same time comply to ## the new jaunty notification spec (read: visual guidelines) ## ## Run: ## chmod +x sd-example-using-button-tint-hint.py ## ./sd-example-using-button-tint-hint.py ## ## Copyright 2012 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import time import pynotify import gobject import example def action_decline (notification, action): if action == "decline_id": print "Declined" else: print "That should not have happened (action_decline)!" def action_ok (notification, action): if action == "ok_id": print "Ok" else: print "That should not have happened (action_ok)!" def pushNotification (title, body, icon): n = pynotify.Notification (title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("ok_id", "Ok", action_ok); n.add_action ("decline_id", "Cancel", action_decline); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint_string ("x-canonical-snap-decisions", "true"); # set the button-tint hint so that the right/positive button is tinted and # not using the stock clear-color n.set_hint_string ("x-canonical-private-affirmative-tint", "true"); n.set_hint_string ("x-canonical-private-rejection-tint", "true"); n.set_hint_string ("x-canonical-non-shaped-icon", "true"); n.show () return n if __name__ == '__main__': if not pynotify.init ("sd-example-using-button-tint-hint"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-private-affirmative-tint'] \ and not example.capabilities['x-canonical-private-rejection-tint'] \ and not example.capabilities['x-canonical-snap-decisions']: sys.exit (2) loop = gobject.MainLoop () n = pushNotification ("Question", "Would you say Ok or Cancel?", "search") n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-much-body-text.py0000755000015300001610000000653712611675634027202 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly and at the same time comply to ## the new jaunty notification spec (read: visual guidelines) ## ## Run: ## chmod +x sd-example-much-body-text.py ## ./sd-example-much-body-text.py ## ## Copyright 2012 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import time import pynotify import gobject import example def action_decline (notification, action): if action == "decline_id": print "Declined" else: print "That should not have happened (action_decline)!" def action_ok (notification, action): if action == "ok_id": print "Ok" else: print "That should not have happened (action_ok)!" def pushNotification (title, body, icon): n = pynotify.Notification (title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("ok_id", "Ok", action_ok); n.add_action ("decline_id", "Cancel", action_decline); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint_string ("x-canonical-snap-decisions", "true"); # set the button-tint hint so that the right/positive button is tinted and # not using the stock clear-color n.set_hint_string ("x-canonical-private-affirmative-tint", "true"); n.set_hint_string ("x-canonical-private-rejection-tint", "true"); n.set_hint_string ("x-canonical-non-shaped-icon", "true"); n.show () return n if __name__ == '__main__': if not pynotify.init ("sd-example-much-body-text"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-private-affirmative-tint'] \ and not example.capabilities['x-canonical-private-rejection-tint'] \ and not example.capabilities['x-canonical-snap-decisions']: sys.exit (2) loop = gobject.MainLoop () n = pushNotification ("Uses much text", "Lorem ipsum dolor sit amet," " consetetur sadipscing elitr," " sed diam nonumy eirmod tempor" " invidunt ut labore et dolore" " magna aliquyam erat, sed diam" " voluptua. At vero eos et accusam" " et justo duo dolores et ea rebum." " Stet clita kasd gubergren, no sea" " takimata sanctus est Lorem ipsum" " dolor sit amet.", "message") n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/summary-body.py0000755000015300001610000000336312611675634024716 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly and at the same time comply to ## the new jaunty notification spec (read: visual guidelines) ## ## Run: ## chmod +x summary-body.py ## ./summary-body.py ## ## Copyright 2009 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("summary-body"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the summary-body case n = pynotify.Notification ("Totem", "This is a superfluous notification") n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/icon-value.py0000755000015300001610000000643212611675634024330 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x icon-value.py ## ./icon-value.py ## ## Copyright 2014 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import sys import time import pynotify import example def pushNotification (icon, value): n = pynotify.Notification ("Volume", # for a11y-reasons supply something meaning full "", # this needs to be empty! icon); n.set_hint_int32 ("value", value); n.set_hint_string ("x-canonical-private-synchronous", "true"); n.set_hint_string ("x-canonical-non-shaped-icon", "true"); n.show () return n def updateNotification (n, icon, value): n.clear_hints() n.update("Volume", # for a11y-reasons supply something meaning full ("", "High Volume")[bool(value > 75)], icon); n.set_hint_int32 ("value", value); if value > 75: n.set_hint_string ("x-canonical-value-bar-tint", "true"); n.set_hint_string ("x-canonical-private-synchronous", "true"); n.set_hint_string ("x-canonical-non-shaped-icon", "true"); n.show () if __name__ == '__main__': if not pynotify.init ("icon-value"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # try the icon-value case if example.capabilities['x-canonical-private-synchronous'] and \ example.capabilities['x-canonical-non-shaped-icon'] and \ example.capabilities['value'] and \ example.capabilities['x-canonical-value-bar-tint']: n = pushNotification ("audio-volume-muted", 0); time.sleep (1) updateNotification (n, "audio-volume-low", 25); time.sleep (1) updateNotification (n, "audio-volume-medium", 50); time.sleep (1) updateNotification (n, "audio-volume-high", 76); time.sleep (1) updateNotification (n, "audio-volume-high", 100); time.sleep (1) # trigger "overshoot"-effect updateNotification (n, "audio-volume-high", 100); time.sleep (1) updateNotification (n, "audio-volume-high", 76); time.sleep (1) updateNotification (n, "audio-volume-medium", 50); time.sleep (1) updateNotification (n, "audio-volume-low", 25); time.sleep (1) updateNotification (n, "audio-volume-muted", 0); time.sleep (1) else: print "The daemon does not support the x-canonical-private-icon-only, x-canonical-non-shaped-icon, value and value-hint hints!" unity-notifications-0.1.3+15.10.20151021/examples/interactive-notification.py0000755000015300001610000000434712611675634027272 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x interactive-notification.py ## ./interactive-notification.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example def action_callback (notification, action): if action == "action_id": print "Triggering action" else: print "That should not have happened (action_id)!" def pushNotification (icon, value): n = pynotify.Notification ("Interactive notification", "Click this notification to trigger the attached action.", icon); n.set_hint_string ("x-canonical-switch-to-application", value); n.set_hint_string ("x-canonical-secondary-icon", "message"); n.add_action ("action_id", "dummy", action_callback); return n if __name__ == '__main__': if not pynotify.init ("interactive-notification"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # try the icon-summary-body case loop = gobject.MainLoop () n = pushNotification (os.getcwd() + "/assets/avatar4.jpg", "true") n.connect ("closed", example.closedHandler, loop) n.show () loop.run () unity-notifications-0.1.3+15.10.20151021/examples/example.py0000755000015300001610000001252612611675634023722 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly and at the same time comply to ## the new jaunty notification spec (read: visual guidelines) ## ## Run: ## chmod +x example.py ## ./example.py ## ## Copyright 2012 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import pynotify # even in Python this is globally nasty :), do something nicer in your own code capabilities = {'actions': False, 'body': False, 'body-hyperlinks': False, 'body-images': False, 'body-markup': False, 'icon-multi': False, 'icon-static': False, 'sound': False, 'sound-file': False, 'suppress-sound': False, 'image/svg+xml': False, 'urgency': False, 'value': False, 'x-canonical-value-bar-tint': False, 'x-canonical-private-synchronous': False, 'x-canonical-private-icon-only': False, 'x-canonical-truncation': False, 'x-canonical-snap-decisions': False, 'x-canonical-snap-decisions-timeout': False, 'x-canonical-snap-decisions-swipe': False, 'x-canonical-switch-to-application': False, 'x-canonical-secondary-icon': False, 'x-canonical-private-affirmative-tint': False, 'x-canonical-private-rejection-tint': False, 'x-canonical-private-menu-model': False, 'x-canonical-non-shaped-icon': False} def initCaps (): caps = pynotify.get_server_caps () if caps is None: print "Failed to receive server caps." sys.exit (1) for cap in caps: capabilities[cap] = True def printCaps (): info = pynotify.get_server_info () print "Name: " + info["name"] print "Vendor: " + info["vendor"] print "Version: " + info["version"] print "Spec. Version: " + info["spec-version"] caps = pynotify.get_server_caps () if caps is None: print "Failed to receive server caps." sys.exit (1) print "Supported capabilities/hints:" if capabilities['actions']: print "\tactions" if capabilities['body']: print "\tbody" if capabilities['body-hyperlinks']: print "\tbody-hyperlinks" if capabilities['body-images']: print "\tbody-images" if capabilities['body-markup']: print "\tbody-markup" if capabilities['icon-multi']: print "\ticon-multi" if capabilities['icon-static']: print "\ticon-static" if capabilities['sound']: print "\tsound" if capabilities['sound-file']: print "\tsound-file" if capabilities['suppress-sound']: print "\tsuppress-sound" if capabilities['urgency']: print "\turgency" if capabilities['value']: print "\tvalue" if capabilities['x-canonical-value-bar-tint']: print "\tx-canonical-value-bar-tint" if capabilities['image/svg+xml']: print "\timage/svg+xml" if capabilities['x-canonical-private-synchronous']: print "\tx-canonical-private-synchronous" if capabilities['x-canonical-private-icon-only']: print "\tx-canonical-private-icon-only" if capabilities['x-canonical-truncation']: print "\tx-canonical-truncation" if capabilities['x-canonical-snap-decisions']: print "\tx-canonical-snap-decisions" if capabilities['x-canonical-snap-decisions-timeout']: print "\tx-canonical-snap-decisions-timeout" if capabilities['x-canonical-snap-decisions-swipe']: print "\tx-canonical-snap-decisions-swipe" if capabilities['x-canonical-switch-to-application']: print "\tx-canonical-switch-to-application" if capabilities['x-canonical-secondary-icon']: print "\tx-canonical-secondary-icon" if capabilities['x-canonical-private-affirmative-tint']: print "\tx-canonical-private-affirmative-tint" if capabilities['x-canonical-private-rejection-tint']: print "\tx-canonical-private-rejection-tint" if capabilities['x-canonical-private-menu-model']: print "\tx-canonical-private-menu-model" if capabilities['x-canonical-non-shaped-icon']: print "\tx-canonical-non-shaped-icon" print "Notes:" if info["name"] == "notify-osd": print "\tx- and y-coordinates hints are ignored" print "\texpire-timeout is ignored" print "\tbody-markup is accepted but filtered" else: print "\tnone" def closedHandler (notification, loop): print "\"closed\"-handler called" loop.quit () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-incoming-call.py0000755000015300001610000001043712611675634027037 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sd-example-incoming-call.py ## ./sd-example-incoming-call.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import time import pynotify import gobject import example def action_decline_1 (notification, action): if action == "action_decline_1": print "End + Answer" else: print "That should not have happened (action_decline_1)!" def action_decline_2 (notification, action): if action == "action_decline_2": print "Decline" else: print "That should not have happened (action_decline_2)!" def action_decline_3 (notification, action): if action == "action_decline_3": print "I missed your call - can you call me now?" else: print "That should not have happened (action_decline_3)!" def action_decline_4 (notification, action): if action == "action_decline_4": print "I'm running late. I'm on my way." else: print "That should not have happened (action_decline_4)!" def action_decline_5 (notification, action): if action == "action_decline_5": print "I'm busy at the moment. I'll call later." else: print "That should not have happened (action_decline_5)!" def action_decline_6 (notification, action): if action == "action_decline_6": print "Custom" else: print "That should not have happened (action_decline_6)!" def action_accept (notification, action): if action == "action_accept": print "Hold + Answer" else: print "That should not have happened (action_accept)!" def pushNotification (title, body, icon): n = pynotify.Notification (title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("action_accept", "Hold + Answer", action_accept); n.add_action ("action_decline_1", "End + Answer", action_decline_1); n.add_action ("action_decline_2", "Decline", action_decline_2); n.add_action ("action_decline_3", "message:I missed your call - can you call me now?", action_decline_3); n.add_action ("action_decline_4", "message:I'm running late. I'm on my way.", action_decline_4); n.add_action ("action_decline_5", "message:I'm busy at the moment. I'll call later.", action_decline_5); n.add_action ("action_decline_6", "edit:Custom", action_decline_6); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint_string ("x-canonical-snap-decisions", "true"); n.set_hint_string ("x-canonical-snap-decisions-swipe", "true"); n.set_hint_string ("x-canonical-private-affirmative-tint", "true"); n.set_hint_string ("x-canonical-private-rejection-tint", "true"); n.set_hint_string ("x-canonical-secondary-icon", "incoming-call"); n.set_urgency (pynotify.URGENCY_CRITICAL) n.show () return n if __name__ == '__main__': if not pynotify.init ("sd-example-incoming-call"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-snap-decisions']: sys.exit (2) loop = gobject.MainLoop () n = pushNotification ("Incoming call", "Frank Zappa\n+44 (0)7736 027340", os.getcwd() + "/assets/avatar4.jpg") n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-morning-alarm.py0000755000015300001610000000540612611675634027066 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sd-example-morning-alarm.py ## ./sd-example-morning-alarm.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import time import pynotify import gobject import example def action_snooze (notification, action): if action == "snooze": print "You want to snooze some more you lazy bastard!" else: print "That should not have happened (action_snooze)!" def action_ok (notification, action): if action == "ok": print "Getting up is the right thing to do... good for you!" else: print "That should not have happened (action_ok)!" def pushNotification (title, body, icon): n = pynotify.Notification (title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("ok", "Ok", action_ok); n.add_action ("snooze", "Snooze", action_snooze); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint_string ("x-canonical-snap-decisions", "true"); n.set_hint_string ("x-canonical-non-shaped-icon", "true"); n.set_hint_string ("x-canonical-private-affirmative-tint", "true"); n.show () return n if __name__ == '__main__': if not pynotify.init ("sd-example-morning-alarm"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-snap-decisions']: sys.exit (2) loop = gobject.MainLoop () n = pushNotification ("Morning alarm", "It's 6:30... time to get up!", "alarm-clock") n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/low-urgency.py0000755000015300001610000000340112611675634024532 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x low-urgency.py ## ./low-urgency.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("low-urgency"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the icon-summary-body case n = pynotify.Notification ("Gerhard Gepard", "No, I'd rather see paint dry, pal *yawn*", os.getcwd() + "/assets/avatar3.jpg") n.set_urgency (pynotify.URGENCY_LOW) n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-password-entry.py0000755000015300001610000001224612611675634027324 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sd-example-password-entry.py ## ./sd-example-password-entry.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys from gi.repository import Gio, GLib, Notify APPLICATION_ID = 'com.canonical.snapdecisions' PASSWORD_MENU_PATH = '/com/canonical/snapdecisions/password' PASSWORD_ACTION_PATH = '/com/canonical/snapdecisions/password' def quit_callback(notification, loop): global connection global exported_action_group_id global exported_menu_model_id connection.unexport_action_group (exported_action_group_id) connection.unexport_menu_model (exported_menu_model_id) loop.quit() def cancel (notification, action, data): if action == "cancel": print "Cancel" else: print "That should not have happened (cancel)!" def connect (notification, action, data): if action == "connect": global password print "password entered: " + password else: print "That should not have happened (connect)!" def password_changed (action, variant): global password password = variant.get_string(); def bus_acquired(bus, name): # menu menu = Gio.Menu(); password_item = Gio.MenuItem.new ("Password:", "notifications.password"); password_item.set_attribute_value ("x-canonical-type", GLib.Variant.new_string("com.canonical.snapdecision.textfield")); password_item.set_attribute_value ('x-echo-mode-password', GLib.Variant.new_boolean(True)) menu.append_item (password_item); # actions actions = Gio.SimpleActionGroup.new(); password_action = Gio.SimpleAction.new_stateful("password", GLib.VariantType.new("s"), GLib.Variant.new_string("")); password_action.connect ("change-state", password_changed); actions.insert (password_action); global connection connection = bus global exported_action_group_id exported_action_group_id = connection.export_action_group(PASSWORD_ACTION_PATH, actions) global exported_menu_model_id exported_menu_model_id = connection.export_menu_model(PASSWORD_MENU_PATH, menu) def pushNotification (title, body, icon): n = Notify.Notification.new(title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("connect", "Connect", connect, None, None); n.add_action ("cancel", "Cancel", cancel, None, None); # create the menu-model menu_model_actions = GLib.VariantBuilder.new (GLib.VariantType.new ("a{sv}")); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("notifications"), GLib.Variant.new_variant(GLib.Variant.new_string(PASSWORD_ACTION_PATH))); menu_model_actions.add_value (entry); menu_model_paths = GLib.VariantBuilder.new (GLib.VariantType.new ("a{sv}")); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("busName"), GLib.Variant.new_variant(GLib.Variant.new_string(APPLICATION_ID))); menu_model_paths.add_value (entry); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("menuPath"), GLib.Variant.new_variant(GLib.Variant.new_string(PASSWORD_MENU_PATH))); menu_model_paths.add_value (entry); entry = GLib.Variant.new_dict_entry(GLib.Variant.new_string("actions"), GLib.Variant.new_variant(menu_model_actions.end())); menu_model_paths.add_value (entry); n.set_hint ("x-canonical-private-menu-model", menu_model_paths.end ()); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint ("x-canonical-snap-decisions", GLib.Variant.new_string("true")); n.set_hint ("x-canonical-snap-decisions-timeout", GLib.Variant.new_int32(90000)); n.set_hint ("x-canonical-private-affirmative-tint", GLib.Variant.new_string("true")); n.set_hint ("x-canonical-private-rejection-tint", GLib.Variant.new_string("true")); n.set_hint ("x-canonical-non-shaped-icon", GLib.Variant.new_string("true")); Gio.bus_own_name(Gio.BusType.SESSION, APPLICATION_ID, 0, bus_acquired, None, None) return n if __name__ == '__main__': if not Notify.init("sd-example-password-entry"): sys.exit (1) connection = None exported_menu_model_id = 0 exported_action_group_id = 0 password = "" loop = GLib.MainLoop() n = pushNotification ("Connect to \"linksys\"", "", "image://theme/nm-signal-100") n.connect('closed', quit_callback, loop) n.show () loop.run() unity-notifications-0.1.3+15.10.20151021/examples/sound.py0000755000015300001610000000347512611675634023422 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sound.py ## ./sound.py ## ## Copyright 2014 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("sound"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the sound support n = pynotify.Notification ("Lotsof N. Oise", "With the popping up of this notification, you should hear a sound being played.", os.getcwd() + "/assets/avatar2.jpg") n.set_hint_string ("sound-file", "/usr/share/sounds/ubuntu/stereo/desktop-login.ogg") n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/normal-urgency.py0000755000015300001610000000347612611675634025235 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x normal-urgency.py ## ./normal-urgency.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("normal-urgency"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the icon-summary-body case n = pynotify.Notification ("Cole Raby", "Hey pal, what's up with the party " "next weekend? Will you join me " "and Anna?", os.getcwd() + "/assets/avatar2.jpg") n.set_urgency (pynotify.URGENCY_NORMAL) n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/sd-example-incoming-call-canceled.py0000755000015300001610000001125112611675634030566 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x sd-example-incoming-call-canceled.py ## ./sd-example-incoming-call-canceled.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import time import pynotify import gobject import example def action_decline_1 (notification, action): if action == "action_decline_1": print "Hang up" else: print "That should not have happened (action_decline_1)!" def action_decline_2 (notification, action): if action == "action_decline_2": print "Reject with SMS" else: print "That should not have happened (action_decline_2)!" def action_decline_3 (notification, action): if action == "action_decline_3": print "Dude, my wife is here!" else: print "That should not have happened (action_decline_3)!" def action_decline_4 (notification, action): if action == "action_decline_4": print "I'm sleeping." else: print "That should not have happened (action_decline_4)!" def action_decline_5 (notification, action): if action == "action_decline_5": print "No time... I'm riding!" else: print "That should not have happened (action_decline_5)!" def action_decline_6 (notification, action): if action == "action_decline_6": print "Send SMS..." else: print "That should not have happened (action_decline_6)!" def action_accept (notification, action): if action == "action_accept": print "Picking up the phone" else: print "That should not have happened (action_accept)!" def pushNotification (title, body, icon): n = pynotify.Notification (title, body, icon); # NOTE: the order in which actions are added is important... positive # always comes first! n.add_action ("action_accept", "Pick up", action_accept); n.add_action ("action_decline_1", "Hang up", action_decline_1); n.add_action ("action_decline_2", "Reject with SMS", action_decline_2); n.add_action ("action_decline_3", "message:Dude, my wife is here!", action_decline_3); n.add_action ("action_decline_4", "message:I'm sleeping.", action_decline_4); n.add_action ("action_decline_5", "message:No time... I'm riding!", action_decline_5); n.add_action ("action_decline_6", "edit:Send SMS...", action_decline_6); # indicate to the notification-daemon, that we want to use snap-decisions n.set_hint_string ("x-canonical-snap-decisions", "true"); n.set_hint_string ("x-canonical-snap-decisions-swipe", "true"); n.set_hint_string ("x-canonical-secondary-icon", "incoming-call"); # set the button-tint hint so that the right/positive button is tinted and # not using the stock clear-color n.set_hint_string ("x-canonical-private-affirmative-tint", "true"); n.set_hint_string ("x-canonical-private-rejection-tint", "true"); n.set_urgency (pynotify.URGENCY_CRITICAL) n.show () return n def hung_up_timeout (notification): print "Application is hanging up now" notification.close () if __name__ == '__main__': if not pynotify.init ("sd-example-incoming-call-canceled"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () # be nice and check for required capabilities if not example.capabilities['x-canonical-private-affirmative-tint'] and not example.capabilities['x-canonical-private-rejection-tint'] and not example.capabilities['x-canonical-snap-decisions']: sys.exit (2) loop = gobject.MainLoop () n = pushNotification ("Incoming call", "Bro Coly\n+1 (0)555-27439", os.getcwd() + "/assets/avatar3.jpg") n.connect ("closed", example.closedHandler, loop) # simulate caller hanging up before phone is picked up timeout_id = gobject.timeout_add (3000, hung_up_timeout, n) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/suppress-sound.py0000755000015300001610000000361712611675634025302 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x suppress-sound.py ## ./suppress-sound.py ## ## Copyright 2014 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("suppress-sound"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try suppress-sound support n = pynotify.Notification ("Lotsof N. Oise", "With the popping up of this notification, you should NOT hear a sound being played.", os.getcwd() + "/assets/avatar2.jpg") n.set_hint_string ("sound-file", "/usr/share/sounds/ubuntu/stereo/desktop-login.ogg") n.set_hint_string ("suppress-sound", "true") n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/examples/icon-summary.py0000755000015300001610000000340412611675634024705 0ustar pbuserpbgroup00000000000000#!/usr/bin/python ################################################################################ ##3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 ## 10 20 30 40 50 60 70 80 ## ## Info: ## Example of how to use libnotify correctly ## ## Run: ## chmod +x icon-summary.py ## ./icon-summary.py ## ## Copyright 2013 Canonical Ltd. ## ## Author: ## Mirco "MacSlow" Mueller ## ## This program is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License version 3, as published ## by the Free Software Foundation. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranties of ## MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR ## PURPOSE. See the GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License along ## with this program. If not, see . ## ################################################################################ import os import sys import pynotify import gobject import example if __name__ == '__main__': if not pynotify.init ("icon-summary"): sys.exit (1) # call this so we can savely use capabilities dictionary later example.initCaps () # show what's supported example.printCaps () loop = gobject.MainLoop () # try the icon-summary case n = pynotify.Notification ("Upload of image completed", "", os.getcwd() + "/assets/icon_facebook.png") n.set_hint_string ("x-canonical-non-shaped-icon", "true") n.show () n.connect ("closed", example.closedHandler, loop) loop.run () unity-notifications-0.1.3+15.10.20151021/src/0000755000015300001610000000000012611700252020636 5ustar pbuserpbgroup00000000000000unity-notifications-0.1.3+15.10.20151021/src/NotificationServer.cpp0000644000015300001610000003020112611675647025176 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationModel.h" #include "NotificationServer.h" #include "Notification.h" #include #include #include #include #include static const char* LOCAL_OWNER = "local"; static bool isAuthorised(const QString& clientId, QSharedPointer notification) { return (clientId == LOCAL_OWNER) || (notification->getClientId() == clientId); } NotificationServer::NotificationServer(const QDBusConnection& connection, NotificationModel &m, QObject *parent) : QObject(parent), model(m), idCounter(0), m_connection(connection) { DBusTypes::registerNotificationMetaTypes(); // Memory managed by Qt new NotificationsAdaptor(this); m_watcher.setConnection(m_connection); m_watcher.setWatchMode(QDBusServiceWatcher::WatchForUnregistration); connect(&m_watcher, &QDBusServiceWatcher::serviceUnregistered, this, &NotificationServer::serviceUnregistered); connect(this, SIGNAL(dataChanged(unsigned int)), &m, SLOT(onDataChanged(unsigned int))); if(!m_connection.registerObject(DBUS_PATH, this)) { qWarning() << "Could not register to DBus object."; } QDBusConnectionInterface *iface = m_connection.interface(); auto reply = iface->registerService(DBUS_SERVICE_NAME, QDBusConnectionInterface::ReplaceExistingService, QDBusConnectionInterface::DontAllowReplacement); if(!reply.isValid() || reply.value() != QDBusConnectionInterface::ServiceRegistered) { qWarning() << "Notification DBus name already taken."; } } NotificationServer::~NotificationServer() { m_connection.unregisterService(DBUS_SERVICE_NAME); } void NotificationServer::invokeAction(unsigned int id, const QString &action) { Q_EMIT ActionInvoked(id, action); } QStringList NotificationServer::GetCapabilities() const { QStringList capabilities; capabilities.push_back("actions"); capabilities.push_back("body"); capabilities.push_back("body-markup"); capabilities.push_back("icon-static"); capabilities.push_back("image/svg+xml"); capabilities.push_back(VALUE_HINT); capabilities.push_back(VALUE_TINT_HINT); capabilities.push_back(URGENCY_HINT); capabilities.push_back(SOUND_HINT); capabilities.push_back(SUPPRESS_SOUND_HINT); capabilities.push_back(SYNCH_HINT); capabilities.push_back(ICON_ONLY_HINT); capabilities.push_back(AFFIRMATIVE_TINT_HINT); capabilities.push_back(REJECTION_TINT_HINT); capabilities.push_back(TRUNCATION_HINT); capabilities.push_back(SNAP_HINT); capabilities.push_back(SECONDARY_ICON_HINT); capabilities.push_back(NON_SHAPED_ICON_HINT); capabilities.push_back(MENU_MODEL_HINT); capabilities.push_back(INTERACTIVE_HINT); capabilities.push_back(TIMEOUT_HINT); capabilities.push_back(SWIPE_HINT); return capabilities; } NotificationDataList NotificationServer::GetNotifications(const QString &app_name) { NotificationDataList results; for (auto notification: model.getAllNotifications()) { NotificationData data; data.appName = app_name; data.id = notification->getID(); data.appIcon = notification->getIcon(); data.summary = notification->getSummary(); data.body = notification->getBody(); data.actions = notification->getActions()->getRawActions(); data.hints = notification->getHints(); data.expireTimeout = notification->getDisplayTime(); results << data; } return results; } QSharedPointer NotificationServer::buildNotification(NotificationID id, const QVariantMap &hints) { int expireTimeout = 0; Notification::Urgency urg = Notification::Urgency::Low; if(hints.find(URGENCY_HINT) != hints.end()) { QVariant u = hints[URGENCY_HINT]; if(!u.canConvert(QVariant::Int)) { fprintf(stderr, "Invalid urgency value.\n"); } else { urg = (Notification::Urgency) u.toInt(); } } Notification::Type ntype = Notification::Type::Ephemeral; expireTimeout = 5000; if(hints.find(SYNCH_HINT) != hints.end()) { expireTimeout = 3000; ntype = Notification::Type::Confirmation; } else if (hints.find(SNAP_HINT) != hints.end()) { QVariant u = hints[TIMEOUT_HINT]; if(!u.canConvert(QVariant::Int)) { expireTimeout = 60000; } else { expireTimeout = u.toInt(); } ntype = Notification::Type::SnapDecision; } else if(hints.find(INTERACTIVE_HINT) != hints.end()) { ntype = Notification::Type::Interactive; expireTimeout = 5000; } QSharedPointer n(new Notification(id, expireTimeout, urg, ntype, this), &QObject::deleteLater); connect(n.data(), SIGNAL(dataChanged(unsigned int)), this, SLOT(onDataChanged(unsigned int))); connect(n.data(), SIGNAL(completed(unsigned int)), this, SLOT(onCompleted(unsigned int))); return n; } void NotificationServer::incrementCounter() { idCounter++; // Spec forbids zero as return value. if(idCounter == 0) { idCounter = 1; } } QString NotificationServer::messageSender() { QString sender(LOCAL_OWNER); if (calledFromDBus()) { sender = message().service(); } return sender; } bool NotificationServer::isCmdLine() { if (!calledFromDBus()) { return false; } QString sender = message().service(); uint pid = connection().interface()->servicePid(sender); QString path = QDir(QString("/proc/%1/exe").arg(pid)).canonicalPath(); return (path == "/usr/bin/notify-send"); } void NotificationServer::serviceUnregistered(const QString &clientId) { m_watcher.removeWatchedService(clientId); auto notifications = model.removeAllNotificationsForClient(clientId); for (auto notification: notifications) { Q_EMIT NotificationClosed(notification->getID(), 1); } } unsigned int NotificationServer::Notify(const QString &app_name, uint replaces_id, const QString &app_icon, const QString &summary, const QString &body, const QStringList &actions, const QVariantMap &hints, int expire_timeout) { const unsigned int FAILURE = 0; const int minActions = 4; const int maxActions = 14; //QImage icon(app_icon); int currentId = 0; bool newNotification = true; QString clientId = messageSender(); QSharedPointer notification; if (replaces_id != 0) { if (model.hasNotification(replaces_id)) { newNotification = false; notification = model.getNotification(replaces_id); if (!isAuthorised(clientId, notification)) { auto message = QString::fromUtf8( "Client '%1' tried to update notification %2, which it does not own.").arg( clientId).arg(replaces_id); qWarning() << message; sendErrorReply(QDBusError::InvalidArgs, message); return FAILURE; } } else { notification = buildNotification(replaces_id, hints); } currentId = replaces_id; } else { incrementCounter(); while (model.hasNotification(idCounter)) { incrementCounter(); } notification = buildNotification(idCounter, hints); currentId = idCounter; } Q_ASSERT(notification); if(notification->getType() == Notification::Type::Interactive) { int numActions = actions.size(); if(numActions != 2) { sendErrorReply( QDBusError::InvalidArgs, QString::fromUtf8( "Wrong number of actions for an interactive notification. Has %1, requires 2.").arg( numActions)); return FAILURE; } notification->setActions(actions); } // Do this first because it can fail. In case we are updating an // existing notification exiting now means all old state is // preserved. if(notification->getType() == Notification::Type::SnapDecision) { int numActions = actions.size(); if(numActions < minActions) { if (hints.find(MENU_MODEL_HINT) == hints.end()) { sendErrorReply( QDBusError::InvalidArgs, QString::fromUtf8( "Too few strings for Snap Decisions. Has %1, requires %2.").arg( numActions).arg(minActions)); return FAILURE; } } if(numActions > maxActions) { sendErrorReply( QDBusError::InvalidArgs, QString::fromUtf8( "Too many strings for Snap Decisions. Has %1, maximum %2.").arg( numActions).arg(maxActions)); return FAILURE; } if(numActions % 2 != 0) { sendErrorReply( QDBusError::InvalidArgs, QString::fromUtf8( "Number of actions must be even, not odd.")); return FAILURE; } notification->setActions(actions); } notification->setBody(body); notification->setIcon(app_icon); notification->setSummary(summary); QVariantMap notifyHints; for (auto iter = hints.constBegin(), end = hints.constEnd(); iter != end; ++iter) { notifyHints[iter.key()] = iter.value(); } notification->setHints(notifyHints); QVariant secondaryIcon = hints[SECONDARY_ICON_HINT]; notification->setSecondaryIcon(secondaryIcon.toString()); QVariant value = hints[VALUE_HINT]; notification->setValue(value.toInt()); notification->setClientId(clientId); if (newNotification) { // Don't clean up after the command line client closes if (!isCmdLine()) { m_watcher.addWatchedService(clientId); } model.insertNotification(notification); } else { model.notificationUpdated(currentId); } return currentId; } void NotificationServer::CloseNotification (unsigned int id) { // Sanity checking the public bus method's arguments: // if this was called from the bus for a notification which doesn't // exist or isn't owned by the caller, then reply with an error if (calledFromDBus()) { auto notification = model.getNotification(id); const auto clientId = messageSender(); if (!notification || !isAuthorised(clientId, notification)) { auto err = QString::fromUtf8( "Client '%1' tried to close notification %2, which it does not own or does not exist.") .arg(clientId) .arg(id); qWarning() << err; sendErrorReply(QDBusError::InvalidArgs, err); return; } } forceCloseNotification(id); } void NotificationServer::forceCloseNotification (unsigned int id) { model.removeNotification(id); Q_EMIT NotificationClosed(id, 1); } QString NotificationServer::GetServerInformation (QString &vendor, QString &version, QString &specVersion) const { vendor = "Canonical Ltd"; version = "1.2"; specVersion = "1.1"; return "Unity notification server"; } void NotificationServer::onDataChanged(unsigned int id) { Q_EMIT dataChanged(id); } void NotificationServer::onCompleted(unsigned int id) { CloseNotification(id); } unity-notifications-0.1.3+15.10.20151021/src/DBusTypes.cpp0000644000015300001610000000656212611675634023254 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2015 Canonical, Ltd. * * Authors: * Pete Woods * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include #include NotificationData& NotificationData::setAppName(const QString& appName_) { appName = appName_; return *this; } NotificationData& NotificationData::setId(quint32 id_) { id = id_; return *this; } NotificationData& NotificationData::setAppIcon(const QString& appIcon_) { appIcon = appIcon_; return *this; } NotificationData& NotificationData::setSummary(const QString& summary_) { summary = summary_; return *this; } NotificationData& NotificationData::setBody(const QString& body_) { body = body_; return *this; } NotificationData& NotificationData::setActions(const QList& actions_) { actions = actions_; return *this; } NotificationData& NotificationData::setHints(const QVariantMap& hints_) { hints = hints_; return *this; } NotificationData& NotificationData::setExpireTimeout(quint32 expireTimeout_) { expireTimeout = expireTimeout_; return *this; } NotificationData& NotificationData::operator=(const NotificationData& other) { appName = other.appName; id = other.id; appIcon = other.appIcon; summary = other.summary; body = other.body; actions = other.actions; hints = other.hints; expireTimeout = other.expireTimeout; return *this; } bool NotificationData::operator==(const NotificationData& other) const { return (appName == other.appName) && (id == other.id) && (appIcon == other.appIcon) && (summary == other.summary) && (body == other.body) && (actions == other.actions) && (hints == other.hints) && (expireTimeout == other.expireTimeout); } QDBusArgument &operator<<(QDBusArgument &argument, const NotificationData &data) { argument.beginStructure(); argument << data.appName; argument << data.id; argument << data.appIcon; argument << data.summary; argument << data.body; argument << data.actions; argument << data.hints; argument << data.expireTimeout; argument.endStructure(); return argument; } const QDBusArgument &operator>>(const QDBusArgument &argument, NotificationData &data) { argument.beginStructure(); argument >> data.appName; argument >> data.id; argument >> data.appIcon; argument >> data.summary; argument >> data.body; argument >> data.actions; argument >> data.hints; argument >> data.expireTimeout; argument.endStructure(); return argument; } void DBusTypes::registerNotificationMetaTypes() { qRegisterMetaType("NotificationData"); qDBusRegisterMetaType(); qRegisterMetaType("NotificationDataList"); qDBusRegisterMetaType(); } unity-notifications-0.1.3+15.10.20151021/src/Notification.cpp0000644000015300001610000001557112611675647024024 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationServer.h" #include "Notification.h" #include #include using namespace std; struct NotificationPrivate { NotificationID id; Notification::Urgency urg; QString summary; QString body; int value; Notification::Type type; NotificationServer *server; QString icon; QString secondaryIcon; QStringList actions; ActionModel* actionsModel; QVariantMap hints; int displayTime; QString clientId; }; /* * This constructor really should not exist, but * QML requires it. */ Notification::Notification(QObject *parent) : QObject(parent), p(new NotificationPrivate()) { p->id = (NotificationID) -1; p->urg = Notification::Urgency::Low; p->body = "default text"; p->server = nullptr; p->value = -2; p->actionsModel = new ActionModel(this); } Notification::Notification(NotificationID id, int displayTime, const Urgency ur, const QString &text, Type type, NotificationServer *srv, QObject *parent) : QObject(parent), p(new NotificationPrivate()) { p->id = id; p->urg = ur; p->body = text; p->type = type; p->server = srv; p->value = -2; p->displayTime = displayTime; p->actionsModel = new ActionModel(this); } Notification::Notification(NotificationID id, int displayTime, const Urgency ur, Type type, NotificationServer *srv, QObject *parent) : Notification(id, displayTime, ur, QString(), type, srv, parent){ p->actionsModel = new ActionModel(this); } Notification::~Notification() { if(p->server) p->server->forceCloseNotification(p->id); } QString Notification::getBody() const { return p->body; } void Notification::setBody(const QString &text) { QString filtered = filterText(text); if(p->body != filtered) { p->body = filtered; Q_EMIT bodyChanged(p->body); Q_EMIT dataChanged(p->id); } } NotificationID Notification::getID() const { return p->id; } Notification::Type Notification::getType() const { return p->type; } int Notification::getDisplayTime() const { return p->displayTime; } bool Notification::operator<(const Notification &n) const { if(p->type < n.p->type) return true; if(p->type > n.p->type) return false; return p->urg > n.p->urg; } QString Notification::getIcon() const { return p->icon; } void Notification::setIcon(const QString &icon) { if (icon.startsWith(" ") || icon.size() == 0) { p->icon = nullptr; } else { p->icon = icon; if (icon.indexOf("/") == -1) { p->icon.prepend("image://theme/"); } } Q_EMIT iconChanged(p->icon); Q_EMIT dataChanged(p->id); } QString Notification::getSecondaryIcon() const { return p->secondaryIcon; } void Notification::setSecondaryIcon(const QString &secondaryIcon) { if (secondaryIcon.startsWith(" ") || secondaryIcon.size() == 0) { p->secondaryIcon = nullptr; } else { p->secondaryIcon = secondaryIcon; if (secondaryIcon.indexOf("/") == -1) { p->secondaryIcon.prepend("image://theme/"); } } Q_EMIT secondaryIconChanged(p->secondaryIcon); Q_EMIT dataChanged(p->id); } QString Notification::getSummary() const { return p->summary; } void Notification::setSummary(const QString &summary) { QString filtered = filterText(summary); if(p->summary != filtered) { p->summary = filtered; Q_EMIT summaryChanged(p->summary); Q_EMIT dataChanged(p->id); } } int Notification::getValue() const { return p->value; } void Notification::setValue(int value) { p->value = value; Q_EMIT valueChanged(p->value); Q_EMIT dataChanged(p->id); } Notification::Urgency Notification::getUrgency() const { return p->urg; } void Notification::setUrgency(Notification::Urgency urg) { if(p->urg != urg) { p->urg = urg; Q_EMIT urgencyChanged(p->urg); } } void Notification::setType(Type type) { if(p->type != p->type) { p->type = type; Q_EMIT typeChanged(p->type); } } ActionModel* Notification::getActions() const { return p->actionsModel; } void Notification::setActions(const QStringList &actions) { if(p->actions != actions) { p->actions = actions; Q_EMIT actionsChanged(p->actions); for (int i = 0; i < p->actions.size(); i += 2) { p->actionsModel->insertAction(p->actions[i], p->actions[i+1]); } } } QString Notification::getClientId() const { return p->clientId; } void Notification::setClientId(const QString& clientId) { p->clientId = clientId; } void Notification::detachFromServer() { /* * FIXME. This function should not exist. In fact * a notification should not need to know the server * it is connected to. Instead the way p->server * is used needs to be converted into a proper * Qt signal. Unfortunately, due to deadlines, * we did not have time. The next time this is worked * on, fix this properly. */ p->server = nullptr; } QVariantMap Notification::getHints() const { return p->hints; } void Notification::setHints(const QVariantMap& hints) { if (p->hints != hints) { p->hints = hints; Q_EMIT hintsChanged(p->hints); } } void Notification::onHovered() { } void Notification::onDisplayed() { } void Notification::invokeAction(const QString &action) { for(int i=0; iactions.size(); i++) { if(p->actions[i] == action) { p->server->invokeAction(p->id, action); Q_EMIT completed(p->id); return; } } fprintf(stderr, "Error: tried to invoke action not in actionList.\n"); } void Notification::close() { Q_EMIT completed(p->id); } QString Notification::filterText(const QString& text) { QString plaintext; QXmlStreamReader reader("

" + text + "

"); while (!reader.atEnd() && !reader.hasError()) { QXmlStreamReader::TokenType token = reader.readNext(); if (token == QXmlStreamReader::Characters) { plaintext.append(reader.text().toString()); } } if (reader.hasError()) { // Not valid xml. Return as is. return text; } return plaintext; } unity-notifications-0.1.3+15.10.20151021/src/org.freedesktop.Notifications.xml0000644000015300001610000000357212611675634027317 0ustar pbuserpbgroup00000000000000 unity-notifications-0.1.3+15.10.20151021/src/ActionModel.cpp0000644000015300001610000000363712611675634023570 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "ActionModel.h" struct ActionModelPrivate { QList labels; QList ids; }; ActionModel::ActionModel(QObject *parent) : QStringListModel(parent), p(new ActionModelPrivate) { } ActionModel::~ActionModel() { } int ActionModel::rowCount(const QModelIndex &index) const { return p->labels.size(); } QVariant ActionModel::data(const QModelIndex &index, int role) const { if (!index.isValid()) return QVariant(); switch(role) { case RoleActionLabel: return QVariant(p->labels[index.row()]); case RoleActionId: return QVariant(p->ids[index.row()]); default: return QVariant(); } } QHash ActionModel::roleNames() const { QHash roles; roles.insert(RoleActionLabel, "label"); roles.insert(RoleActionId, "id"); return roles; } QVariant ActionModel::data(int row, int role) const { return data(index(row, 0), role); } void ActionModel::insertAction(const QString &id, const QString &label) { p->ids.push_back(id); p->labels.push_back(label); } QStringList ActionModel::getRawActions() const { QStringList actions; for (int i = 0; i < p->ids.size(); ++i) { actions << p->ids[i] << p->labels[i]; } return actions; } unity-notifications-0.1.3+15.10.20151021/src/NotificationModel.cpp0000644000015300001610000005523212611675647025003 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationModel.h" #include "Notification.h" #include #include #include #include #include #include #include #include using namespace unity::shell::notifications; struct NotificationModelPrivate { QList > displayedNotifications; QTimer timer; QVector > ephemeralQueue; QVector > interactiveQueue; QVector > snapQueue; QMap displayTimes; }; bool notificationCompare(const QSharedPointer &first, const QSharedPointer &second) { return *first < *second; } NotificationModel::NotificationModel(QObject *parent) : QAbstractListModel(parent), p(new NotificationModelPrivate) { p->displayedNotifications.append(QSharedPointer(new Notification(0, -1, Notification::Normal, QString(), Notification::PlaceHolder), &QObject::deleteLater)); connect(&(p->timer), SIGNAL(timeout()), this, SLOT(timeout())); p->timer.setSingleShot(true); } NotificationModel::~NotificationModel() { for(int i=0; iephemeralQueue.size(); i++) { p->ephemeralQueue[i]->detachFromServer(); } for(int i=0; iinteractiveQueue.size(); i++) { p->interactiveQueue[i]->detachFromServer(); } for(int i=0; isnapQueue.size(); i++) { p->snapQueue[i]->detachFromServer(); } for(int i=0; idisplayedNotifications.size(); i++) { p->displayedNotifications[i]->detachFromServer(); } } int NotificationModel::rowCount(const QModelIndex &parent) const { //printf("Count %d\n", p->displayedNotifications.size()); return p->displayedNotifications.size(); } QVariant NotificationModel::data(const QModelIndex &index, int role) const { //printf("Data %d.\n", index.row()); if (!index.isValid()) return QVariant(); switch(role) { case ModelInterface::RoleType: return p->displayedNotifications[index.row()]->getType(); case ModelInterface::RoleUrgency: return p->displayedNotifications[index.row()]->getUrgency(); case ModelInterface::RoleId: return p->displayedNotifications[index.row()]->getID(); case ModelInterface::RoleSummary: return p->displayedNotifications[index.row()]->getSummary(); case ModelInterface::RoleBody: return p->displayedNotifications[index.row()]->getBody(); case ModelInterface::RoleValue: return p->displayedNotifications[index.row()]->getValue(); case ModelInterface::RoleIcon: return p->displayedNotifications[index.row()]->getIcon(); case ModelInterface::RoleSecondaryIcon: return p->displayedNotifications[index.row()]->getSecondaryIcon(); case ModelInterface::RoleActions: return QVariant::fromValue(p->displayedNotifications[index.row()]->getActions()); case ModelInterface::RoleHints: return p->displayedNotifications[index.row()]->getHints(); case ModelInterface::RoleNotification: return QVariant::fromValue(p->displayedNotifications[index.row()]); default: return QVariant(); } } void NotificationModel::insertNotification(const QSharedPointer &n) { if(numNotifications() >= maxNotifications) return; // Just ignore. Maybe we should throw()? int remaining = p->timer.remainingTime(); int elapsed = p->timer.interval() - remaining; p->timer.stop(); incrementDisplayTimes(elapsed); switch(n->getType()) { case Notification::Type::Ephemeral : insertEphemeral(n); break; case Notification::Type::Confirmation : insertConfirmation(n); break; case Notification::Type::Interactive : insertInteractive(n); break; case Notification::Type::SnapDecision : insertSnap(n); break; default: printf("Unknown notification type, I should probably throw an exception here.\n"); break; } int timeout = nextTimeout(); //Q_ASSERT(timeout > 0); p->timer.setInterval(timeout); p->timer.start(); } QList> NotificationModel::getAllNotifications() const { QMap> notifications; for (const auto& notification : p->ephemeralQueue) { notifications[notification->getID()] = notification; } for (const auto& notification : p->interactiveQueue) { notifications[notification->getID()] = notification; } for (const auto& notification : p->snapQueue) { notifications[notification->getID()] = notification; } for (const auto& notification : p->displayedNotifications) { notifications[notification->getID()] = notification; } notifications.remove(0); return notifications.values(); } QSharedPointer NotificationModel::getNotification(NotificationID id) const { for(int i=0; iephemeralQueue.size(); i++) { if(p->ephemeralQueue[i]->getID() == id) { return p->ephemeralQueue[i]; } } for(int i=0; iinteractiveQueue.size(); i++) { if(p->interactiveQueue[i]->getID() == id) { return p->interactiveQueue[i]; } } for(int i=0; isnapQueue.size(); i++) { if(p->snapQueue[i]->getID() == id) { return p->snapQueue[i]; } } for(int i=0; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getID() == id) { return p->displayedNotifications[i]; } } QSharedPointer empty; return empty; } QSharedPointer NotificationModel::getNotification(const QString &summary) const { for(int i=0; iephemeralQueue.size(); i++) { if(p->ephemeralQueue[i]->getSummary() == summary) { return p->ephemeralQueue[i]; } } for(int i=0; iinteractiveQueue.size(); i++) { if(p->interactiveQueue[i]->getSummary() == summary) { return p->interactiveQueue[i]; } } for(int i=0; isnapQueue.size(); i++) { if(p->snapQueue[i]->getSummary() == summary) { return p->snapQueue[i]; } } for(int i=0; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getSummary() == summary) { return p->displayedNotifications[i]; } } QSharedPointer empty; return empty; } QSharedPointer NotificationModel::getDisplayedNotification(int index) const { if (index < p->displayedNotifications.size()) { return p->displayedNotifications[index]; } else { QSharedPointer empty; return empty; } } bool NotificationModel::hasNotification(NotificationID id) const { return !(getNotification(id).isNull()); } QList> NotificationModel::removeAllNotificationsForClient(const QString& clientId) { QList> notifications; for(int i=0; iephemeralQueue.size();) { if(p->ephemeralQueue[i]->getClientId() == clientId) { notifications << p->ephemeralQueue.takeAt(i); Q_EMIT queueSizeChanged(queued()); } else { ++i; } } for(int i=0; isnapQueue.size();) { if(p->snapQueue[i]->getClientId() == clientId) { notifications << p->snapQueue.takeAt(i); Q_EMIT queueSizeChanged(queued()); } else { ++i; } } for(int i=0; iinteractiveQueue.size();) { if(p->interactiveQueue[i]->getClientId() == clientId) { notifications << p->interactiveQueue.takeAt(i); Q_EMIT queueSizeChanged(queued()); } else { ++i; } } bool needToTimeout = false; for(int i=0; idisplayedNotifications.size();) { if(p->displayedNotifications[i]->getClientId() == clientId) { notifications << deleteFromVisible(i); needToTimeout = true; } else { ++i; } } if (needToTimeout) { timeout(); // Simulate a timeout so visual state is updated. } return notifications; } void NotificationModel::removeNotification(const NotificationID id) { for (int i = 0; i < p->displayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getID() == id) { deleteFromVisible(i); timeout(); // Simulate a timeout so visual state is updated. return; } } for (auto it = p->ephemeralQueue.begin(); it != p->ephemeralQueue.end(); ++it) { QSharedPointer n = *it; if (n && n->getID() == id) { p->ephemeralQueue.erase(it); Q_EMIT queueSizeChanged(queued()); return; } } for (auto it = p->snapQueue.begin(); it != p->snapQueue.end(); ++it) { QSharedPointer n = *it; if (n && n->getID() == id) { p->snapQueue.erase(it); Q_EMIT queueSizeChanged(queued()); return; } } for (auto it = p->interactiveQueue.begin(); it != p->interactiveQueue.end(); ++it) { QSharedPointer n = *it; if (n && n->getID() == id) { p->interactiveQueue.erase(it); Q_EMIT queueSizeChanged(queued()); return; } } // The ID was not found in any queue. Should it be an error case or not? } void NotificationModel::deleteFirst() { if(p->displayedNotifications.empty()) return; deleteFromVisible(0); } QSharedPointer NotificationModel::deleteFromVisible(int loc) { QModelIndex deletePoint = QModelIndex(); beginRemoveRows(deletePoint, loc, loc); QSharedPointer n = p->displayedNotifications[loc]; p->displayTimes.erase(p->displayTimes.find(n->getID())); auto notification = p->displayedNotifications.takeAt(loc); endRemoveRows(); return notification; } void NotificationModel::timeout() { bool restartTimer = false; // We might call this function before the timer // has expired (e.g. because a notification was // manually removed) if(p->timer.isActive()) { incrementDisplayTimes(p->timer.interval() - p->timer.remainingTime()); p->timer.stop(); } else { incrementDisplayTimes(p->timer.interval()); } pruneExpired(); if(!p->displayedNotifications.empty()) { restartTimer = true; } // Snap decisions override everything. if(showingNotificationOfType(Notification::Type::SnapDecision) || !p->snapQueue.empty()) { if(countShowing(Notification::Type::SnapDecision) < maxSnapsShown && !p->snapQueue.empty()) { QSharedPointer n = p->snapQueue[0]; p->snapQueue.pop_front(); insertToVisible(n, insertionPoint(n)); restartTimer = true; Q_EMIT queueSizeChanged(queued()); } } else { restartTimer |= nonSnapTimeout(); } if(restartTimer) { int timeout = nextTimeout(); Q_ASSERT(timeout > 0); p->timer.setInterval(timeout); p->timer.start(); } } bool NotificationModel::nonSnapTimeout() { bool restartTimer; if(!showingNotificationOfType(Notification::Type::Interactive) && !p->interactiveQueue.empty()) { QSharedPointer n = p->interactiveQueue[0]; p->interactiveQueue.pop_front(); insertToVisible(n, insertionPoint(n)); restartTimer = true; Q_EMIT queueSizeChanged(queued()); } if(!showingNotificationOfType(Notification::Type::Ephemeral) && !p->ephemeralQueue.empty()) { QSharedPointer n = p->ephemeralQueue[0]; p->ephemeralQueue.pop_front(); insertToVisible(n, insertionPoint(n)); restartTimer = true; Q_EMIT queueSizeChanged(queued()); } return restartTimer; } void NotificationModel::pruneExpired() { for(int i=p->displayedNotifications.size()-1; i>=0; i--) { QSharedPointer n = p->displayedNotifications[i]; int shownTime = p->displayTimes[n->getID()]; int totalTime = n->getDisplayTime(); if(totalTime >= 0 && shownTime >= totalTime) { deleteFromVisible(i); } } } void NotificationModel::removeNonSnap() { for(int i=p->displayedNotifications.size()-1; i>=0; i--) { QSharedPointer n = p->displayedNotifications[i]; switch(n->getType()) { case Notification::Type::SnapDecision : break; case Notification::Type::Confirmation : deleteFromVisible(i); break; case Notification::Type::Ephemeral : deleteFromVisible(i); p->ephemeralQueue.push_front(n); queueSizeChanged(queued()); break; case Notification::Type::Interactive : deleteFromVisible(i); p->interactiveQueue.push_front(n); queueSizeChanged(queued()); break; case Notification::Type::PlaceHolder : break; } } } int NotificationModel::nextTimeout() const { int mintime = INT_MAX; if(p->displayedNotifications.empty()) { // What to do? It really does not make sense // to add a timer in this case. return 10000; } for(int i=0; idisplayedNotifications.size(); i++) { QSharedPointer n = p->displayedNotifications[i]; int totalTime = n->getDisplayTime(); if (totalTime >= 0) { int shownTime = p->displayTimes[n->getID()]; int remainingTime = totalTime - shownTime; if(remainingTime < 0) remainingTime = 0; if(remainingTime < mintime) mintime = remainingTime; } } return mintime; } void NotificationModel::insertEphemeral(const QSharedPointer &n) { Q_ASSERT(n->getType() == Notification::Type::Ephemeral); if(showingNotificationOfType(Notification::Type::SnapDecision)) { p->ephemeralQueue.push_back(n); qStableSort(p->ephemeralQueue.begin(), p->ephemeralQueue.end(), notificationCompare); Q_EMIT queueSizeChanged(queued()); } else if(showingNotificationOfType(Notification::Type::Ephemeral)) { int loc = findFirst(Notification::Type::Ephemeral); QSharedPointer showing = p->displayedNotifications[loc]; if(n->getUrgency() > showing->getUrgency()) { deleteFromVisible(loc); insertToVisible(n, loc); p->ephemeralQueue.push_front(showing); } else { p->ephemeralQueue.push_back(n); } qStableSort(p->ephemeralQueue.begin(), p->ephemeralQueue.end(), notificationCompare); Q_EMIT queueSizeChanged(queued()); } else { insertToVisible(n); } } void NotificationModel::insertInteractive(const QSharedPointer &n) { Q_ASSERT(n->getType() == Notification::Type::Interactive); if(showingNotificationOfType(Notification::Type::SnapDecision)) { p->interactiveQueue.push_back(n); qStableSort(p->interactiveQueue.begin(), p->interactiveQueue.end(), notificationCompare); Q_EMIT queueSizeChanged(queued()); } else if(showingNotificationOfType(Notification::Type::Interactive)) { int loc = findFirst(Notification::Type::Interactive); QSharedPointer showing = p->displayedNotifications[loc]; if(n->getUrgency() > showing->getUrgency()) { deleteFromVisible(loc); insertToVisible(n, loc); p->interactiveQueue.push_front(showing); } else { p->interactiveQueue.push_back(n); } qStableSort(p->interactiveQueue.begin(), p->interactiveQueue.end(), notificationCompare); Q_EMIT queueSizeChanged(queued()); } else { int loc = insertionPoint(n); insertToVisible(n, loc); } } void NotificationModel::insertConfirmation(const QSharedPointer &n) { Q_ASSERT(n->getType() == Notification::Type::Confirmation); if(showingNotificationOfType(Notification::Type::Confirmation)) { deleteFirst(); // Synchronous is always first. } insertToVisible(n, 0); } void NotificationModel::insertSnap(const QSharedPointer &n) { Q_ASSERT(n->getType() == Notification::Type::SnapDecision); removeNonSnap(); int showing = countShowing(n->getType()); if(showing >= maxSnapsShown) { int loc = findFirst(Notification::Type::SnapDecision); bool replaced = false; for(int i=0; idisplayedNotifications[loc+i]->getUrgency() > n->getUrgency()) { QSharedPointer lastShowing = p->displayedNotifications[loc+showing-1]; deleteFromVisible(loc+showing-1); insertToVisible(n, loc+i+1); p->snapQueue.push_front(lastShowing); replaced = true; break; } } if(!replaced) { p->snapQueue.push_back(n); } qStableSort(p->snapQueue.begin(), p->snapQueue.end(), notificationCompare); Q_EMIT queueSizeChanged(queued()); } else { bool inserted = false; int loc = findFirst(Notification::Type::SnapDecision); for(int i=0; idisplayedNotifications[loc+i]->getUrgency() > n->getUrgency()) { insertToVisible(n, loc+i+1); inserted = true; break; } } if (!inserted) { insertToVisible(n, 1); } } } int NotificationModel::insertionPoint(const QSharedPointer &n) const { if(n->getType() == Notification::Type::SnapDecision) { int loc = findFirst(Notification::Type::SnapDecision); int numSnaps = countShowing(Notification::Type::SnapDecision); for(int i=0; idisplayedNotifications[loc+i]->getUrgency() < n->getUrgency()) { return loc+i; } } return loc+numSnaps; } else { int i=0; for(; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getType() > n->getType()) { break; } } return i; } } void NotificationModel::insertToVisible(const QSharedPointer &n, int location) { if(location < 0) location = p->displayedNotifications.size(); if(location > p->displayedNotifications.size()) { printf("Bad insert.\n"); return; } //QModelIndex insertionPoint = QAbstractItemModel::createIndex(location, 0); //beginInsertRows(insertionPoint, location, location); QModelIndex insertionPoint = QModelIndex(); beginInsertRows(insertionPoint, location, location); p->displayedNotifications.insert(location, n); endInsertRows(); p->displayTimes[n->getID()] = 0; } Notification* NotificationModel::getRaw(const unsigned int notificationId) const { for(int i=0; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getID() == notificationId) { Notification* n = p->displayedNotifications[i].data(); QQmlEngine::setObjectOwnership(n, QQmlEngine::CppOwnership); return n; } } return nullptr; } int NotificationModel::queued() const { return p->ephemeralQueue.size() + p->interactiveQueue.size() + p->snapQueue.size(); } bool NotificationModel::showingNotificationOfType(const Notification::Type type) const { return countShowing(type) > 0; } bool NotificationModel::showingNotification(const NotificationID id) const { for(int i=0; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getID() == id) { return true; } } return false; } int NotificationModel::countShowing(const Notification::Type type) const { int count = 0; for(int i=0; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getType() == type) { count++; } } return count; } int NotificationModel::numNotifications() const { return queued() + p->displayedNotifications.size(); } void NotificationModel::incrementDisplayTimes(const int displayedTime) const { for(int i=0; idisplayedNotifications.size(); i++) { p->displayTimes[p->displayedNotifications[i]->getID()] += displayedTime; } } int NotificationModel::findFirst(const Notification::Type type) const { for(int i=0; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getType() == type) return i; } return -1; } QHash NotificationModel::roleNames() const { QHash roles; roles.insert(ModelInterface::RoleType, "type"); roles.insert(ModelInterface::RoleUrgency, "urgency"); roles.insert(ModelInterface::RoleId, "id"); roles.insert(ModelInterface::RoleSummary, "summary"); roles.insert(ModelInterface::RoleBody, "body"); roles.insert(ModelInterface::RoleValue, "value"); roles.insert(ModelInterface::RoleIcon, "icon"); roles.insert(ModelInterface::RoleSecondaryIcon, "secondaryIcon"); roles.insert(ModelInterface::RoleActions, "actions"); roles.insert(ModelInterface::RoleHints, "hints"); roles.insert(ModelInterface::RoleNotification, "notification"); return roles; } void NotificationModel::notificationUpdated(const NotificationID id) { if(showingNotification(id)) { incrementDisplayTimes(p->timer.interval() - p->timer.remainingTime()); p->timer.stop(); p->displayTimes[id] = 0; int timeout = nextTimeout(); Q_ASSERT(timeout > 0); p->timer.setInterval(timeout); p->timer.start(); } } void NotificationModel::onDataChanged(unsigned int id) { for(int i=0; idisplayedNotifications.size(); i++) { if(p->displayedNotifications[i]->getID() == id) { Q_EMIT dataChanged(index(i, 0), index(i, 0)); break; } } } unity-notifications-0.1.3+15.10.20151021/src/NotificationPlugin.cpp0000644000015300001610000000377212611675634025177 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * Michał Sawicz * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationPlugin.h" #include "NotificationModel.h" #include "NotificationServer.h" #include #include #include #include #include // These are qml singletons, so we might as well store them // in global variables. static NotificationModel *m = NULL; static NotificationServer *s = NULL; using namespace unity::shell::notifications; static QObject* modelProvider(QQmlEngine* /* engine */, QJSEngine* /* scriptEngine */) { return m; } void NotificationPlugin::registerTypes(const char *uri) { // @uri Unity.Notifications qmlRegisterUncreatableType(uri, 1, 0, "ModelInterface", "Abstract Interface. Cannot be instantiated."); qmlRegisterSingletonType(uri, 1, 0, "Model", modelProvider); qmlRegisterUncreatableType(uri, 1, 0, "Notification", "Notification objects can only be created by the plugin"); qmlRegisterUncreatableType(uri, 1, 0, "ActionModel", "Abstract Interface. Cannot be instantiated."); } void NotificationPlugin::initializeEngine(QQmlEngine *engine, const char *uri) { m = new NotificationModel(); s = new NotificationServer(QDBusConnection::sessionBus(), *m, engine); } unity-notifications-0.1.3+15.10.20151021/src/qmldir0000644000015300001610000000005712611675634022072 0ustar pbuserpbgroup00000000000000module Unity.Notifications plugin notifyplugin unity-notifications-0.1.3+15.10.20151021/src/NotificationClientPlugin.cpp0000644000015300001610000000236412611675634026332 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationClient.h" #include "NotificationClientPlugin.h" #include #include #include #include void NotificationClientPlugin::registerTypes(const char *uri) { qmlRegisterUncreatableType(uri, 1, 0, "NotificationClient", QString()); } void NotificationClientPlugin::initializeEngine(QQmlEngine *engine, const char *uri) { NotificationClient *cl = new NotificationClient(QDBusConnection::sessionBus(), engine); engine->rootContext()->setContextProperty("notificationclient", cl); } unity-notifications-0.1.3+15.10.20151021/src/NotificationClient.cpp0000644000015300001610000000571412611675634025155 0ustar pbuserpbgroup00000000000000/* * Copyright (C) 2013 Canonical, Ltd. * * Authors: * Jussi Pakkanen * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "NotificationClient.h" #include "NotificationServer.h" #include #include NotificationClient::NotificationClient(const QDBusConnection& connection, QObject *parent) : QObject(parent), m_interface(DBUS_SERVICE_NAME, DBUS_PATH, connection) { DBusTypes::registerNotificationMetaTypes(); connect(&m_interface, &OrgFreedesktopNotificationsInterface::ActionInvoked, this, &NotificationClient::ActionInvoked); connect(&m_interface, &OrgFreedesktopNotificationsInterface::NotificationClosed, this, &NotificationClient::NotificationClosed); } NotificationClient::~NotificationClient() { } NotificationID NotificationClient::sendNotification(Notification::Type ntype, Notification::Urgency urg, const QString &summary, const QString &body) { QString app_name("client test"); unsigned int replaces_id = 0; QString app_icon("/usr/share/icons/unity-icon-theme/search/16/search_field.png"); QStringList actions; QMap hints; hints["urgency"] = (char)urg; if(ntype == Notification::Type::Confirmation) { hints[SYNCH_HINT] = "yes"; } if(ntype == Notification::Type::SnapDecision) { QStringList snaps; snaps.push_back("Ok"); snaps.push_back("ok_id"); snaps.push_back("Cancel"); snaps.push_back("cancel_id"); hints[SNAP_HINT] = snaps; } if(ntype == Notification::Type::Interactive) { hints[INTERACTIVE_HINT] = "targetapp"; } int timeout = 5000; QDBusReply result = m_interface.Notify(app_name, replaces_id, app_icon, summary, body, actions, hints, timeout); if(!result.isValid()) { return (NotificationID) -1; } return result.value(); } void NotificationClient::NotificationClosed(NotificationID id, unsigned int reason) { Q_EMIT closed(id, reason); QString msg("Got NotificationClosed signal for notification "); msg += QString::number(id, 10); msg += ".\n"; Q_EMIT eventHappened(msg); } void NotificationClient::ActionInvoked(NotificationID id, const QString &key) { Q_EMIT invoked(id, key); QString msg("Got ActionInvoked signal for notification "); msg += QString::number(id, 10); msg += " event \""; msg += key; msg += "\".\n"; Q_EMIT eventHappened(msg); } unity-notifications-0.1.3+15.10.20151021/src/CMakeLists.txt0000644000015300001610000000442312611675634023420 0ustar pbuserpbgroup00000000000000include(FindPkgConfig) pkg_check_modules(NOTIFICATIONS_API REQUIRED unity-shell-notifications=3) set(CORE_SRCS ActionModel.cpp ../include/ActionModel.h DBusTypes.cpp ../include/DBusTypes.h Notification.cpp ../include/Notification.h NotificationModel.cpp ../include/NotificationModel.h NotificationServer.cpp ../include/NotificationServer.h NotificationClient.cpp ../include/NotificationClient.h ${NOTIFICATIONS_API_INCLUDEDIR}/unity/shell/notifications/ModelInterface.h ) set_source_files_properties( "org.freedesktop.Notifications.xml" PROPERTIES NO_NAMESPACE YES INCLUDE "DBusTypes.h" ) qt5_add_dbus_adaptor( CORE_SRCS "org.freedesktop.Notifications.xml" NotificationServer.h NotificationServer NotificationsAdaptor ) qt5_add_dbus_interface( CORE_SRCS "org.freedesktop.Notifications.xml" NotificationsInterface ) add_library(notifybackend STATIC ${CORE_SRCS} ) add_library(notifyplugin MODULE NotificationPlugin.cpp ../include/NotificationPlugin.h ) set_target_properties(notifyplugin PROPERTIES SOVERSION ${SONAME} VERSION ${SOVERSION} ) target_link_libraries( notifyplugin notifybackend ) add_library(notifyclientplugin MODULE NotificationClientPlugin.cpp ../include/NotificationClientPlugin.h NotificationClient.cpp ../include/NotificationClient.h ) set_target_properties(notifyclientplugin PROPERTIES SOVERSION ${SONAME} VERSION ${SOVERSION} ) target_link_libraries( notifyclientplugin notifybackend ) qt5_use_modules(notifybackend Widgets DBus Qml) execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=plugindir_suffix unity-shell-api OUTPUT_VARIABLE SHELL_INSTALL_QML OUTPUT_STRIP_TRAILING_WHITESPACE) if(SHELL_INSTALL_QML STREQUAL "") message(FATAL_ERROR "Could not determine plugin installation dir.") endif() execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=plugindir unity-shell-api OUTPUT_VARIABLE SHELL_PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE) if(SHELL_PLUGINDIR STREQUAL "") message(FATAL_ERROR "Could not determine plugin import dir.") endif() install( TARGETS notifyplugin notifyclientplugin ARCHIVE DESTINATION ${SHELL_PLUGINDIR}/Unity/Notifications LIBRARY DESTINATION ${SHELL_PLUGINDIR}/Unity/Notifications ) install(FILES qmldir DESTINATION ${SHELL_INSTALL_QML}/Unity/Notifications ) unity-notifications-0.1.3+15.10.20151021/CMakeLists.txt0000644000015300001610000001000412611675634022621 0ustar pbuserpbgroup00000000000000project(notification-server C CXX) cmake_minimum_required(VERSION 2.8.9) set(SONAME 1) set(VERSION 1.0) set(SOVERSION 1.0.0) if(PROJECT_BINARY_DIR STREQUAL PROJECT_SOURCE_DIR) message(FATAL_ERROR "In-tree build attempt detected, aborting. Set your build dir outside your source dir, delete CMakeCache.txt from source root and try again.") endif() option(basic_warnings "Basic compiler warnings." ON) option(private_dbus "Use private dbus namespace to prevent clashes during development." OFF) include(cmake/coverage.cmake) include(FindPkgConfig) include (GNUInstallDirs) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11") add_definitions(-DQT_NO_KEYWORDS) if(${basic_warnings}) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic") endif() set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt5Core REQUIRED) include_directories(${Qt5Core_INCLUDE_DIRS}) find_package(Qt5DBus REQUIRED) include_directories(${Qt5DBus_INCLUDE_DIRS}) find_package(Qt5Widgets REQUIRED) include_directories(${Qt5Widgets_INCLUDE_DIRS}) # Workaround for https://bugreports.qt-project.org/browse/QTBUG-29987 set(QT_IMPORTS_DIR "${CMAKE_INSTALL_LIBDIR}/qt5/qml") include_directories("include") include_directories("${CMAKE_BINARY_DIR}/include") include_directories("src") include_directories("${CMAKE_BINARY_DIR}/src") add_subdirectory(include) add_subdirectory(src) add_subdirectory(tools) # Disabled this until trunks of both Unity and notifications # have been updated to work together. ##find_program(qmltestrunner_exe qmltestrunner) ## ##if(NOT qmltestrunner_exe) ## message(FATAL_ERROR "Could not locate qmltestrunner.") ##endif() ## ##macro(add_qml_test COMPONENT_NAME) ## set(options NO_ADD_TEST NO_TARGETS) ## ## cmake_parse_arguments(qmltest "${options}" "IMPORT_PATH" "TARGETS" ${ARGN}) ## ## set(qmltest_TARGET test${COMPONENT_NAME}) ## set(qmltest_FILE tst_${COMPONENT_NAME}) ## ## if("${qmltest_IMPORT_PATH}" STREQUAL "") ## add_custom_target(${qmltest_TARGET} ## ${qmltestrunner_exe} -input ${CMAKE_CURRENT_SOURCE_DIR}/${qmltest_FILE}.qml ## -o ${CMAKE_BINARY_DIR}/${qmltest_TARGET}.xml,xunitxml ## -o -,txt) ## else() ## add_custom_target(${qmltest_TARGET} ## ${qmltestrunner_exe} -input ${CMAKE_CURRENT_SOURCE_DIR}/${qmltest_FILE}.qml ## -import ${qmltest_IMPORT_PATH} ## -o ${CMAKE_BINARY_DIR}/${qmltest_TARGET}.xml,xunitxml ## -o -,txt) ## endif() ## ## if(NOT "${qmltest_UNPARSED_ARGUMENTS}" STREQUAL "") ## set_target_properties(${qmltest_TARGET} ${qmltest_PROPERTIES}) ## elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "") ## set_target_properties(${qmltest_TARGET} ${qmltest_DEFAULT_PROPERTIES}) ## endif() ## ## if("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE") ## add_test(${qmltest_TARGET} make ${qmltest_TARGET}) ## ## if(NOT "${qmltest_UNPARSED_ARGUMENTS}" STREQUAL "") ## set_tests_properties(${qmltest_TARGET} ${qmltest_PROPERTIES}) ## elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "") ## set_tests_properties(${qmltest_TARGET} ${qmltest_DEFAULT_PROPERTIES}) ## endif() ## endif("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE") ## ## if("${qmltest_NO_TARGETS}" STREQUAL "FALSE") ## if(NOT "${qmltest_TARGETS}" STREQUAL "") ## foreach(TARGET ${qmltest_TARGETS}) ## add_dependencies(${TARGET} ${qmltest_TARGET}) ## endforeach(TARGET) ## elseif(NOT "${qmltest_DEFAULT_TARGETS}" STREQUAL "") ## foreach(TARGET ${qmltest_DEFAULT_TARGETS}) ## add_dependencies(${TARGET} ${qmltest_TARGET}) ## endforeach(TARGET) ## endif() ## endif("${qmltest_NO_TARGETS}" STREQUAL "FALSE") ##endmacro() enable_testing() add_subdirectory(test)