From: Cheng Zhao Date: Tue, 31 Dec 2013 12:24:30 +0000 (+0000) Subject: linux: Implement brightray's stub functions. X-Git-Tag: v0.10.0~6^2~40 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=66ac11ca5faf244e10a20773b0320343e02cac7c;p=electron.git linux: Implement brightray's stub functions. --- diff --git a/atom.gyp b/atom.gyp index 75076d98..935938f1 100644 --- a/atom.gyp +++ b/atom.gyp @@ -153,6 +153,7 @@ 'common/crash_reporter/win/crash_service_main.h', 'common/draggable_region.cc', 'common/draggable_region.h', + 'common/linux/application_info.cc', 'common/node_bindings.cc', 'common/node_bindings.h', 'common/node_bindings_mac.cc', diff --git a/common/linux/application_info.cc b/common/linux/application_info.cc new file mode 100644 index 00000000..93d33b56 --- /dev/null +++ b/common/linux/application_info.cc @@ -0,0 +1,19 @@ +// Copyright (c) 2013 GitHub, Inc. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include + +#include "common/atom_version.h" + +namespace brightray { + +std::string GetApplicationName() { + return "Atom-Shell"; +} + +std::string GetApplicationVersion() { + return ATOM_VERSION_STRING; +} + +} // namespace brightray