electron/brightray/common/application_info.cc

27 lines
593 B
C++
Raw Normal View History

#include "brightray/common/application_info.h"
namespace brightray {
namespace {
std::string g_overridden_application_name;
std::string g_overridden_application_version;
}
void OverrideApplicationName(const std::string& name) {
g_overridden_application_name = name;
}
std::string GetOverriddenApplicationName() {
return g_overridden_application_name;
}
void OverrideApplicationVersion(const std::string& version) {
g_overridden_application_version = version;
}
std::string GetOverriddenApplicationVersion() {
return g_overridden_application_version;
}
} // namespace brightray