homescreenapp/hsdomainmodel/tsrc/mockwidgetplugincheater/inc/mockwidgetplugincheater.h
changeset 96 458d8c8d9580
equal deleted inserted replaced
92:6727c5d0afc7 96:458d8c8d9580
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Mocked Mocked widget plugin, which trys 
       
    15 *               to changes it's size illegally.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef MOCKWIDGETPLUGINCHEATER_H
       
    20 #define MOCKWIDGETPLUGINCHEATER_H
       
    21 
       
    22 #include <QObject>
       
    23 #include <qserviceplugininterface.h>
       
    24 
       
    25 QTM_USE_NAMESPACE
       
    26 
       
    27 class MockWidgetPluginCheater : public QObject, public QServicePluginInterface
       
    28 {
       
    29     Q_OBJECT
       
    30     Q_INTERFACES(QtMobility::QServicePluginInterface)
       
    31 
       
    32 public:
       
    33     QObject *createInstance(const QServiceInterfaceDescriptor &descriptor,
       
    34                             QServiceContext *context,
       
    35                             QAbstractSecuritySession *session);
       
    36 };
       
    37 
       
    38 #endif //MOCKWIDGETPLUGINCHEATER_H