--- /dev/null
+/****************************************************************************
+**
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (directui@nokia.com)
+**
+** This file is part of meegotouch-controlpanelapplets.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at directui@nokia.com.
+**
+** This library is free software; you can redistribute it and/or
+** modify it under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation
+** and appearing in the file LICENSE.LGPL included in the packaging
+** of this file.
+**
+****************************************************************************/
+#ifndef SUBTITLESAPPLET_H
+#define SUBTITLESAPPLET_H
+
+#include <DcpAppletIf>
+#include <QObject>
+#include <QPointer>
+
+class DcpWidget;
+class MAction;
+class SubtitlesWidget;
+
+class Q_DECL_EXPORT SubtitlesApplet : public QObject, public DcpAppletIf
+{
+ Q_OBJECT
+ Q_INTERFACES(DcpAppletIf)
+
+public:
+ SubtitlesApplet ();
+ ~SubtitlesApplet ();
+
+ virtual void init ();
+ virtual DcpStylableWidget *constructStylableWidget (int widgetId);
+ virtual QString title () const;
+ virtual QVector<MAction *> viewMenuItems ();
+ virtual DcpBrief* constructBrief (int partId = 0);
+
+private:
+ QPointer<SubtitlesWidget> m_MainWidget;
+};
+
+#endif