d78d0072a0
These fucntions prevent the computer from going to sleep, hibernating, or starting up a screen saver. On linux, it will also attempt to use DBus to prevent gnome/kde/etc sleep, but it's not necessarily required in order to compile the library. Otherwise, it will simply call "xdg-screensaver reset" once every 30 seconds to reset the screensaver timer.
11 lines
329 B
C
11 lines
329 B
C
|
|
#pragma once
|
|
|
|
#define OBS_VERSION "@OBS_VERSION@"
|
|
#define OBS_DATA_PATH "@OBS_DATA_PATH@"
|
|
#define OBS_INSTALL_PREFIX "@OBS_INSTALL_PREFIX@"
|
|
#define OBS_PLUGIN_DESTINATION "@OBS_PLUGIN_DESTINATION@"
|
|
#define OBS_RELATIVE_PREFIX "@OBS_RELATIVE_PREFIX@"
|
|
#define OBS_UNIX_STRUCTURE @OBS_UNIX_STRUCTURE@
|
|
#define HAVE_DBUS @HAVE_DBUS@
|