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
7
#include "
flutter/common/settings.h
"
8
#include "
flutter/fml/command_line.h
"
9
#include "
flutter/shell/common/switch_defs.h
"
10
11
#ifndef FLUTTER_SHELL_COMMON_SWITCHES_H_
12
#define FLUTTER_SHELL_COMMON_SWITCHES_H_
13
14
namespace
flutter
{
15
16
void
PrintUsage
(
const
std::string& executable_name);
17
18
const
std::string_view
FlagForSwitch
(Switch swtch);
19
20
Settings
SettingsFromCommandLine
(
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_
fml::CommandLine
Definition
command_line.h:56
PrintUsage
void PrintUsage()
Definition
main.cc:159
command_line.h
flutter
Definition
asset_manager.cc:10
flutter::SettingsFromCommandLine
Settings SettingsFromCommandLine(const fml::CommandLine &command_line, bool require_merged_platform_ui_thread)
Definition
switches.cc:230
flutter::FlagForSwitch
const std::string_view FlagForSwitch(Switch swtch)
Definition
switches.cc:146
settings.h
switch_defs.h
shell
common
switches.h
Generated on Thu Nov 6 2025 16:11:23 for Flutter Engine by
1.9.8