X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=protocol%2FStdAfx.h;h=bc9586c93be336edb9c4ea79cbe3cd7437c53996;hb=a9baf9ba1e7e4b94b5e08385328441de6607ad23;hp=ee02caebff81c238756b1b2dcd2146febfc8ac5c;hpb=360a35db1c9e75158a85dcf409e24fca0002f1b2;p=casparcg diff --git a/protocol/StdAfx.h b/protocol/StdAfx.h index ee02caebf..bc9586c93 100644 --- a/protocol/StdAfx.h +++ b/protocol/StdAfx.h @@ -1,82 +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 - -#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_ - -#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 - -#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: 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