Flutter Engine
fl_renderer_headless.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 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_HEADLESS_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_HEADLESS_H_
7 
8 #include "flutter/shell/platform/linux/fl_renderer.h"
9 
10 G_BEGIN_DECLS
11 
12 G_DECLARE_FINAL_TYPE(FlRendererHeadless,
13  fl_renderer_headless,
14  FL,
15  RENDERER_HEADLESS,
16  FlRenderer)
17 
18 /**
19  * FlRendererHeadless:
20  *
21  * #FlRendererHeadless is an implementation of #FlRenderer that works without a
22  * display.
23  */
24 
25 /**
26  * fl_renderer_headless_new:
27  *
28  * Creates an object that allows Flutter to operate without a display.
29  *
30  * Returns: a new #FlRendererHeadless.
31  */
32 FlRendererHeadless* fl_renderer_headless_new();
33 
34 G_END_DECLS
35 
36 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_HEADLESS_H_
FlRendererHeadless * fl_renderer_headless_new()
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlRendererHeadless, fl_renderer_headless, FL, RENDERER_HEADLESS, FlRenderer) FlRendererHeadless *fl_renderer_headless_new()
G_BEGIN_DECLS FL