NCL Composer
0.1.5
Main Page
Related Pages
Classes
All
Classes
Functions
Variables
Pages
mediapreviewfactory.h
1
#ifndef MEDIAPREVIEWFACTORY_H
2
#define MEDIAPREVIEWFACTORY_H
3
4
#include <mediapreviewplugin.h>
5
#include <core/extensions/IPluginFactory.h>
6
using namespace
composer::core;
7
13
class
MediaPreviewFactory
:
public
QObject,
public
IPluginFactory
14
{
15
Q_OBJECT
16
Q_INTERFACES(IPluginFactory)
17
18
public
:
19
23
~
MediaPreviewFactory
();
27
MediaPreviewFactory
();
34
virtual
IPlugin*
createPluginInstance
()
35
{
36
return
new
MediaPreviewPlugin
();
37
}
38
45
virtual
void
releasePluginInstance
(IPlugin *mediaPlug)
46
{
47
delete
mediaPlug;
48
}
55
virtual
QString
id
()
const
{
return
"br.puc-rio.telemidia.mediapreview"
; }
56
62
virtual
QString
name
()
const
{
return
"Media Preview"
; }
69
QString
version
() {
return
NCLCOMPOSER_PLUGINS_VERSION; }
76
QString
compatVersion
() {
return
"0.1"
;}
82
QString
vendor
() {
return
"Telemidia Lab"
;}
88
QString
copyright
() {
return
"Telemidia/PUC-Rio"
;}
95
QString
license
() {
return
"LGPL"
;}
96
104
QString
description
() {
return
tr(
"Media Pre-view displays a media player "
105
"of a current selected entity and "
106
"enables the user have to a pre-view "
107
"of the media object selected."
);}
108
109
QString url() {
return
"http://composer.telemidia.puc-rio.br/debug"
;}
110
111
QString category() {
return
"NCL"
;}
112
113
114
115
};
116
117
#endif // MEDIAPREVIEWFACTORY_H
composer-plugins
media-preview
mediapreviewfactory.h
Generated on Tue Jun 18 2013 16:03:00 for NCL Composer by
1.8.4