20 lines
437 B
C++
20 lines
437 B
C++
// Copyright (c) 2013 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "atom/app/atom_main_args.h"
|
|
|
|
namespace atom {
|
|
|
|
// static
|
|
std::vector<const char*> AtomCommandLine::argv_;
|
|
|
|
// static
|
|
void AtomCommandLine::Init(int argc, const char* argv[]) {
|
|
argv_.reserve(argc);
|
|
for (int i = 0; i < argc; ++i) {
|
|
argv_.push_back(argv[i]);
|
|
}
|
|
}
|
|
|
|
} // namespace atom
|