kodi
CompileInfo.h
1 /*
2  * Copyright (C) 2014-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include <string>
12 #include <vector>
13 
14 namespace ADDON
15 {
16 struct RepoInfo;
17 }
18 
20 {
21 public:
22  static int GetMajor();
23  static int GetMinor();
24  static const char* GetPackage();
25  static const char* GetClass();
26  static const char* GetAppName();
27  static const char* GetSuffix(); // Git "Tag", e.g. alpha1
28  static const char* GetSCMID(); // Git Revision
29  static std::string GetSharedLibrarySuffix();
30  static const char* GetCopyrightYears();
31  static std::string GetBuildDate();
32  static const char* GetVersionCode();
33  static std::vector<std::string> GetAvailableWindowSystems();
34  static std::vector<std::string> GetAvailableAudioBackends();
35  static std::vector<std::string> GetAvailableGlInterfaces();
36  static std::vector<ADDON::RepoInfo> LoadOfficialRepoInfos();
37  static std::string GetPythonVersion();
38  static std::vector<std::string> GetWebserverExtraWhitelist();
39 };
Definition: CompileInfo.h:19
Definition: Addon.cpp:39