OpenShot Library | libopenshot
1.1.1
Toggle main menu visibility
Loading...
Searching...
No Matches
OpenShotVersion.h
Go to the documentation of this file.
1
8
9
// Copyright (c) 2008-2019 OpenShot Studios, LLC
10
//
11
// SPDX-License-Identifier: LGPL-3.0-or-later
12
13
#ifndef OPENSHOT_VERSION_H
14
#define OPENSHOT_VERSION_H
15
16
#define OPENSHOT_VERSION_ALL "1.1.1"
17
#define OPENSHOT_VERSION_FULL "1.1.1"
18
#define OPENSHOT_VERSION_MAJOR_MINOR "1.1"
19
20
#define OPENSHOT_VERSION_MAJOR 1
21
#define OPENSHOT_VERSION_MINOR 1
22
#define OPENSHOT_VERSION_BUILD 1
23
#define OPENSHOT_VERSION_SO 33
24
25
// Useful dependency versioning / feature availability
26
/* #undef QT_VERSION_STR */
27
#define AVCODEC_VERSION_STR "63.24.100"
28
#define AVFORMAT_VERSION_STR "63.16.100"
29
#define AVUTIL_VERSION_STR "61.19.100"
30
#define OPENCV_VERSION_STR "4.10.0"
31
#define HAVE_BABL 1
32
#define HAVE_IMAGEMAGICK 1
33
#define HAVE_RESVG 0
34
#define HAVE_OPENCV 1
35
#define FFMPEG_USE_SWRESAMPLE 1
36
#define APPIMAGE_BUILD 0
37
38
#include <string>
39
40
namespace
openshot
41
{
43
struct
OpenShotVersion
{
44
static
const
int
Major
=
OPENSHOT_VERSION_MAJOR
;
45
static
const
int
Minor
=
OPENSHOT_VERSION_MINOR
;
46
static
const
int
Build
=
OPENSHOT_VERSION_BUILD
;
47
static
const
int
So
=
OPENSHOT_VERSION_SO
;
48
50
inline
static
std::string
ToString
() {
51
return
std::to_string(
Major
) +
"."
+ std::to_string(
Minor
) +
"."
+ std::to_string(
Build
);
52
}
53
};
54
55
static
const
openshot::OpenShotVersion
Version;
56
58
openshot::OpenShotVersion
GetVersion
();
59
}
60
61
#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
AnimatedCurve.h:24
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::ToString
static std::string ToString()
Shared Object Number (incremented when API or ABI changes).
Definition
OpenShotVersion.h:50
openshot::OpenShotVersion::Major
static const int Major
Definition
OpenShotVersion.h:44
openshot::OpenShotVersion::Build
static const int Build
Minor version number.
Definition
OpenShotVersion.h:46
debian
build
src
OpenShotVersion.h
Generated by
1.17.0