DeviceEx.h 428 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include <string>
  3. #include "PlayerMacros.h"
  4. #include "SimulatorExport.h"
  5. PLAYER_NS_BEGIN
  6. class CC_LIBSIM_DLL DeviceEx
  7. {
  8. public:
  9. static DeviceEx *getInstance();
  10. std::string getCurrentUILangName();
  11. std::string getUserGUID();
  12. private:
  13. DeviceEx();
  14. void init();
  15. void makeUILangName();
  16. std::string makeUserGUID();
  17. std::string _uiLangName;
  18. std::string _userGUID;
  19. };
  20. PLAYER_NS_END