stdafx.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // pch.h: 这是预编译标头文件。
  2. // 下方列出的文件仅编译一次,提高了将来生成的生成性能。
  3. // 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
  4. // 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
  5. // 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
  6. #ifndef PCH_H
  7. #define PCH_H
  8. // 添加要在此处预编译的标头
  9. #include "framework.h"
  10. #include <thread>
  11. #include <future> // std::async, std::future
  12. #include <chrono>
  13. #include <mutex>
  14. #include <condition_variable>
  15. using namespace std;
  16. using namespace chrono;
  17. // 启停停靠窗口;
  18. #define __DOCKINGBAR__ 1
  19. // 启停导航栏;
  20. #define __OUTLOOKBAR__ 0
  21. // 启停标题栏;
  22. #define __CAPTIONBAR__ 0
  23. // 快速访问工具栏
  24. #define __QUICKACCESS_COMMAND__ 0
  25. //////////////////////////////////////////////////////////////////////////
  26. // START;
  27. #include <VFW.H>
  28. //#include "AMESDK.H"
  29. #include "QCAP.H"
  30. #define FREE( p ) { if( p ) { free( p ); p = NULL; } }
  31. // SET INITIAL PARAMETER VALUES
  32. // CY3014 USB
  33. #define SC_DEFAULT_STANDARD 0 // 0 = NTSC / 1 = PALB
  34. #define SC_DEFAULT_INPUT_SUPPORT 0x00000000 // HDMI
  35. #define DEFAULT_PRODUCT "StreamCatcher QCAP - UB658G"
  36. #define DEFAULT_PRODUCT_VERSION ""
  37. // END
  38. //////////////////////////////////////////////////////////////////////////
  39. #include "Global.h"
  40. #include <afxcontrolbars.h>
  41. #endif //PCH_H