diff -r 0818dd463d41 -r 924385140d98 coreapplicationuis/devicepowermenuplugin/inc/hbdevicepowermenuplugin_p.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/coreapplicationuis/devicepowermenuplugin/inc/hbdevicepowermenuplugin_p.h Tue Aug 31 15:24:25 2010 +0300 @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * + */ + +#ifndef HBDEVICEPOWERMENUPLUGIN_P_H +#define HBDEVICEPOWERMENUPLUGIN_P_H + +#include +#include + +#include + +//fwd Declaration +class HbDevicePowerMenuPluginPrivate; + +class HbDevicePowerMenuPlugin : public HbDeviceDialogPlugin +{ + Q_OBJECT + +public: + friend class HbDevicePowerMenuPluginPrivate; + + HbDevicePowerMenuPlugin(); + ~HbDevicePowerMenuPlugin(); + + //Pure Virtual method of class HbDeviceDialogPluginInterface + HbDeviceDialogInterface *createDeviceDialog(const QString &deviceDialogType, const QVariantMap ¶meters); + //Pure Virtual Mehods of class HbDeviceDialogPlugin + bool accessAllowed(const QString &deviceDialogType, const QVariantMap ¶meters, const QVariantMap &securityInfo) const; + bool deviceDialogInfo(const QString &deviceDialogType, const QVariantMap ¶meters, DeviceDialogInfo *info) const; + QStringList deviceDialogTypes() const; + PluginFlags pluginFlags() const; + int error() const; + +private: + Q_DISABLE_COPY(HbDevicePowerMenuPlugin) + HbDevicePowerMenuPluginPrivate *d; +}; + +#endif // HBDEVICEPOWERMENUPLUGIN_P_H +