2 * This file is part of QMAFW
4 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights
7 * Contact: Visa Smolander <visa.smolander@nokia.com>
9 * This software, including documentation, is protected by copyright controlled
10 * by Nokia Corporation. All rights are reserved. Copying, including
11 * reproducing, storing, adapting or translating, any or all of this material
12 * requires the prior written consent of Nokia Corporation. This material also
13 * contains confidential information which may not be disclosed to others
14 * without the prior written consent of Nokia.
18 #ifndef MAFW_GST_RENDERER_PLUGIN_H
19 #define MAFW_GST_RENDERER_PLUGIN_H
22 #include <MafwPlugin.h>
24 class MafwGstRendererPlugin : public QObject, public MafwPlugin
27 Q_INTERFACES(MafwPlugin)
30 void initialize(MafwInternalRegistry* registry);
31 ~MafwGstRendererPlugin();
36 MafwInternalRegistry* m_registry;
39 QList<QString> m_rendererIds;
42 * Loads gst-renderers from config file.
43 * Config file contais "renderers" and "in-process-renderers" arrays.
44 * Renderer Array contains gst-renderer's id and it's "friendly" name.
45 * Syntax of the "renderers" array:
47 * 1\Id=mafw_gst_renderer
48 * 1\FriendlyName=MafwGstRenderer
49 * 2\Id=mafw_gst_internal_video_renderer
50 * 2\FriendlyName=MafwGstVideoRenderer
52 * If config file is deleted of empty we create default renderer with "mafw_gst_renderer" uuid.
54 void loadRenderers(const QString& rendererArrayKey);