blob: cc06d87269136254b1d5803b01b54a937b991b78 [file] [log] [blame]
David Sodmanbbcb0522014-09-19 10:34:07 -07001/*
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
12typedef struct _splash_t splash_t;
13
David Sodmanbf3f2842014-11-12 08:26:58 -080014splash_t* splash_init();
David Sodmanbbcb0522014-09-19 10:34:07 -070015int splash_destroy(splash_t*);
16int splash_add_image(splash_t*, const char* path);
17int splash_set_frame_rate(splash_t *splash, int32_t rate);
18int splash_set_clear(splash_t* splash, int32_t clear_color);
19void splash_set_dbus(splash_t* splash, dbus_t* dbus);
20void splash_set_devmode(splash_t* splash);
21int splash_run(splash_t*, dbus_t **dbus);
22
23#endif // SPLASH_H