Olive
effects
internal
voideffect.h
1
#ifndef VOIDEFFECT_H
2
#define VOIDEFFECT_H
3
4
/* VoidEffect is a placeholder used when Olive is unable to find an effect
5
* requested by a loaded project. It displays a missing effect so the user knows
6
* an effect is missing, and stores the XML project data verbatim so that it
7
* isn't lost if the user saves over the project.
8
*/
9
10
#include "project/effect.h"
11
12
class
VoidEffect
:
public
Effect
{
13
Q_OBJECT
14
public
:
15
VoidEffect
(
Clip
* c,
const
QString& n);
16
17
virtual
Effect
* copy(
Clip
* c)
override
;
18
virtual
void
load(QXmlStreamReader &stream)
override
;
19
virtual
void
save(QXmlStreamWriter &stream)
override
;
20
private
:
21
QByteArray bytes;
22
EffectMeta
void_meta;
23
};
24
25
#endif // VOIDEFFECT_H
Effect
Definition:
effect.h:146
EffectMeta
Definition:
effect.h:27
VoidEffect
Definition:
voideffect.h:12
Clip
Definition:
clip.h:33
Generated by
1.8.15