summaryrefslogtreecommitdiffstats
path: root/twrp-functions.hpp
diff options
context:
space:
mode:
authorJenkins <bigbiff@teamw.in>2014-10-03 02:22:21 +0200
committerDees Troy <dees_troy@teamw.in>2014-10-14 15:08:11 +0200
commit1710bf254756d49355e9156ba1907545addfb319 (patch)
tree063fab21b02cb2a9ded53535ad19a4b4746f8a07 /twrp-functions.hpp
parentAdd support for TrueType fonts (diff)
downloadandroid_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.gz
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.bz2
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.lz
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.xz
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.zst
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.zip
Diffstat (limited to 'twrp-functions.hpp')
-rw-r--r--twrp-functions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/twrp-functions.hpp b/twrp-functions.hpp
index de14d943f..1cc531c79 100644
--- a/twrp-functions.hpp
+++ b/twrp-functions.hpp
@@ -86,6 +86,7 @@ public:
static bool Create_Dir_Recursive(const std::string& path, mode_t mode = 0755, uid_t uid = -1, gid_t gid = -1); // Create directory and it's parents, if they don't exist. mode, uid and gid are set to all _newly_ created folders. If whole path exists, do nothing.
static int Set_Brightness(std::string brightness_value); // Well, you can read, it does what it says, passing return int from TWFunc::Write_File ;)
static bool Toggle_MTP(bool enable); // Disables MTP if enable is false and re-enables MTP if enable is true and it was enabled the last time it was toggled off
+ static std::string to_string(unsigned long value); //convert ul to string
static void SetPerformanceMode(bool mode); // support recovery.perf.mode