00001 00002 // $Id: stdafx.h,v 1.18 2003/03/05 21:45:23 tobbej Exp $ 00004 // Copyright (c) 2000 John Adcock. All rights reserved. 00006 // 00007 // This file is subject to the terms of the GNU General Public License as 00008 // published by the Free Software Foundation. A copy of this license is 00009 // included with this software distribution in the file COPYING. If you 00010 // do not have a copy, you may obtain a copy by writing to the Free 00011 // Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 00012 // 00013 // This software is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 // GNU General Public License for more details 00018 // CVS Log 00019 // 00020 // $Log: stdafx.h,v $ 00021 // Revision 1.18 2003/03/05 21:45:23 tobbej 00022 // new include for stringstream 00023 // 00024 // Revision 1.17 2002/11/06 20:49:00 adcockj 00025 // Changes for DSShow compiliation 00026 // 00027 // Revision 1.16 2002/06/13 08:21:30 adcockj 00028 // Changed to compile without DShow by default 00029 // 00030 // Revision 1.15 2002/03/26 19:48:32 adcockj 00031 // Changed default to compile with DShow 00032 // 00033 // Revision 1.14 2002/02/03 10:33:41 tobbej 00034 // fixed spelling error 00035 // 00036 // Revision 1.13 2001/12/17 19:54:20 tobbej 00037 // added a comment about the dshow define 00038 // 00039 // Revision 1.12 2001/12/14 13:59:34 adcockj 00040 // Fix to remove dependancy on dshow.h if not required 00041 // 00042 // Revision 1.11 2001/12/09 22:00:42 tobbej 00043 // experimental dshow support, doesnt work yet 00044 // define WANT_DSHOW_SUPPORT if you want to try it 00045 // 00046 // Revision 1.10 2001/11/23 10:49:17 adcockj 00047 // Move resource includes back to top of files to avoid need to rebuild all 00048 // 00049 // Revision 1.9 2001/11/17 18:15:57 adcockj 00050 // Bugfixes (including very silly performance bug) 00051 // 00052 // Revision 1.8 2001/11/09 12:42:07 adcockj 00053 // Separated most resources out into separate dll ready for localization 00054 // 00055 // Revision 1.7 2001/07/23 20:52:07 ericschmidt 00056 // Added TimeShift class. Original Release. Got record and playback code working. 00057 // 00058 // Revision 1.6 2001/07/13 16:14:56 adcockj 00059 // Changed lots of variables to match Coding standards 00060 // 00061 // Revision 1.5 2001/07/12 16:26:59 adcockj 00062 // Added CVS id and log 00063 // 00065 00071 #if _MSC_VER > 1000 00072 #pragma once 00073 #endif // _MSC_VER > 1000 00074 00075 #define VC_EXTRALEAN 00076 #include <afxwin.h> 00077 #include <afxext.h> 00078 #include <afxcmn.h> 00079 00080 #include <atlbase.h> 00081 00082 //uncomment the folowing line if you want to try the experimental direct show support 00083 #define WANT_DSHOW_SUPPORT 0 00084 #ifdef WANT_DSHOW_SUPPORT 00085 #include <dshow.h> 00086 #endif 00087 00088 //#include <windows.h> 00089 #include <windowsx.h> 00090 00091 #include <stdio.h> 00092 #include <time.h> 00093 #include <stdlib.h> 00094 #include <stdio.h> 00095 #include <memory.h> 00096 #include <io.h> 00097 #include <fcntl.h> 00098 #include <commctrl.h> 00099 #include <sys/timeb.h> 00100 #include <sys/types.h> 00101 #include <sys/stat.h> 00102 #include <ddraw.h> 00103 #include <process.h> 00104 #include <math.h> 00105 #include <mmsystem.h> 00106 #include <vfw.h> 00107 #include <winioctl.h> 00108 #include "ErrorBox.h" 00109 #include "DSDrv.h" 00110 #include "HtmlHelp.H" 00111 #include <vector> 00112 #include <string> 00113 #include <sstream> 00114 // fix for including external header with IDC_STATIC defined 00115 #ifdef IDC_STATIC 00116 #undef IDC_STATIC 00117 #endif 00118 00119 using namespace std;
1.3.4