change to use input file list

svn path=/trunk/; revision=6712
This commit is contained in:
Royce Mitchell III 2003-11-19 18:48:48 +00:00
parent 54ebd5ce0e
commit 96d89d4dfa
2 changed files with 363 additions and 2 deletions

View file

@ -0,0 +1,349 @@
accctrl.h
aclapi.h
ascii.h
base.h
basetsd.h
coff.h
d3d.h
d3dcaps.h
d3dtypes.h
ddentry.h
ddraw.h
debug.h
defines.h
devices.h
epsapi.h
errors.h
excpt.h
fmifs.h
funcs.h
getopt.h
icmpapi.h
ipexport.h
iphlpapi.h
ipifcons.h
iprtrmib.h
iptypes.h
messages.h
mmddk.h
ndis.h
ntddk.h
ntos.h
ntsecapi.h
pe.h
richedit.h
roscfg.h
roskrnl.h
schemadef.h
snmp.h
sockets.h
structs.h
syssetup.h
tchar.h
tgetopt.h
tmschema.h
unicode.h
uxtheme.h
wdm.h
wincrypt.h
windows.h
winsock2.h
ws2spi.h
wsahelp.h
afd\shared.h
csrss\csrss.h
ddk\af_irda.h
ddk\ccfuncs.h
ddk\cctypes.h
ddk\class2.h
ddk\cmtypes.h
ddk\d3dhal.h
ddk\d3dnthal.h
ddk\dbgfuncs.h
ddk\ddrawi.h
ddk\ddrawint.h
ddk\defines.h
ddk\exfuncs.h
ddk\extypes.h
ddk\fsfuncs.h
ddk\fstypes.h
ddk\halfuncs.h
ddk\ioctrl.h
ddk\iodef.h
ddk\iofuncs.h
ddk\iotypes.h
ddk\kedef.h
ddk\kefuncs.h
ddk\ketypes.h
ddk\ldrfuncs.h
ddk\miniport.h
ddk\mmfuncs.h
ddk\mmtypes.h
ddk\ntbootvid.h
ddk\ntdd8042.h
ddk\ntddbeep.h
ddk\ntddblue.h
ddk\ntddk.h
ddk\ntddkbd.h
ddk\ntddmou.h
ddk\ntddscsi.h
ddk\ntddser.h
ddk\ntddvid.h
ddk\ntdef.h
ddk\ntifs.h
ddk\obfuncs.h
ddk\pnpfuncs.h
ddk\pnptypes.h
ddk\pofuncs.h
ddk\potypes.h
ddk\psfuncs.h
ddk\pstypes.h
ddk\scsi.h
ddk\sefuncs.h
ddk\setypes.h
ddk\srb.h
ddk\status.h
ddk\structs.h
ddk\types.h
ddk\winddi.h
ddk\i386\irql.h
ddk\i386\pagesize.h
dflat32\classdef.h
dflat32\classes.h
dflat32\commands.h
dflat32\config.h
dflat32\dflat.h
dflat32\dflatmsg.h
dflat32\dialbox.h
dflat32\htree.h
dflat32\keys.h
dflat32\menu.h
dflat32\rect.h
dflat32\system.h
dflat32\video.h
fslib\vfatlib.h
kernel32\cptable.h
kernel32\error.h
kernel32\heap.h
kernel32\kernel32.h
kernel32\lctable.h
kernel32\nls.h
kernel32\proc.h
kernel32\process.h
kernel32\thread.h
kernel32\winnls.h
libc\atexit.h
libc\file.h
libc\ieee.h
lsass\lsass.h
lsass\ntsecapi.h
msvcrt\alloc.h
msvcrt\assert.h
msvcrt\conio.h
msvcrt\crttypes.h
msvcrt\ctype.h
msvcrt\dir.h
msvcrt\direct.h
msvcrt\errno.h
msvcrt\fcntl.h
msvcrt\float.h
msvcrt\io.h
msvcrt\locale.h
msvcrt\malloc.h
msvcrt\math.h
msvcrt\mbctype.h
msvcrt\mbstring.h
msvcrt\msvcrtdbg.h
msvcrt\process.h
msvcrt\search.h
msvcrt\share.h
msvcrt\signal.h
msvcrt\stdarg.h
msvcrt\stddef.h
msvcrt\stdio.h
msvcrt\stdlib.h
msvcrt\string.h
msvcrt\time.h
msvcrt\wchar.h
msvcrt\internal\atexit.h
msvcrt\internal\console.h
msvcrt\internal\file.h
msvcrt\internal\ieee.h
msvcrt\internal\rterror.h
msvcrt\internal\stdio.h
msvcrt\internal\tls.h
msvcrt\sys\fcntl.h
msvcrt\sys\file.h
msvcrt\sys\locking.h
msvcrt\sys\stat.h
msvcrt\sys\time.h
msvcrt\sys\timeb.h
msvcrt\sys\types.h
msvcrt\sys\unistd.h
msvcrt\sys\utime.h
napi\core.h
napi\dbg.h
napi\lpc.h
napi\npipe.h
napi\shared_data.h
napi\teb.h
napi\types.h
napi\win32.h
napi\i386\floatsave.h
napi\i386\segment.h
net\miniport.h
net\ndis.h
net\ndisoid.h
net\netevent.h
net\netpnp.h
net\ntddndis.h
net\ntddtdi.h
net\tdi.h
net\tdiinfo.h
net\tdikrnl.h
net\tdistat.h
ntdll\base.h
ntdll\csr.h
ntdll\dbg.h
ntdll\ldr.h
ntdll\napi.h
ntdll\ntdll.h
ntdll\pagesize.h
ntdll\rtl.h
ntdll\trace.h
ntos\bootvid.h
ntos\cdrom.h
ntos\console.h
ntos\dbgfuncs.h
ntos\disk.h
ntos\except.h
ntos\file.h
ntos\fstypes.h
ntos\gditypes.h
ntos\halfuncs.h
ntos\haltypes.h
ntos\heap.h
ntos\kdbgsyms.h
ntos\kdfuncs.h
ntos\kefuncs.h
ntos\keyboard.h
ntos\ldrtypes.h
ntos\minmax.h
ntos\mm.h
ntos\ntdef.h
ntos\obtypes.h
ntos\port.h
ntos\ps.h
ntos\registry.h
ntos\rtl.h
ntos\rtltypes.h
ntos\security.h
ntos\service.h
ntos\synch.h
ntos\time.h
ntos\tss.h
ntos\types.h
ntos\zw.h
ntos\zwtypes.h
ole32\basetyps.h
ole32\guiddef.h
ole32\objbase.h
ole32\obj_base.h
ole32\obj_cache.h
ole32\obj_channel.h
ole32\obj_clientserver.h
ole32\obj_commdlgbrowser.h
ole32\obj_connection.h
ole32\obj_contextmenu.h
ole32\obj_control.h
ole32\obj_dataobject.h
ole32\obj_dockingwindowframe.h
ole32\obj_dragdrop.h
ole32\obj_enumidlist.h
ole32\obj_errorinfo.h
ole32\obj_extracticon.h
ole32\obj_inplace.h
ole32\obj_marshal.h
ole32\obj_misc.h
ole32\obj_moniker.h
ole32\obj_oleaut.h
ole32\obj_olefont.h
ole32\obj_oleobj.h
ole32\obj_oleundo.h
ole32\obj_oleview.h
ole32\obj_picture.h
ole32\obj_property.h
ole32\obj_propertystorage.h
ole32\obj_queryassociations.h
ole32\obj_serviceprovider.h
ole32\obj_shellbrowser.h
ole32\obj_shellextinit.h
ole32\obj_shellfolder.h
ole32\obj_shelllink.h
ole32\obj_shellview.h
ole32\obj_storage.h
ole32\obj_webbrowser.h
ole32\ole32.h
ole32\olectl.h
ole32\rpc.h
ole32\rpcdce.h
ole32\rpcdcep.h
ole32\unknwn.h
ole32\winerror.h
ole32\wtypes.h
reactos\bugcodes.h
reactos\buildno.h
reactos\config.h
reactos\errcodes.h
reactos\resource.h
reactos\version.h
rosrtl\devmode.h
rosrtl\logfont.h
rosrtl\thread.h
services\services.h
user32\accel.h
user32\callback.h
user32\regcontrol.h
user32\wininternal.h
win32k\bitmaps.h
win32k\brush.h
win32k\cliprgn.h
win32k\color.h
win32k\coord.h
win32k\cursoricon.h
win32k\dc.h
win32k\debug.h
win32k\debug1.h
win32k\driver.h
win32k\fillshap.h
win32k\float.h
win32k\gdiobj.h
win32k\icm.h
win32k\kapi.h
win32k\line.h
win32k\math.h
win32k\metafile.h
win32k\misc.h
win32k\ntddraw.h
win32k\ntuser.h
win32k\paint.h
win32k\path.h
win32k\pen.h
win32k\print.h
win32k\region.h
win32k\text.h
win32k\userobj.h
win32k\win32k.h
win32k\wingl.h
wine\commctrl.h
wine\config.h
wine\debug.h
wine\debugtools.h
wine\port.h
wine\prsht.h
wine\test.h
wine\unicode.h
wine\vfw.h
wine\windef16.h
wine\wineros.h
wine\winuser.h

View file

@ -87,13 +87,25 @@ BOOL FileEnumProc ( PWIN32_FIND_DATA pwfd, const char* filename, long lParam )
void main()
{
File f ( "input.lst", "r" );
if ( !f.isopened() )
{
printf ( "Couldn't open \"input.lst\" for input\nPress any key to exit\n" );
(void)getch();
return;
}
string filename;
while ( f.next_line ( filename, true ) )
import_file ( filename.c_str() );
//printf ( "press any key to start\n" );
//getch();
#if 1
/*#if 1
import_file ( "../test.h" );
#else
EnumFilesInDirectory ( "c:/cvs/reactos/apps/utils/sdkparse/include", "*.h", FileEnumProc, 0, TRUE, FALSE );
#endif
#endif*/
printf ( "Done!\nPress any key to exit!\n" );
(void)getch();
}
bool import_file ( const char* filename )