Add support for actions triggered by key combination

Change-Id: I9dfa7de40229f00412d63fc9c1eb3a809a6eb2e6
Signed-off-by: Vojtech Bocek <>
diff --git a/twrp-functions.hpp b/twrp-functions.hpp
index 64a45f5..ff11763 100644
--- a/twrp-functions.hpp
+++ b/twrp-functions.hpp
@@ -80,6 +80,7 @@
 	static string Get_Current_Date(void);                               // Returns the current date in ccyy-m-dd--hh-nn-ss format
 	static void Auto_Generate_Backup_Name();                            // Populates TW_BACKUP_NAME with a backup name based on current date and from /system/build.prop
 	static void Fixup_Time_On_Boot(); // Fixes time on devices which need it
+	static std::vector<std::string> Split_String(const std::string& str, const std::string& delimiter, bool removeEmpty = true); // Splits string by delimiter
 	static void Copy_Log(string Source, string Destination);