From adaa664ac87d6b78e9431d3376f7a24461edf469 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 09 Jul 2004 23:40:14 +0000 Subject: Added files for OLE import on wintendo --- (limited to 'outport/StdAfx.h') diff --git a/outport/StdAfx.h b/outport/StdAfx.h new file mode 100644 index 0000000..c28b0d9 --- a/dev/null +++ b/outport/StdAfx.h @@ -0,0 +1,60 @@ +/* + Copyright 2001 Justin Kirby + This file is part of Outport. + + Outport 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 2 of the License, or + (at your option) any later version. + + Outport 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 olexp; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +*/ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#ifndef OLEXP_STDAFX_H +#define OLEXP_STDAFX_H + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers + +//#include // MFC core and standard components +#include // MFC extensions +#include +//CComModule _Module; +#include +#include // MFC Automation classes +#include // MFC support for Internet Explorer 4 Common Controls +#ifndef _AFX_NO_AFXCMN_SUPPORT +#include // MFC support for Windows Common Controls +#include +#endif // _AFX_NO_AFXCMN_SUPPORT + +#include +#include "resource.h" + +#ifndef IMPLEMENT_OLECREATE2 +#define IMPLEMENT_OLECREATE2(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \ + RUNTIME_CLASS(class_name), TRUE, _T(external_name)); \ + const AFX_DATADEF GUID class_name::guid = \ + { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }; +#endif // IMPLEMENT_OLECREATE2 + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_STDAFX_H__62F25EC8_1510_4268_9D06_BF10E2FCCC70__INCLUDED_) -- cgit v0.9.0.2