7 #ifndef _NIM_SDK_CPP_TOOL_H_
8 #define _NIM_SDK_CPP_TOOL_H_
23 class NIM_SDK_CPPWRAPPER_DLL_API
Tool {
35 static std::string GetUserAppdataDir(
const std::string& app_account);
43 static std::string GetSpecificAppdataDir(
const std::string app_account,
enum NIMAppDataType appdata_type);
49 static std::string GetLocalAppdataDir();
55 static std::string GetCurModuleDir();
62 static std::string GetMd5(
const std::string& input);
69 static std::string GetFileMd5(
const std::string& file_path);
75 static std::string GetUuid();
106 static void FilterClientAntispam(
const std::string& text,
107 const std::string& replace_str,
108 const std::string& lib_name,
121 #endif //_NIM_SDK_CPP_TOOL_H_