]> git.sesse.net Git - casparcg/blob - modules/decklink/StdAfx.h
set svn:eol-style native on .h and .cpp files
[casparcg] / modules / decklink / StdAfx.h
1 /*
2 * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
3 *
4 * This file is part of CasparCG (www.casparcg.com).
5 *
6 * CasparCG is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * CasparCG is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * Author: Robert Nagy, ronag89@gmail.com
20 */
21
22 #pragma once
23
24 #ifdef _DEBUG
25 #include <crtdbg.h>
26 #endif
27
28 #define NOMINMAX
29 #define WIN32_LEAN_AND_MEAN
30
31 #include <Windows.h>
32
33 #include <algorithm>
34 #include <array>
35 #include <assert.h>
36 #include <deque>
37 #include <functional>
38 #include <math.h>
39 #include <memory>
40 #include <queue>
41 #include <string>
42 #include <vector>
43 #include <tbb/atomic.h>
44 #include <tbb/concurrent_queue.h>
45 #include <tbb/cache_aligned_allocator.h>
46 #include <boost/assign.hpp>
47 #include <boost/circular_buffer.hpp>
48 #include <boost/timer.hpp>
49 #include <boost/filesystem.hpp>
50 #include <boost/foreach.hpp>
51 #include <boost/range.hpp>
52 #include <boost/range/algorithm.hpp>
53 #include <boost/property_tree/ptree.hpp>
54 #include <boost/algorithm/string.hpp>
55
56 #if defined(_MSC_VER)
57 #pragma warning (push)
58 #pragma warning (disable : 4244)
59 #endif
60 extern "C" 
61 {
62         #define __STDC_CONSTANT_MACROS
63         #define __STDC_LIMIT_MACROS
64         #include <libavcodec/avcodec.h>
65 }
66 #if defined(_MSC_VER)
67 #pragma warning (pop)
68 #endif
69
70 #pragma warning(push)
71 #pragma warning(disable : 4996)
72
73         #include <atlbase.h>
74
75         #include <atlcom.h>
76         #include <atlhost.h>
77
78 #pragma warning(push)
79
80 #include <functional>
81
82
83 #include "../common/memory.h"
84 #include "../common/utf.h"
85 #include "../common/except.h"
86 #include "../common/log.h"