Flutter Engine
 
Loading...
Searching...
No Matches
switches.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include <string_view>
6
10
11#ifndef FLUTTER_SHELL_COMMON_SWITCHES_H_
12#define FLUTTER_SHELL_COMMON_SWITCHES_H_
13
14namespace flutter {
15
16void PrintUsage(const std::string& executable_name);
17
18const std::string_view FlagForSwitch(Switch swtch);
19
21 const fml::CommandLine& command_line,
22 bool require_merged_platform_ui_thread = false);
23
24} // namespace flutter
25
26#endif // FLUTTER_SHELL_COMMON_SWITCHES_H_
void PrintUsage()
Definition main.cc:159
Settings SettingsFromCommandLine(const fml::CommandLine &command_line, bool require_merged_platform_ui_thread)
Definition switches.cc:230
const std::string_view FlagForSwitch(Switch swtch)
Definition switches.cc:146