X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=protocol%2FStdAfx.h;h=bc9586c93be336edb9c4ea79cbe3cd7437c53996;hb=84511e162ea7a3357f4ad73ba59db56eea59606d;hp=a67685882162d53b5a06628cc5c0adea461ab092;hpb=5e60fa5a9c734ef95e4067c020e3e38acc71b37c;p=casparcg diff --git a/protocol/StdAfx.h b/protocol/StdAfx.h index a67685882..bc9586c93 100644 --- a/protocol/StdAfx.h +++ b/protocol/StdAfx.h @@ -1,66 +1,62 @@ -/* -* 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: Nicklas P Andersson -*/ - -#pragma once - -#define NOMINMAX -#define WIN32_LEAN_AND_MEAN - -#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 - -#ifdef _DEBUG -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -#include "../common/utf.h" -#include "../common/memory/safe_ptr.h" -//#include "../common/concurrency/executor.h" // Can't include this due to MSVC lambda bug - -#include "../common/log.h" -#include "../common/exception/exceptions.h" -#include "../common/exception/win32_exception.h" - -#include \ No newline at end of file +/* +* 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: Nicklas P Andersson +*/ + +#pragma once + +#define NOMINMAX +#define WIN32_LEAN_AND_MEAN + +#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 _DEBUG && defined _MSC_VER +#include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +//#include "../common/executor.h" // Can't include this due to MSVC lambda bug + +#include +#include + +#include