![]() |
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 PROXYMNOTIFICATION_H_ 00021 #define PROXYMNOTIFICATION_H_ 00022 00023 class Notification; 00024 class NotificationGroup; 00025 class DBusArgument; 00026 00037 class MNotificationProxy 00038 { 00039 public: 00043 MNotificationProxy(); 00049 MNotificationProxy(const Notification ¬ification); 00050 00052 uint notificationId; 00054 uint groupId; 00056 QString eventType; 00058 QString summary; 00060 QString body; 00062 QString imageId; 00064 QString action; 00066 uint count; 00067 }; 00068 00069 QDBusArgument &operator<<(QDBusArgument &, const MNotificationProxy &); 00070 const QDBusArgument &operator>>(const QDBusArgument &, MNotificationProxy &); 00071 00082 class MNotificationWithIdentifierProxy : public MNotificationProxy 00083 { 00084 public: 00088 MNotificationWithIdentifierProxy(); 00094 MNotificationWithIdentifierProxy(const Notification ¬ification); 00095 00097 QString identifier; 00098 }; 00099 00100 QDBusArgument &operator<<(QDBusArgument &, const MNotificationWithIdentifierProxy &); 00101 const QDBusArgument &operator>>(const QDBusArgument &, MNotificationWithIdentifierProxy &); 00102 00103 00104 00115 class MNotificationGroupProxy 00116 { 00117 public: 00121 MNotificationGroupProxy(); 00127 MNotificationGroupProxy(const NotificationGroup &group); 00128 00130 uint groupId; 00132 QString eventType; 00134 QString summary; 00136 QString body; 00138 QString imageId; 00140 QString action; 00142 uint count; 00143 }; 00144 00145 QDBusArgument &operator<<(QDBusArgument &, const MNotificationGroupProxy &); 00146 const QDBusArgument &operator>>(const QDBusArgument &, MNotificationGroupProxy &); 00147 00158 class MNotificationGroupWithIdentifierProxy : public MNotificationGroupProxy 00159 { 00160 public: 00164 MNotificationGroupWithIdentifierProxy(); 00170 MNotificationGroupWithIdentifierProxy(const NotificationGroup &group); 00171 00173 QString groupIdentifier; 00174 }; 00175 00176 QDBusArgument &operator<<(QDBusArgument &, const MNotificationGroupWithIdentifierProxy &); 00177 const QDBusArgument &operator>>(const QDBusArgument &, MNotificationGroupWithIdentifierProxy &); 00178 00179 #endif
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |