Open Broadcaster Software
Free, open source software for live streaming and recording
obs-config.h
Go to the documentation of this file.
1
/******************************************************************************
2
Copyright (C) 2014 by Hugh Bailey <obs.jim@gmail.com>
3
4
This program is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 2 of the License, or
7
(at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program. If not, see <http://www.gnu.org/licenses/>.
16
******************************************************************************/
17
18
#pragma once
19
20
/*
21
* LIBOBS_API_VER is returned by module_version in each module.
22
*
23
* Libobs uses semantic versioning. See http://semver.org/ for more
24
* information.
25
*/
26
27
/*
28
* Increment if major breaking API changes
29
*/
30
#define LIBOBS_API_MAJOR_VER 22
31
32
/*
33
* Increment if backward-compatible additions
34
*
35
* Reset to zero each major version
36
*/
37
#define LIBOBS_API_MINOR_VER 0
38
39
/*
40
* Increment if backward-compatible bug fix
41
*
42
* Reset to zero each major or minor version
43
*/
44
#define LIBOBS_API_PATCH_VER 3
45
46
#define MAKE_SEMANTIC_VERSION(major, minor, patch) \
47
((major << 24) | \
48
(minor << 16) | \
49
patch )
50
51
#define LIBOBS_API_VER \
52
MAKE_SEMANTIC_VERSION(LIBOBS_API_MAJOR_VER, \
53
LIBOBS_API_MINOR_VER, \
54
LIBOBS_API_PATCH_VER)
55
56
#ifdef HAVE_OBSCONFIG_H
57
# include "obsconfig.h"
58
#else
59
# define OBS_VERSION "unknown"
60
# define OBS_DATA_PATH "../../data"
61
# define OBS_INSTALL_PREFIX ""
62
# define OBS_PLUGIN_DESTINATION "obs-plugins"
63
# define OBS_RELATIVE_PREFIX "../../"
64
# define OBS_RELEASE_CANDIDATE_MAJOR 0
65
# define OBS_RELEASE_CANDIDATE_MINOR 0
66
# define OBS_RELEASE_CANDIDATE_PATCH 0
67
# define OBS_RELEASE_CANDIDATE_VER 0
68
# define OBS_RELEASE_CANDIDATE 0
69
#endif
70
71
#define OBS_INSTALL_DATA_PATH OBS_INSTALL_PREFIX OBS_DATA_PATH
libobs
obs-config.h
Generated on Thu Oct 11 2018 05:19:38 for Open Broadcaster Software by
1.8.14