messagingapp/msgui/layoutplugins/conversationviewplugin/inc/conversationviewplugin.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgui/layoutplugins/conversationviewplugin/inc/conversationviewplugin.h Fri Apr 16 14:56:15 2010 +0300
@@ -0,0 +1,63 @@
+/*
+ * 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: Layout plugin for all the widgets present in
+ * conversation view.
+ *
+ */
+
+#ifndef CONVERSATIONVIEWPLUGIN_H
+#define CONVERSATIONVIEWPLUGIN_H
+
+// INCLUDES
+#include <QtPlugin>
+#include <hbstyleinterface.h>
+#include <hbglobal.h>
+
+/**
+ * This class represents the conversationview layout plugin
+ * to define styling information for all the widgets present in
+ * the conversation view.
+ */
+class ConversationViewPlugin : 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 // CONVERSATIONVIEWPLUGIN_H