aboutsummaryrefslogtreecommitdiff
path: root/src/flashlight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flashlight.h')
-rw-r--r--src/flashlight.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/flashlight.h b/src/flashlight.h
index 19f738e..2d2c3ff 100644
--- a/src/flashlight.h
+++ b/src/flashlight.h
@@ -41,8 +41,16 @@ flashlight_supported();
gboolean
flashlight_activated();
+#ifdef ENABLE_LIBGBINDER
+int
+flashlight_camera_hal_supported();
+
+int
+flashlight_camera_hal_set(int enable);
+#endif
+
enum
-TorchType { SIMPLE = 1, QCOM };
+TorchType { SIMPLE = 1, QCOM, CAMERA_HAL };
G_END_DECLS