perfmon/ui/hb/datapopup/inc/perfmondatapopupplugin_p.h
branchRCL_3
changeset 22 fad26422216a
parent 21 b3cee849fa46
child 23 f8280f3bfeb7
equal deleted inserted replaced
21:b3cee849fa46 22:fad26422216a
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PERFMONDATAPOPUPPLUGIN_P_H
       
    19 #define PERFMONDATAPOPUPPLUGIN_P_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QVariantMap>
       
    23 
       
    24 #include <hbdevicedialogplugin.h>
       
    25 
       
    26 class PerfMonDataPopupPluginPrivate;
       
    27 
       
    28 class PerfMonDataPopupPlugin : public HbDeviceDialogPlugin
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33     friend class PerfMonDataPopupPluginPrivate;
       
    34 
       
    35     PerfMonDataPopupPlugin();
       
    36     ~PerfMonDataPopupPlugin();
       
    37 
       
    38     bool accessAllowed(const QString &deviceDialogType,
       
    39         const QVariantMap &parameters, const QVariantMap &securityInfo) const;
       
    40     HbDeviceDialogInterface *createDeviceDialog(const QString &deviceDialogType,
       
    41         const QVariantMap &parameters);
       
    42     bool deviceDialogInfo(const QString &deviceDialogType,
       
    43         const QVariantMap &parameters, DeviceDialogInfo *info) const;
       
    44     QStringList deviceDialogTypes() const;
       
    45     PluginFlags pluginFlags() const;
       
    46     int error() const;
       
    47 
       
    48 private:
       
    49     Q_DISABLE_COPY(PerfMonDataPopupPlugin)
       
    50     PerfMonDataPopupPluginPrivate *d;
       
    51 };
       
    52 
       
    53 #endif // PERFMONDATAPOPUPPLUGIN_P_H