screensaverapp/screensaverproviders/snsrbigclockscreensaverprovider/snsranalogclockstyleplugin/inc/snsranalogclockstyleplugin.h
changeset 35 f9ce957a272c
equal deleted inserted replaced
5:c743ef5928ba 35:f9ce957a272c
       
     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:  Analog clock style plugin.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SNSRANALOGCLOCKSTYLEPLUGIN_H
       
    19 #define SNSRANALOGCLOCKSTYLEPLUGIN_H
       
    20 
       
    21 #include <QtPlugin>
       
    22 
       
    23 #include <hbstyleinterface.h>
       
    24 #include <hbglobal.h>
       
    25 
       
    26 #include "snsrtest_global.h"
       
    27 
       
    28 SCREENSAVER_TEST_CLASS(T_SnsrACStylePlugin)
       
    29 
       
    30 class SnsrAnalogClockStylePlugin: public QObject, public HbStyleInterface
       
    31 {
       
    32     Q_OBJECT
       
    33     Q_INTERFACES(HbStyleInterface)
       
    34 
       
    35 public:
       
    36     int primitiveCount() const;
       
    37     HbWidgetBase *createPrimitive(HbStyle::Primitive primitive, QGraphicsItem *parent = 0) const;
       
    38     void updatePrimitive(QGraphicsItem *item, HbStyle::Primitive primitive, const QStyleOption *option) const;
       
    39     QString layoutPath() const;
       
    40 	
       
    41 	SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrACStylePlugin)
       
    42 
       
    43 };
       
    44 
       
    45 #endif // SNSRANALOGCLOCKSTYLEPLUGIN_H