Loading...
Searching...
No Matches
EffectInfo.h
Go to the documentation of this file.
// Copyright (c) 2008-2019 OpenShot Studios, LLC
//
// SPDX-License-Identifier: LGPL-3.0-or-later
#ifndef OPENSHOT_EFFECT_INFO_H
#define OPENSHOT_EFFECT_INFO_H
#include "Json.h"
namespace openshot
{
class Clip;
class EffectBase;
class EffectInfo
{
public:
EffectBase* CreateEffect(std::string effect_type);
// JSON methods
static std::string Json();
static Json::Value JsonValue();
};
}
#endif
Json.h
Header file for JSON class.
openshot::Clip
This class represents a clip (used to arrange readers on the timeline).
Definition Clip.h:89
openshot::EffectBase
This abstract class is the base class, used by all effects in libopenshot.
Definition EffectBase.h:54
openshot::EffectInfo
This class returns a listing of all effects supported by libopenshot.
Definition EffectInfo.h:29
openshot::EffectInfo::JsonValue
static Json::Value JsonValue()
Generate Json::Value for this object.
Definition EffectInfo.cpp:134
openshot::EffectInfo::Json
static std::string Json()
Generate JSON string of this object.
Definition EffectInfo.cpp:20
openshot::EffectInfo::CreateEffect
EffectBase * CreateEffect(std::string effect_type)
Create an instance of an effect (factory style).
Definition EffectInfo.cpp:27
openshot
This namespace is the default namespace for all code in the openshot library.
Definition Compressor.h:29