commondrm/drmui/drmuinotifications/inc/drmuidialogplugin.h
branchRCL_3
changeset 26 1221b68b8a5f
equal deleted inserted replaced
25:50c53e893c3f 26:1221b68b8a5f
       
     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:  Plugin error constants
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef DRMUIDIALOGPLUGIN_H
       
    19 #define DRMUIDIALOGPLUGIN_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QVariantMap>
       
    23 
       
    24 #include <hbdevicedialogplugin.h>
       
    25 
       
    26 
       
    27 class DrmUIDialogPlugin : public HbDeviceDialogPlugin
       
    28 
       
    29     {
       
    30 Q_OBJECT
       
    31 
       
    32 public:
       
    33 
       
    34     DrmUIDialogPlugin();
       
    35     ~DrmUIDialogPlugin();
       
    36 
       
    37     // from base HbDeviceDialogPluginInterface
       
    38     virtual HbDeviceDialogInterface *createDeviceDialog(
       
    39             const QString &deviceDialogType, const QVariantMap &parameters);
       
    40 
       
    41     // from base HbDeviceDialogPlugin
       
    42     virtual bool
       
    43             accessAllowed(const QString &deviceDialogType,
       
    44                     const QVariantMap &parameters,
       
    45                     const QVariantMap &securityInfo) const;
       
    46     virtual bool deviceDialogInfo(const QString &deviceDialogType,
       
    47             const QVariantMap &parameters, DeviceDialogInfo *info) const;
       
    48     virtual QStringList deviceDialogTypes() const;
       
    49     virtual PluginFlags pluginFlags() const;
       
    50     virtual int error() const;
       
    51 
       
    52 private:
       
    53     Q_DISABLE_COPY(DrmUIDialogPlugin)
       
    54 
       
    55     };
       
    56 
       
    57 #endif