27 lines
694 B
C++
27 lines
694 B
C++
// Copyright 2015 Google LLC. All rights reserved.
|
|
//
|
|
// 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
|
|
|
|
#ifndef PACKAGER_VERSION_VERSION_H_
|
|
#define PACKAGER_VERSION_VERSION_H_
|
|
|
|
#include <string>
|
|
|
|
namespace shaka {
|
|
|
|
/// @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);
|
|
|
|
} // namespace shaka
|
|
|
|
#endif // PACKAGER_VERSION_VERSION_H_
|