stdafx.h 767 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. //
  5. #pragma once
  6. #include "targetver.h"
  7. #include <stdio.h>
  8. #include <tchar.h>
  9. #include <Windows.h>
  10. #include "cJSON.h"
  11. #include<atltime.h>
  12. #include <string>
  13. #include <vector>
  14. using namespace std;
  15. #ifdef _UNICODE
  16. typedef wstring TString;
  17. #else
  18. typedef string TString;
  19. #endif
  20. #include <Shlwapi.h>
  21. #pragma comment(lib,"Shlwapi.lib")
  22. typedef struct ITEM{
  23. TString strName;
  24. TString strCTime;
  25. TString strWTime;
  26. TString strATime;
  27. }Item, *pItem;
  28. typedef struct FOLDER{
  29. TString strName;
  30. TString strFolder;
  31. vector<Item> items;
  32. }Folder, *pFolder;
  33. typedef struct CONFIG{
  34. BOOL enable;
  35. vector<Folder> folders;
  36. }Config, *pConfig;
  37. // TODO: 在此处引用程序需要的其他头文件