Julius Werner | aa27929 | 2019-07-18 19:33:16 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 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 | #include <stdlib.h> |
| 8 | #include <stdbool.h> |
| 9 | |
| 10 | bool dbus_init() |
| 11 | { |
| 12 | return true; |
| 13 | } |
| 14 | |
| 15 | bool dbus_init_wait() |
| 16 | { |
| 17 | return true; |
| 18 | } |
| 19 | |
| 20 | void dbus_destroy(void) |
| 21 | { |
| 22 | } |
| 23 | |
| 24 | void dbus_add_fds(fd_set* read_set, fd_set* exception_set, int *maxfd) |
| 25 | { |
| 26 | } |
| 27 | |
| 28 | void dbus_dispatch_io(void) |
| 29 | { |
| 30 | } |
| 31 | |
| 32 | void dbus_report_user_activity(int activity_type) |
| 33 | { |
| 34 | } |
| 35 | |
| 36 | bool dbus_take_display_ownership(void) |
| 37 | { |
| 38 | return true; |
| 39 | } |
| 40 | |
| 41 | bool dbus_release_display_ownership(void) |
| 42 | { |
| 43 | return true; |
| 44 | } |
| 45 | |
| 46 | bool dbus_is_initialized(void) |
| 47 | { |
| 48 | return true; |
| 49 | } |
| 50 | |
| 51 | void dbus_set_login_prompt_visible_callback(void (*callback)(void)) |
| 52 | { |
| 53 | } |
| 54 | |
| 55 | void dbus_set_suspend_done_callback(void (*callback)(void*), |
| 56 | void* userptr) |
| 57 | { |
| 58 | } |