Loading...
Searching...
No Matches
OpenShotVersion.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_VERSION_H
#define OPENSHOT_VERSION_H
#define OPENSHOT_VERSION_ALL "0.3.3"
#define OPENSHOT_VERSION_FULL "0.3.3"
#define OPENSHOT_VERSION_MAJOR_MINOR "0.3"
#define OPENSHOT_VERSION_MAJOR 0
#define OPENSHOT_VERSION_MINOR 3
#define OPENSHOT_VERSION_BUILD 3
#define OPENSHOT_VERSION_SO 26
// Useful dependency versioning / feature availability
#define QT_VERSION_STR "5.15.15"
#define AVCODEC_VERSION_STR "61.19.101"
#define AVFORMAT_VERSION_STR "61.7.100"
#define AVUTIL_VERSION_STR "59.39.100"
/* #undef OPENCV_VERSION_STR */
#define HAVE_BABL 0
#define HAVE_IMAGEMAGICK 1
#define HAVE_RESVG 0
#define HAVE_OPENCV 0
#define FFMPEG_USE_SWRESAMPLE 1
#define APPIMAGE_BUILD 0
#include <sstream>
namespace openshot
{
struct OpenShotVersion {
static const int Major = OPENSHOT_VERSION_MAJOR;
static const int Minor = OPENSHOT_VERSION_MINOR;
static const int Build = OPENSHOT_VERSION_BUILD;
static const int So = OPENSHOT_VERSION_SO;
inline static const std::string ToString() {
std::stringstream version_string;
version_string << Major << "." << Minor << "." << Build;
return version_string.str();
}
};
static const openshot::OpenShotVersion Version;
openshot::OpenShotVersion GetVersion();
}
#endif // OPENSHOT_VERSION_H
OPENSHOT_VERSION_SO
#define OPENSHOT_VERSION_SO
Definition OpenShotVersion.h:23
OPENSHOT_VERSION_BUILD
#define OPENSHOT_VERSION_BUILD
Definition OpenShotVersion.h:22
OPENSHOT_VERSION_MINOR
#define OPENSHOT_VERSION_MINOR
Definition OpenShotVersion.h:21
OPENSHOT_VERSION_MAJOR
#define OPENSHOT_VERSION_MAJOR
Definition OpenShotVersion.h:20
openshot
This namespace is the default namespace for all code in the openshot library.
Definition Compressor.h:29
openshot::GetVersion
OpenShotVersion GetVersion()
Get the current version number of libopenshot (major, minor, and build number)
Definition OpenShotVersion.cpp:17
openshot::OpenShotVersion
This struct holds version number information. Use the GetVersion() method to access the current versi...
Definition OpenShotVersion.h:43
openshot::OpenShotVersion::Minor
static const int Minor
Major version number.
Definition OpenShotVersion.h:45
openshot::OpenShotVersion::So
static const int So
Build number.
Definition OpenShotVersion.h:47
openshot::OpenShotVersion::Major
static const int Major
Definition OpenShotVersion.h:44
openshot::OpenShotVersion::ToString
static const std::string ToString()
Shared Object Number (incremented when API or ABI changes)
Definition OpenShotVersion.h:50
openshot::OpenShotVersion::Build
static const int Build
Minor version number.
Definition OpenShotVersion.h:46