![]() |
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 SCREENLOCKEXTENSION_H 00021 #define SCREENLOCKEXTENSION_H 00022 00023 #include "screenlockextensioninterface.h" 00024 #include <QObject> 00025 00026 class LockScreen; 00027 00028 class ScreenLockExtension : public QObject, public ScreenLockExtensionInterface 00029 { 00030 Q_OBJECT 00031 Q_INTERFACES(ScreenLockExtensionInterface MApplicationExtensionInterface) 00032 00033 public: 00034 ScreenLockExtension(); 00035 virtual ~ScreenLockExtension(); 00036 00038 virtual void reset(); 00039 virtual void setNotificationManagerInterface(NotificationManagerInterface ¬ificationManager); 00040 virtual QObject *qObject(); 00041 virtual void setMode(ScreenLockMode mode); 00042 00044 virtual bool initialize(const QString &interface); 00045 virtual QGraphicsWidget *widget(); 00046 00048 static ScreenLockExtension *instance(); 00049 00051 NotificationManagerInterface *notificationManagerInterface(); 00052 00053 signals: 00055 void notifierSinkActive(bool active); 00056 00058 void unlocked(); 00059 00060 private: 00062 static ScreenLockExtension *instance_; 00063 00065 LockScreen *lockScreen; 00066 00068 NotificationManagerInterface *notificationManager; 00069 }; 00070 00071 #endif // SCREENLOCKEXTENSION_H
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |