From 083680e2cb5669ec77eb956ac8eb5a65a40ff124 Mon Sep 17 00:00:00 2001 From: "locka%iol.ie" Date: Mon, 6 Jan 2003 13:50:44 +0000 Subject: [PATCH] Remove StdAfx.cpp / h. Checked on behalf of steve--w@dircon.co.uk r/a=adamlock@netscape.com git-svn-id: svn://10.0.0.236/trunk@135884 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/embedding/tests/winEmbed/Makefile.in | 1 - mozilla/embedding/tests/winEmbed/StdAfx.cpp | 37 ------------ mozilla/embedding/tests/winEmbed/StdAfx.h | 59 ------------------- mozilla/embedding/tests/winEmbed/winEmbed.cpp | 13 ++-- mozilla/embedding/tests/winEmbed/winembed.dsp | 4 -- 5 files changed, 9 insertions(+), 105 deletions(-) delete mode 100644 mozilla/embedding/tests/winEmbed/StdAfx.cpp delete mode 100644 mozilla/embedding/tests/winEmbed/StdAfx.h diff --git a/mozilla/embedding/tests/winEmbed/Makefile.in b/mozilla/embedding/tests/winEmbed/Makefile.in index 6dbcee2ebbf..bfe57762aa0 100644 --- a/mozilla/embedding/tests/winEmbed/Makefile.in +++ b/mozilla/embedding/tests/winEmbed/Makefile.in @@ -59,7 +59,6 @@ CPPSRCS = \ winEmbed.cpp \ WebBrowserChrome.cpp \ WindowCreator.cpp \ - StdAfx.cpp \ $(NULL) EXTRA_DSO_LIBS = embed_base_s gkgfx diff --git a/mozilla/embedding/tests/winEmbed/StdAfx.cpp b/mozilla/embedding/tests/winEmbed/StdAfx.cpp deleted file mode 100644 index d8bfde4ed9c..00000000000 --- a/mozilla/embedding/tests/winEmbed/StdAfx.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: Mozilla-sample-code 1.0 - * - * Copyright (c) 2002 Netscape Communications Corporation and - * other contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this Mozilla sample software and associated documentation files - * (the "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the - * following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - * - * Contributor(s): - * - * ***** END LICENSE BLOCK ***** */ - -// stdafx.cpp : source file that includes just the standard includes -// winEmbed.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/mozilla/embedding/tests/winEmbed/StdAfx.h b/mozilla/embedding/tests/winEmbed/StdAfx.h deleted file mode 100644 index 04516ec3eb4..00000000000 --- a/mozilla/embedding/tests/winEmbed/StdAfx.h +++ /dev/null @@ -1,59 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: Mozilla-sample-code 1.0 - * - * Copyright (c) 2002 Netscape Communications Corporation and - * other contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this Mozilla sample software and associated documentation files - * (the "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the - * following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - * - * Contributor(s): - * - * ***** END LICENSE BLOCK ***** */ - -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_) -#define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - - -// Windows Header Files: -#include - -// C RunTime Header Files -#include -#include -#include -#include - -// Local Header Files - -// TODO: reference additional headers your program requires here - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_) diff --git a/mozilla/embedding/tests/winEmbed/winEmbed.cpp b/mozilla/embedding/tests/winEmbed/winEmbed.cpp index 5682b275934..d2f3b77a695 100644 --- a/mozilla/embedding/tests/winEmbed/winEmbed.cpp +++ b/mozilla/embedding/tests/winEmbed/winEmbed.cpp @@ -31,12 +31,17 @@ * ***** END LICENSE BLOCK ***** */ #include -#include "stdafx.h" + +// C RunTime Header Files +#include +#include +#include +#include // Win32 header files -#include "windows.h" -#include "commctrl.h" -#include "commdlg.h" +#include +#include +#include // Mozilla header files #include "nsEmbedAPI.h" diff --git a/mozilla/embedding/tests/winEmbed/winembed.dsp b/mozilla/embedding/tests/winEmbed/winembed.dsp index e28cef5604e..c65893a792b 100644 --- a/mozilla/embedding/tests/winEmbed/winembed.dsp +++ b/mozilla/embedding/tests/winEmbed/winembed.dsp @@ -86,10 +86,6 @@ CFG=winembed - Win32 Debug # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File -SOURCE=.\StdAfx.cpp -# End Source File -# Begin Source File - SOURCE=.\WebBrowserChrome.cpp # End Source File # Begin Source File