
Data Structures | |
| struct | intf_sys_t |
| Per-interface private state. More... | |
Defines | |
| #define | PM_SERVICE "org.freedesktop.PowerManagement" |
| #define | PM_PATH "/org/freedesktop/PowerManagement/Inhibit" |
| #define | PM_INTERFACE "org.freedesktop.PowerManagement.Inhibit" |
Functions | |
| static int | Activate (vlc_object_t *) |
| static void | Deactivate (vlc_object_t *) |
| static int | Inhibit (intf_thread_t *p_intf) |
| static int | UnInhibit (intf_thread_t *p_intf) |
| static int | InputChange (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *) |
| static int | StateChange (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| #define PM_INTERFACE "org.freedesktop.PowerManagement.Inhibit" |
Referenced by Inhibit(), and UnInhibit().
| #define PM_PATH "/org/freedesktop/PowerManagement/Inhibit" |
Referenced by Inhibit(), and UnInhibit().
| #define PM_SERVICE "org.freedesktop.PowerManagement" |
Referenced by Inhibit(), and UnInhibit().
| static int Activate | ( | vlc_object_t * | p_this | ) | [static] |
| static void Deactivate | ( | vlc_object_t * | p_this | ) | [static] |
| static int Inhibit | ( | intf_thread_t * | p_intf | ) | [static] |
References _, intf_sys_t::i_cookie, intf_sys_t::p_conn, intf_thread_t::p_sys, PACKAGE, PM_INTERFACE, PM_PATH, PM_SERVICE, and strdup().
| static int InputChange | ( | vlc_object_t * | p_playlist, | |
| const char * | var, | |||
| vlc_value_t | prev, | |||
| vlc_value_t | value, | |||
| void * | data | |||
| ) | [static] |
References intf_sys_t::p_input, intf_sys_t::p_playlist, intf_thread_t::p_sys, p_sys, playlist_CurrentInput(), StateChange(), var_AddCallback, var_DelCallback, VLC_OBJECT, vlc_object_release, and VLC_SUCCESS.
Referenced by Activate(), and Deactivate().
| static int StateChange | ( | vlc_object_t * | p_input, | |
| const char * | var, | |||
| vlc_value_t | prev, | |||
| vlc_value_t | value, | |||
| void * | data | |||
| ) | [static] |
References intf_sys_t::i_cookie, vlc_value_t::i_int, Inhibit(), intf_thread_t::p_sys, PLAYING_S, UnInhibit(), and VLC_SUCCESS.
| static int UnInhibit | ( | intf_thread_t * | p_intf | ) | [static] |
References intf_sys_t::i_cookie, intf_sys_t::p_conn, intf_thread_t::p_sys, PM_INTERFACE, PM_PATH, and PM_SERVICE.
Referenced by Deactivate(), and StateChange().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6