summaryrefslogtreecommitdiff
path: root/include/tablet_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tablet_mode.h')
-rw-r--r--include/tablet_mode.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/tablet_mode.h b/include/tablet_mode.h
new file mode 100644
index 0000000000..6f4ee95e1e
--- /dev/null
+++ b/include/tablet_mode.h
@@ -0,0 +1,12 @@
+/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Header for tablet_mode.c */
+
+/* Return 1 if in tablet mode, 0 otherwise */
+int tablet_get_mode(void);
+void tablet_set_mode(int mode);
+
+