2023-12-01 17:32:19 +00:00
|
|
|
// Copyright 2015 Google LLC. All rights reserved.
|
2015-12-21 23:10:17 +00:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
|
2023-12-01 17:32:19 +00:00
|
|
|
#ifndef PACKAGER_VERSION_VERSION_H_
|
|
|
|
#define PACKAGER_VERSION_VERSION_H_
|
|
|
|
|
2016-07-07 19:34:07 +00:00
|
|
|
#include <string>
|
|
|
|
|
2016-05-20 21:19:33 +00:00
|
|
|
namespace shaka {
|
2015-12-21 23:10:17 +00:00
|
|
|
|
2016-07-07 19:34:07 +00:00
|
|
|
/// @return URL of shaka-packager project.
|
|
|
|
std::string GetPackagerProjectUrl();
|
|
|
|
|
|
|
|
/// @return The version string.
|
|
|
|
std::string GetPackagerVersion();
|
|
|
|
|
|
|
|
/// Set version for testing.
|
|
|
|
/// @param version contains the injected testing version.
|
|
|
|
void SetPackagerVersionForTesting(const std::string& version);
|
2015-12-21 23:10:17 +00:00
|
|
|
|
2016-05-20 21:19:33 +00:00
|
|
|
} // namespace shaka
|
2023-12-01 17:32:19 +00:00
|
|
|
|
|
|
|
#endif // PACKAGER_VERSION_VERSION_H_
|