OpenShot Library | libopenshot 0.3.3
Loading...
Searching...
No Matches
EffectInfo.h
Go to the documentation of this file.
1
9// Copyright (c) 2008-2019 OpenShot Studios, LLC
10//
11// SPDX-License-Identifier: LGPL-3.0-or-later
12
13#ifndef OPENSHOT_EFFECT_INFO_H
14#define OPENSHOT_EFFECT_INFO_H
15
16#include "Json.h"
17
18namespace openshot
19{
20 class Clip;
21 class EffectBase;
29 {
30 public:
32 EffectBase* CreateEffect(std::string effect_type);
33
34 // JSON methods
35 static std::string Json();
36 static Json::Value JsonValue();
37
38 };
39
40}
41
42#endif
Header file for JSON class.
This abstract class is the base class, used by all effects in libopenshot.
Definition EffectBase.h:54
This class returns a listing of all effects supported by libopenshot.
Definition EffectInfo.h:29
static Json::Value JsonValue()
Generate Json::Value for this object.
static std::string Json()
Generate JSON string of this object.
EffectBase * CreateEffect(std::string effect_type)
Create an instance of an effect (factory style)
This namespace is the default namespace for all code in the openshot library.
Definition Compressor.h:29