X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fdecklink%2FStdAfx.h;h=f84755efc1fe8a6a8fea200b55b9b1c0d3ff6231;hb=c4edb05bbed7276f5956e8d2995c40d71a9f065f;hp=75da809c1147e3d8ee1bc7705b87de29f8326ffa;hpb=745f022a44f0d347e56acbbd597ff71e06eab894;p=casparcg diff --git a/modules/decklink/StdAfx.h b/modules/decklink/StdAfx.h index 75da809c1..f84755efc 100644 --- a/modules/decklink/StdAfx.h +++ b/modules/decklink/StdAfx.h @@ -1,83 +1,96 @@ -/* -* copyright (c) 2010 Sveriges Television AB -* -* This file is part of CasparCG. -* -* CasparCG is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* CasparCG is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. - -* You should have received a copy of the GNU General Public License -* along with CasparCG. If not, see . -* -*/ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#pragma once - -#include "../common/compiler/vs/disable_silly_warnings.h" - -#define NOMINMAX - -#if defined(_MSC_VER) -# ifndef _SCL_SECURE_NO_WARNINGS -# define _SCL_SECURE_NO_WARNINGS -# endif -# ifndef _CRT_SECURE_NO_WARNINGS -# define _CRT_SECURE_NO_WARNINGS -# endif -#endif - -#if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_) -#define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_ - -#define BOOST_PARAMETER_MAX_ARITY 7 - -#ifdef _DEBUG -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -#include "../common/utility/string.h" -#include "../common/memory/safe_ptr.h" -//#include "../common/concurrency/executor.h" // Can't include this due to MSVC lambda bug - -#include "../common/log/Log.h" -#include "../common/exception/exceptions.h" -#include "../common/exception/win32_exception.h" - -#include - -#endif +/* +* Copyright (c) 2011 Sveriges Television AB +* +* This file is part of CasparCG (www.casparcg.com). +* +* CasparCG is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CasparCG is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with CasparCG. If not, see . +* +* Author: Robert Nagy, ronag89@gmail.com +*/ + +#pragma once + +#ifdef __cplusplus +#if defined _DEBUG && defined _MSC_VER +#include +#endif + +#define NOMINMAX +#define WIN32_LEAN_AND_MEAN + +#if defined(_MSC_VER) +#include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if defined(_MSC_VER) +#pragma warning (push) +#pragma warning (disable : 4244) +#endif +extern "C" +{ + #define __STDC_CONSTANT_MACROS + #define __STDC_LIMIT_MACROS + #include +} +#if defined(_MSC_VER) +#pragma warning (pop) +#endif + +#pragma warning(push) +#pragma warning(disable : 4996) + +#if defined(_MSC_VER) + #include + + #include + #include +#endif + +#pragma warning(pop) + +#include + + +#include "../common/memory.h" +#include "../common/utf.h" +#include "../common/except.h" +#include "../common/log.h" +#include "../common/timer.h" +#endif + +#if defined(_MSC_VER) +#include +#include +#endif +