![]() |
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 SCREENLOCKEXTENSIONINTERFACE_H 00021 #define SCREENLOCKEXTENSIONINTERFACE_H 00022 00023 #include <QObject> 00024 #include <mapplicationextensioninterface.h> 00025 00026 class NotificationManagerInterface; 00027 00036 class ScreenLockExtensionInterface : public MApplicationExtensionInterface 00037 { 00038 public: 00040 enum ScreenLockMode { 00041 NormalMode, 00042 LowPowerMode, 00043 DisplayOffMode 00044 }; 00045 00049 virtual ~ScreenLockExtensionInterface() {} 00050 00054 virtual void reset() = 0; 00055 00061 virtual void setNotificationManagerInterface(NotificationManagerInterface ¬ificationManager) = 0; 00062 00068 virtual QObject *qObject() = 0; 00069 00075 virtual void setMode(ScreenLockMode mode) = 0; 00076 }; 00077 00078 Q_DECLARE_INTERFACE(ScreenLockExtensionInterface, "com.meego.core.ScreenLockExtensionInterface/0.20") 00079 00080 #endif // SCREENLOCKEXTENSIONINTERFACE_H
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |