SystemProperties.h 484 B

1234567891011121314151617181920
  1. /*
  2. * SystemProperties.h
  3. *
  4. * Created on: Aug 19, 2017
  5. * Author: guoxs
  6. */
  7. #ifndef _OS_SYSTEM_PROPERTIES_H_
  8. #define _OS_SYSTEM_PROPERTIES_H_
  9. class SystemProperties {
  10. public:
  11. static int setInt(const char *key, const int value);
  12. static int getInt(const char *key, int *value, const int defValue);
  13. static int setString(const char *key, const char *value);
  14. static int getString(const char *key, char *value, const char *defValue);
  15. };
  16. #endif /* _OS_SYSTEM_PROPERTIES_H_ */