pch.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // pch.h: 这是预编译标头文件。
  2. // 下方列出的文件仅编译一次,提高了将来生成的生成性能。
  3. // 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
  4. // 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
  5. // 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
  6. #ifndef PCH_H
  7. #define PCH_H
  8. // 添加要在此处预编译的标头
  9. #include "framework.h"
  10. #include <string>
  11. #include <vector>
  12. #include <thread>
  13. #include <Dbt.h> // 设备头文件;
  14. #include <queue>
  15. #include <map>
  16. #include "Global.h"
  17. using namespace std;
  18. #include <imm.h>
  19. #pragma comment(lib,"Imm32.lib")
  20. #include "OTA.h"
  21. #include <afxcontrolbars.h>
  22. #include "db.h"
  23. extern COTA g_ota;
  24. extern CSIACP g_siacp;
  25. extern MIDInfo g_midInfo;
  26. extern CDataImpl g_db;
  27. // 某机芯要求处理;
  28. #define DEL_CLIENT_TYPE_ERROR_LOG 1 // 去除Client type读取失败后,打印红色的出错日志;改为正常颜色日志输出,防止厂线员工有疑问;
  29. #define ENABLE_CHASSIS_CONFIG 0
  30. #define ENABLE_VCODE 0
  31. #define SAVE_AUTO_ONLINE 1
  32. #endif //PCH_H