diff -r 4697dfb2d7ad -r 238255e8b033 messagingapp/msgui/layoutplugins/unifiedviewerplugin/inc/unifiedviewerplugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingapp/msgui/layoutplugins/unifiedviewerplugin/inc/unifiedviewerplugin.h Fri Apr 16 14:56:15 2010 +0300 @@ -0,0 +1,64 @@ +/* + * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * + */ + +#ifndef UNIFIEDVIEWERPLUGIN_H +#define UNIFIEDVIEWERPLUGIN_H + +// INCLUDES +#include +#include +#include + +/** + * TODO: add comment + */ +class UnifiedViewerPlugin : public QObject, public HbStyleInterface +{ +Q_OBJECT + Q_INTERFACES(HbStyleInterface) + +public: + /** + * Inherited from HbStyleInterface + * @see HbStyleInterface docs + */ + int primitiveCount() const; + + /** + * Inherited from HbStyleInterface + * @see HbStyleInterface docs + */ + QGraphicsItem *createPrimitive(HbStyle::Primitive primitive, + QGraphicsItem *parent = 0) const; + + /** + * Inherited from HbStyleInterface + * @see HbStyleInterface docs + */ + void updatePrimitive(QGraphicsItem *item, HbStyle::Primitive primitive, + const QStyleOption *option) const; + + /** + * Inherited from HbStyleInterface + * @see HbStyleInterface docs + */ + QString layoutPath() const; + +}; + +#endif // UNIFIEDVIEWERPLUGIN_H +// EOF