aboutsummaryrefslogtreecommitdiff
path: root/src/inhibit_screensaver.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-09-17 22:38:50 +0200
committerThomas White <taw@bitwiz.org.uk>2013-09-17 22:38:50 +0200
commita91aa0a9e947831f618e4c5e608c56742273d8b9 (patch)
tree6954ef762d8653b11c1d917927dbe41601b88ef0 /src/inhibit_screensaver.h
parent4e90a9c416a66e3ab6170e2a557d8966d93fbbd2 (diff)
Inhibit screensaver when slideshow is running
Diffstat (limited to 'src/inhibit_screensaver.h')
-rw-r--r--src/inhibit_screensaver.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/inhibit_screensaver.h b/src/inhibit_screensaver.h
new file mode 100644
index 0000000..0a62adc
--- /dev/null
+++ b/src/inhibit_screensaver.h
@@ -0,0 +1,36 @@
+/*
+ * inhibit_screensaver.h
+ *
+ * Copyright © 2013 Thomas White <taw@bitwiz.org.uk>
+ *
+ * This file is part of Colloquium.
+ *
+ * Colloquium is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef INHIBIT_SCREENSAVER_H
+#define INHIBIT_SCREENSAVER_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+struct inhibit_sys;
+
+extern void do_inhibit(struct inhibit_sys *sys, int flags);
+extern void inhibit_cleanup(struct inhibit_sys *sys);
+extern struct inhibit_sys *inhibit_prepare(void);
+
+#endif /* INHIBIT_SCREENSAVER_H */