VLC 4.0.0-dev
vlc_inhibit.h File Reference

This file defines the interface for screen-saver inhibition modules. More...

Include dependency graph for vlc_inhibit.h:

Go to the source code of this file.

Data Structures

struct  vlc_inhibit
 

Macros

#define VLC_INHIBIT_AUDIO   (VLC_INHIBIT_SUSPEND)
 
#define VLC_INHIBIT_VIDEO   (VLC_INHIBIT_SUSPEND|VLC_INHIBIT_DISPLAY)
 

Typedefs

typedef struct vlc_inhibit vlc_inhibit_t
 
typedef struct vlc_inhibit_sys vlc_inhibit_sys_t
 

Enumerations

enum  vlc_inhibit_flags { VLC_INHIBIT_NONE =0 , VLC_INHIBIT_SUSPEND =0x1 , VLC_INHIBIT_DISPLAY =0x2 }
 

Functions

static struct vlc_windowvlc_inhibit_GetWindow (vlc_inhibit_t *ih)
 
static void vlc_inhibit_Set (vlc_inhibit_t *ih, unsigned flags)
 

Detailed Description

This file defines the interface for screen-saver inhibition modules.

Macro Definition Documentation

◆ VLC_INHIBIT_AUDIO

#define VLC_INHIBIT_AUDIO   (VLC_INHIBIT_SUSPEND)

◆ VLC_INHIBIT_VIDEO

#define VLC_INHIBIT_VIDEO   (VLC_INHIBIT_SUSPEND|VLC_INHIBIT_DISPLAY)

Typedef Documentation

◆ vlc_inhibit_sys_t

typedef struct vlc_inhibit_sys vlc_inhibit_sys_t

◆ vlc_inhibit_t

typedef struct vlc_inhibit vlc_inhibit_t

Enumeration Type Documentation

◆ vlc_inhibit_flags

Enumerator
VLC_INHIBIT_NONE 
VLC_INHIBIT_SUSPEND 
VLC_INHIBIT_DISPLAY 

Function Documentation

◆ vlc_inhibit_GetWindow()

static struct vlc_window * vlc_inhibit_GetWindow ( vlc_inhibit_t ih)
inlinestatic

References vlc_object_parent.

◆ vlc_inhibit_Set()

static void vlc_inhibit_Set ( vlc_inhibit_t ih,
unsigned  flags 
)
inlinestatic