-rw-r--r-- | hwc2/common/devices/PhysicalDevice.cpp | 12 | ||||
-rw-r--r-- | hwc2/common/utils/Utils.cpp | 8 | ||||
-rw-r--r-- | hwc2/common/utils/Utils.h | 1 | ||||
-rw-r--r-- | hwc2/include/PhysicalDevice.h | 4 |
4 files changed, 23 insertions, 2 deletions
diff --git a/hwc2/common/utils/Utils.h b/hwc2/common/utils/Utils.h index 6894dfb..8e55e63 100644 --- a/hwc2/common/utils/Utils.h +++ b/hwc2/common/utils/Utils.h @@ -43,6 +43,7 @@ public: static int get_int_prop(const char* prop); static bool get_bool_prop(const char* prop); + static bool get_str_prop(const char *key, char *value, const char *def); static int getSysfsInt(const char* syspath, int def); static int getSysfsStr(const char* syspath, char *valstr, int size, |