homescreenapp/widgetplugins/hsshortcutwidgetplugin/inc/hsshortcutwidgetplugin.h
changeset 39 4e8ebe173323
parent 35 f9ce957a272c
equal deleted inserted replaced
36:cdae8c6c3876 39:4e8ebe173323
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Homescreen widget plugin
    14 * Description: Homescreen shortcut widget plugin.
    15 *
    15 *
    16 */
    16 */
    17 
       
    18 
    17 
    19 #ifndef HSSHORTCUTWIDGETPLUGIN_H
    18 #ifndef HSSHORTCUTWIDGETPLUGIN_H
    20 #define HSSHORTCUTWIDGETPLUGIN_H
    19 #define HSSHORTCUTWIDGETPLUGIN_H
    21 
    20 
    22 #include <QObject>
    21 #include <QObject>
    23 #include <qserviceplugininterface.h>
    22 #include <qserviceplugininterface.h>
    24 #include <hstest_global.h>
       
    25 
    23 
    26 QTM_USE_NAMESPACE
    24 QTM_USE_NAMESPACE
    27 
    25 
    28 HOMESCREEN_TEST_CLASS(TestShortcutWidgetPlugin)
       
    29 class HsShortcutWidgetPlugin : public QObject, public QServicePluginInterface
    26 class HsShortcutWidgetPlugin : public QObject, public QServicePluginInterface
    30 {
    27 {
    31     Q_OBJECT
    28     Q_OBJECT
    32     Q_INTERFACES(QtMobility::QServicePluginInterface)
    29     Q_INTERFACES(QtMobility::QServicePluginInterface)
    33 
    30 
    34 public:
    31 public:
    35     QObject *createInstance(const QServiceInterfaceDescriptor &descriptor,
    32     QObject *createInstance(const QServiceInterfaceDescriptor &descriptor,
    36                             QServiceContext *context,
    33                             QServiceContext *context,
    37                             QAbstractSecuritySession *session);
    34                             QAbstractSecuritySession *session);
    38 HOMESCREEN_TEST_FRIEND_CLASS(TestShortcutWidgetPlugin)
       
    39 };
    35 };
    40 
    36 
    41 #endif //HSSHORTCUTWIDGETPLUGIN_H
    37 #endif //HSSHORTCUTWIDGETPLUGIN_H