CcosGeneralDefine_V3.h 663 B

12345678910111213141516171819
  1. #pragma once
  2. #include <string>
  3. #include <list>
  4. #include "ResDataObject.h"
  5. using std::string;
  6. // Linux兼容类型定义
  7. using HMODULE = void*;
  8. //��ȡ��־����·��
  9. string GetProcessDirectory();
  10. //��ȡ�����ļ���ָ��ģ��İ汾��
  11. bool GetVersion(string& version, HMODULE hMyModule);
  12. bool GetVersion(string& version, ResDataObject& config);
  13. bool GetVersion(string& version);
  14. //��ָ���ָ����ض��ַ���
  15. void StrSubstrData(const char* strData, char delimiter, std::vector<string>& array);
  16. void StrSubstrData(const char* strData, char delimiter, std::list<string>& array);