X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=protocol%2FStdAfx.h;h=bc9586c93be336edb9c4ea79cbe3cd7437c53996;hb=4d9e9534d16443deeafc51fe032e2e1161500def;hp=9ac9cd2339fcc49453b821f633ace0ac479837da;hpb=d75e0faadd26e2023fd8c6e98e46afcadcb7e918;p=casparcg diff --git a/protocol/StdAfx.h b/protocol/StdAfx.h index 9ac9cd233..bc9586c93 100644 --- a/protocol/StdAfx.h +++ b/protocol/StdAfx.h @@ -1,66 +1,62 @@ -/* -* 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 - -#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 - -#ifdef _DEBUG -#include -#endif - -#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/log/Log.h" -#include "../common/exception/exceptions.h" -#include "../common/exception/win32_exception.h" \ 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