From 2673cec07a4740f86438b50cfe1b70b258a9a8c8 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 2 Apr 2013 20:22:16 +0000 Subject: Move all AOSP code out of recovery binary Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0 --- data.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data.hpp') diff --git a/data.hpp b/data.hpp index b540675cd..ff50373bb 100644 --- a/data.hpp +++ b/data.hpp @@ -33,6 +33,7 @@ public: // Core get routines static int GetValue(const string varName, string& value); static int GetValue(const string varName, int& value); + static int GetValue(const string varName, float& value); static unsigned long long GetValue(const string varName, unsigned long long& value); // This is a dangerous function. It will create the value if it doesn't exist so it has a valid c_str @@ -47,6 +48,8 @@ public: static int SetValue(const string varName, int value, int persist = 0); static int SetValue(const string varName, float value, int persist = 0); static int SetValue(const string varName, unsigned long long value, int persist = 0); + static int SetProgress(float Fraction); + static int ShowProgress(float Portion, float Seconds); static void DumpValues(); static void update_tz_environment_variables(); -- cgit v1.2.3