![]() |
Home · All Namespaces · All Classes |
00001 /**************************************************************************** 00002 ** 00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00004 ** All rights reserved. 00005 ** Contact: Nokia Corporation (directui@nokia.com) 00006 ** 00007 ** This file is part of systemui. 00008 ** 00009 ** If you have questions regarding the use of this file, please contact 00010 ** Nokia at directui@nokia.com. 00011 ** 00012 ** This library is free software; you can redistribute it and/or 00013 ** modify it under the terms of the GNU Lesser General Public 00014 ** License version 2.1 as published by the Free Software Foundation 00015 ** and appearing in the file LICENSE.LGPL included in the packaging 00016 ** of this file. 00017 ** 00018 ****************************************************************************/ 00019 00020 #ifndef NOTIFICATIONMANAGERINTERFACE_H 00021 #define NOTIFICATIONMANAGERINTERFACE_H 00022 00023 #include <QString> 00024 #include "notificationparameters.h" 00025 #include "notification.h" 00026 #include "notificationgroup.h" 00027 00033 class NotificationManagerInterface 00034 { 00035 public: 00052 virtual uint addNotification(uint notificationUserId, const NotificationParameters ¶meters = NotificationParameters(), uint groupId = 0) = 0; 00053 00062 virtual bool updateNotification(uint notificationUserId, uint notificationId, const NotificationParameters ¶meters = NotificationParameters()) = 0; 00063 00073 virtual uint addGroup(uint notificationUserId, const NotificationParameters ¶meters = NotificationParameters()) = 0; 00074 00083 virtual bool updateGroup(uint notificationUserId, uint groupId, const NotificationParameters ¶meters = NotificationParameters()) = 0; 00084 00092 virtual bool removeGroup(uint notificationUserId, uint groupId) = 0; 00093 00095 virtual QList<NotificationGroup> groups() const = 0; 00096 00098 virtual QList<Notification> notifications() const = 0; 00099 00106 virtual uint notificationUserId() = 0; 00107 00114 virtual QList<uint> notificationIdList(uint notificationUserId) = 0; 00115 00122 virtual QList<Notification> notificationList(uint notificationUserId) = 0; 00123 00130 virtual QList<Notification> notificationListWithIdentifiers(uint notificationUserId) = 0; 00131 00138 virtual QList<NotificationGroup> notificationGroupList(uint notificationUserId) = 0; 00139 00146 virtual QList<NotificationGroup> notificationGroupListWithIdentifiers(uint notificationUserId) = 0; 00147 00155 virtual uint notificationCountInGroup(uint notificationUserId, uint groupId) = 0; 00156 00162 virtual QObject *qObject() = 0; 00163 00164 public slots: 00172 virtual bool removeNotification(uint notificationUserId, uint notificationId) = 0; 00173 }; 00174 00175 #endif // NOTIFICATIONMANAGERINTERFACE_H
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |