policymanagement/policyengine/policyengineui/inc/PolicyEngUINotifierplugin.h
changeset 44 39aa16f3fdc2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/policymanagement/policyengine/policyengineui/inc/PolicyEngUINotifierplugin.h	Tue Jul 06 15:14:24 2010 +0300
@@ -0,0 +1,45 @@
+/*
+* Copyright (c) 2000 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: Implementation of policymanagement components
+*
+*/
+
+#ifndef POLICYENGUINOTIFIERPLUGIN_H_
+#define POLICYENGUINOTIFIERPLUGIN_H_
+
+#include <hbdevicedialogplugin.h>
+
+
+class PolicyEngUINotifierplugin : public HbDeviceDialogPlugin
+    {
+
+public:
+    PolicyEngUINotifierplugin();
+    ~PolicyEngUINotifierplugin();
+
+    //interface between client and plugin
+    HbDeviceDialogInterface *createDeviceDialog(
+            const QString &deviceDialogType, const QVariantMap &parameters);
+
+    bool accessAllowed(const QString &deviceDialogType,
+            const QVariantMap &parameters,
+            const QVariantMap &securityInfo) const;
+
+    bool deviceDialogInfo(const QString &deviceDialogType,
+            const QVariantMap &parameters, DeviceDialogInfo *info) const;
+    QStringList deviceDialogTypes() const;
+    PluginFlags pluginFlags() const;
+    int error() const;
+    };
+#endif /* POLICYENGUINOTIFIERPLUGIN_H_ */