aboutsummaryrefslogtreecommitdiff
path: root/src/flashlight.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:41 +0200
commit046a91ec739efdf1504e8716a28cec2fd5782303 (patch)
tree5e2c48a3dcd5992e4c190609484706a69d3393f8 /src/flashlight.h
parent92ac2554299affa7980dd754dfa5745ce1571bdd (diff)
parentd5a53027e58b6153b86b6c4b832cfd393bcdefb0 (diff)
downloadayatana-indicator-power-046a91ec739efdf1504e8716a28cec2fd5782303.tar.gz
ayatana-indicator-power-046a91ec739efdf1504e8716a28cec2fd5782303.tar.bz2
ayatana-indicator-power-046a91ec739efdf1504e8716a28cec2fd5782303.zip
Merge branch 'tari01-pr/ubports-patches'
Attributes GH PR #33: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/33
Diffstat (limited to 'src/flashlight.h')
-rw-r--r--src/flashlight.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/flashlight.h b/src/flashlight.h
index 51ed5e7..19f738e 100644
--- a/src/flashlight.h
+++ b/src/flashlight.h
@@ -24,6 +24,12 @@
G_BEGIN_DECLS
+int
+toggle_flashlight_action_qcom();
+
+int
+toggle_flashlight_action_simple();
+
void
toggle_flashlight_action(GAction *action,
GVariant *parameter G_GNUC_UNUSED,
@@ -35,6 +41,9 @@ flashlight_supported();
gboolean
flashlight_activated();
+enum
+TorchType { SIMPLE = 1, QCOM };
+
G_END_DECLS
#endif /* INDICATOR_POWER_FLASHLIGHT__H */