Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
tools
skslc
ProcessWorklist.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkProcessWorklist_DEFINED
9
#define SkProcessWorklist_DEFINED
10
11
#include "
include/core/SkSpan.h
"
12
13
#include <functional>
14
#include <string>
15
16
enum class
ResultCode
{
17
kSuccess
= 0,
18
kCompileError
= 1,
19
kInputError
= 2,
20
kOutputError
= 3,
21
kConfigurationError
= 4,
22
};
23
24
/**
25
* Processes multiple inputs in a single invocation by reading a worklist file.
26
* The processCommand is invoked with a set of arguments, read from the worklist.
27
* A blank line is used to separate one group of arguments from the next group.
28
*/
29
ResultCode
ProcessWorklist
(
30
const
char
* worklistPath,
31
const
std::function<
ResultCode
(
SkSpan<std::string>
args
)>& processCommandFn);
32
33
#endif
ResultCode
ResultCode
Definition
ProcessWorklist.h:16
ResultCode::kOutputError
@ kOutputError
ResultCode::kSuccess
@ kSuccess
ResultCode::kInputError
@ kInputError
ResultCode::kCompileError
@ kCompileError
ResultCode::kConfigurationError
@ kConfigurationError
ProcessWorklist
ResultCode ProcessWorklist(const char *worklistPath, const std::function< ResultCode(SkSpan< std::string > args)> &processCommandFn)
Definition
ProcessWorklist.cpp:15
SkSpan.h
SkSpan
Definition
SkSpan_impl.h:65
args
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
Definition
fl_event_channel.h:89
Generated on Fri Apr 26 2024 06:18:13 for Flutter Engine by
1.9.8