linux: Implement brightray's stub functions.

This commit is contained in:
Cheng Zhao 2013-12-31 12:24:30 +00:00
parent 7afef0fcdb
commit 66ac11ca5f
2 changed files with 20 additions and 0 deletions

View file

@ -153,6 +153,7 @@
'common/crash_reporter/win/crash_service_main.h', 'common/crash_reporter/win/crash_service_main.h',
'common/draggable_region.cc', 'common/draggable_region.cc',
'common/draggable_region.h', 'common/draggable_region.h',
'common/linux/application_info.cc',
'common/node_bindings.cc', 'common/node_bindings.cc',
'common/node_bindings.h', 'common/node_bindings.h',
'common/node_bindings_mac.cc', 'common/node_bindings_mac.cc',

View file

@ -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 <string>
#include "common/atom_version.h"
namespace brightray {
std::string GetApplicationName() {
return "Atom-Shell";
}
std::string GetApplicationVersion() {
return ATOM_VERSION_STRING;
}
} // namespace brightray