David Sodman | bbcb052 | 2014-09-19 10:34:07 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 The Chromium OS Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | #ifndef SPLASH_H |
| 8 | #define SPLASH_H |
| 9 | |
| 10 | #include "video.h" |
| 11 | |
| 12 | typedef struct _splash_t splash_t; |
| 13 | |
David Sodman | bf3f284 | 2014-11-12 08:26:58 -0800 | [diff] [blame] | 14 | splash_t* splash_init(); |
David Sodman | bbcb052 | 2014-09-19 10:34:07 -0700 | [diff] [blame] | 15 | int splash_destroy(splash_t*); |
| 16 | int splash_add_image(splash_t*, const char* path); |
| 17 | int splash_set_frame_rate(splash_t *splash, int32_t rate); |
| 18 | int splash_set_clear(splash_t* splash, int32_t clear_color); |
| 19 | void splash_set_dbus(splash_t* splash, dbus_t* dbus); |
| 20 | void splash_set_devmode(splash_t* splash); |
| 21 | int splash_run(splash_t*, dbus_t **dbus); |
| 22 | |
| 23 | #endif // SPLASH_H |