中间件标准版5.1git,去除基础模块

AutoStart.h 507B

123456789101112131415161718192021222324252627282930
  1. /****************************************
  2. 自动启动头文件
  3. 2017.6.6
  4. ****************************************/
  5. #pragma once
  6. #include <vector>
  7. using namespace std;
  8. class AutoStart
  9. {
  10. public:
  11. AutoStart(void);
  12. ~AutoStart(void);
  13. public:
  14. static AutoStart* GetInstance();
  15. bool StartAll();
  16. private:
  17. void ReadDataFromtxt();
  18. private:
  19. int m_Conut; //exe数量
  20. int m_TimeDelay; //程序启动间隔时间
  21. int m_PowerTimeDelay; //开启后延迟启动时间
  22. vector<CString> m_ExeNameVec; //exe列表
  23. };