]> git.sesse.net Git - casparcg/blob - protocol/StdAfx.h
[scene] Fixed incorrectly required attribute in XML Schema
[casparcg] / protocol / 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: Nicklas P Andersson
20 */
21
22 #pragma once
23
24 #define NOMINMAX
25 #define WIN32_LEAN_AND_MEAN
26
27 #if defined(_MSC_VER)
28 #       ifndef _SCL_SECURE_NO_WARNINGS
29 #               define _SCL_SECURE_NO_WARNINGS
30 #       endif
31 #       ifndef _CRT_SECURE_NO_WARNINGS
32 #               define _CRT_SECURE_NO_WARNINGS
33 #       endif
34 #endif
35
36 #if defined _DEBUG && defined _MSC_VER
37 #include <crtdbg.h>
38 #endif
39
40 #include <cstdint>
41 #include <sstream>
42 #include <memory>
43 #include <functional>
44 #include <algorithm>
45 #include <vector>
46 #include <deque>
47 #include <queue>
48 #include <string>
49 #include <set>
50 #include <math.h>
51
52 #include <boost/filesystem.hpp>
53 #include <boost/range/algorithm.hpp>
54
55 #include <common/utf.h>
56 #include <common/memory.h>
57 //#include "../common/executor.h" // Can't include this due to MSVC lambda bug
58
59 #include <common/log.h>
60 #include <common/except.h>
61
62 #include <assert.h>