[xiph-commits] r8549 - in trunk/oggdsf: . sln/oggdsf_all src/lib/codecs/cmml/libWinCMMLParse src/tools src/tools/CMMLDump

ozone at motherfish-iii.xiph.org ozone at motherfish-iii.xiph.org
Tue Dec 28 20:52:10 PST 2004


Author: ozone
Date: 2004-12-28 20:52:09 -0800 (Tue, 28 Dec 2004)
New Revision: 8549

Added:
   trunk/oggdsf/src/tools/CMMLDump/
   trunk/oggdsf/src/tools/CMMLDump/CMMLDump.cpp
   trunk/oggdsf/src/tools/CMMLDump/CMMLDump.vcproj
   trunk/oggdsf/src/tools/CMMLDump/ReadMe.txt
   trunk/oggdsf/src/tools/CMMLDump/stdafx.cpp
   trunk/oggdsf/src/tools/CMMLDump/stdafx.h
Modified:
   trunk/oggdsf/AUTHORS
   trunk/oggdsf/COPYRIGHTS
   trunk/oggdsf/COPYRIGHTS.rtf
   trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
   trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/CMMLParser.h
Log:
oggdsf:
 * Added CMMLDump tool
 * Make #including <libWinCMMLParse/CMMLParser.h> work without including <libWinCMMLParse/libWinCMMLParse.h>


Modified: trunk/oggdsf/AUTHORS
===================================================================
--- trunk/oggdsf/AUTHORS	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/AUTHORS	2004-12-29 04:52:09 UTC (rev 8549)
@@ -16,6 +16,14 @@
 	Andre Pang <Andre.Pang at csiro.au>
 		- Mac OS X and UNIX porting.
 ==============================================================
+*** CMMLDump
+
+	Zentaro Kavanagh <ogg at illiminable.com>
+		- Design and coding.
+
+	Andre Pang <Andre.Pang at csiro.au>
+		- Design and coding.
+==============================================================
 *** AnxCutter
 *** axAnxOggPlayer
 *** CLOgg

Modified: trunk/oggdsf/COPYRIGHTS
===================================================================
--- trunk/oggdsf/COPYRIGHTS	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/COPYRIGHTS	2004-12-29 04:52:09 UTC (rev 8549)
@@ -167,6 +167,7 @@
 *** libWinCMMLParse
 *** dsfCMMLDecoder
 *** dsfAnxDemux
+*** CMMLDump
 
 Copyright (C) 2003, 2004 Zentaro Kavanagh
 
@@ -259,4 +260,4 @@
 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------------
\ No newline at end of file
+------------------------------------------------------------------------

Modified: trunk/oggdsf/COPYRIGHTS.rtf
===================================================================
--- trunk/oggdsf/COPYRIGHTS.rtf	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/COPYRIGHTS.rtf	2004-12-29 04:52:09 UTC (rev 8549)
@@ -177,6 +177,7 @@
 *** libWinCMMLParse\par
 *** dsfCMMLDecoder\par
 *** dsfAnxDemux\par
+*** CMMLDump\par
 \par
 Copyright (C) 2003, 2004 Zentaro Kavanagh\par
 \par

Modified: trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
===================================================================
--- trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-29 04:52:09 UTC (rev 8549)
@@ -1017,6 +1017,7 @@
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libFLACHelper", "..\..\src\lib\codecs\flac\libs\libFLACHelper\libFLACHelper.vcproj", "{7F213248-16F2-4AAE-B941-C402670082BC}"
 	ProjectSection(ProjectDependencies) = postProject
+		{A0004AEB-B47C-4A0A-8FE7-4F65B5FD48FA} = {A0004AEB-B47C-4A0A-8FE7-4F65B5FD48FA}
 	EndProjectSection
 EndProject
 Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "DotNETOggTools", "..\..\build\DotNETOggTools\DotNETOggTools.vdproj", "{16474157-607B-483C-8C31-2EB9ED724AD1}"
@@ -1103,6 +1104,11 @@
 		{2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4} = {2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4}
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CMMLDump", "..\..\src\tools\CMMLDump\CMMLDump.vcproj", "{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}"
+	ProjectSection(ProjectDependencies) = postProject
+		{223ACC19-608E-4E1B-A054-067F0CACB272} = {223ACC19-608E-4E1B-A054-067F0CACB272}
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfiguration) = preSolution
 		Debug = Debug
@@ -2222,6 +2228,22 @@
 		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_SSE.Build.0 = Release|Win32
 		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_SSE2.ActiveCfg = Release|Win32
 		{764F4A5C-AABE-4E10-937F-2E5ECDAAF29C}.Release_SSE2.Build.0 = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Debug.ActiveCfg = Debug|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Debug.Build.0 = Debug|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Debug Unicode.ActiveCfg = Debug|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Debug Unicode.Build.0 = Debug|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.MakeFile.ActiveCfg = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.MakeFile.Build.0 = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release.ActiveCfg = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release.Build.0 = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release Unicode.ActiveCfg = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release Unicode.Build.0 = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release_NoDotNET.ActiveCfg = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release_NoDotNET.Build.0 = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release_SSE.ActiveCfg = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release_SSE.Build.0 = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release_SSE2.ActiveCfg = Release|Win32
+		{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}.Release_SSE2.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionItems) = postSolution
 	EndGlobalSection

Modified: trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/CMMLParser.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/CMMLParser.h	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/CMMLParser.h	2004-12-29 04:52:09 UTC (rev 8549)
@@ -34,7 +34,10 @@
 
 #pragma once
 
+#include <libWinCMMLParse/libWinCMMLParse.h>
+
 #include <string>
+
 #include <libCMMLTags/libCMMLTags.h>
 
 #import <msxml3.dll> raw_interfaces_only

Added: trunk/oggdsf/src/tools/CMMLDump/CMMLDump.cpp
===================================================================
--- trunk/oggdsf/src/tools/CMMLDump/CMMLDump.cpp	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/src/tools/CMMLDump/CMMLDump.cpp	2004-12-29 04:52:09 UTC (rev 8549)
@@ -0,0 +1,184 @@
+//===========================================================================
+//Copyright (C) 2003, 2004 Zentaro Kavanagh
+//
+//Copyright (C) 2004 Commonwealth Scientific and Industrial Research
+//   Organisation (CSIRO) Australia
+//
+//Redistribution and use in source and binary forms, with or without
+//modification, are permitted provided that the following conditions
+//are met:
+//
+//- Redistributions of source code must retain the above copyright
+//  notice, this list of conditions and the following disclaimer.
+//
+//- Redistributions in binary form must reproduce the above copyright
+//  notice, this list of conditions and the following disclaimer in the
+//  documentation and/or other materials provided with the distribution.
+//
+//- Neither the name of Zentaro Kavanagh nor the names of contributors 
+//  may be used to endorse or promote products derived from this software 
+//  without specific prior written permission.
+//
+//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+//PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR
+//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//===========================================================================
+
+#include "stdafx.h"
+
+#include <libOOOgg/libOOOgg.h>
+#include <libOOOgg/dllstuff.h>
+#include <libWinCMMLParse/libWinCMMLParse.h>
+#include <libWinCMMLParse/CMMLParser.h>
+
+#include <iostream>
+#include <fstream>
+
+#include <string.h>
+
+using namespace std;
+
+
+class OggDataBufferProcessor
+	: public IOggCallback
+{
+public:
+	OggDataBufferProcessor(void);
+
+	enum eDemuxState {
+		SEEN_NOTHING,
+		SEEN_CMML_BOS,
+		INVALID = 100
+	};
+
+	eDemuxState mDemuxState;
+
+	unsigned long mCMMLSerialNumber;
+
+	virtual bool acceptOggPage(OggPage* inOggPage);
+};
+
+
+OggDataBufferProcessor::OggDataBufferProcessor (void)
+	:	mDemuxState(SEEN_NOTHING)
+	,	mCMMLSerialNumber(0)
+{
+}
+
+bool OggDataBufferProcessor::acceptOggPage (OggPage* inOggPage)
+{
+	switch (mDemuxState)
+	{
+		case SEEN_NOTHING:
+		{
+			// Haven't seen anything yet: look for the CMML BOS page
+
+			if (		(inOggPage->numPackets() == 1)
+					&&	(inOggPage->header()->isBOS())
+					&&	(strncmp((char*)inOggPage->getPacket(0)->packetData(), "AnxData", 7) == 0)
+#ifdef WIN32
+					&&  (  _strnicmp((char*) &(inOggPage->getPacket(0)->packetData()[28]), "Content-type: text/x-cmml", 25) == 0)	) {
+#else  /* assume POSIX */
+					&&  (strncasecmp((char*) &(inOggPage->getPacket(0)->packetData()[28]), "Content-type: text/x-cmml", 25) == 0)	) {
+#endif
+				// We've hit a BOS page: advance the state and remember the serial number
+				
+				mDemuxState = SEEN_CMML_BOS;
+
+				mCMMLSerialNumber = inOggPage->header()->StreamSerialNo();
+			}
+
+			break;
+		}
+		case SEEN_CMML_BOS:
+		{
+			// We've seen the CMML BOS now, so every CMML page after this one (including the secondary
+			// header) will be CMML data.
+
+			if (inOggPage->header()->StreamSerialNo() == mCMMLSerialNumber) {
+				unsigned long locPackets = inOggPage->numPackets();
+
+				for (unsigned long i = 0; i < locPackets; i++) {
+					OggPacket *locPacket = inOggPage->getPacket(i);
+
+					unsigned long locPacketSize = locPacket->packetSize();
+					char *locPacketData = (char *) inOggPage->getPacket(i)->packetData();
+
+					// Add a terminating '\0'
+					char *locMyPacketData = (char *) malloc(locPacketSize + 1);
+					locMyPacketData = (char *) memcpy(locMyPacketData, locPacketData, locPacketSize);
+					locMyPacketData[locPacketSize] = '\0';
+
+					// Get the packet's time in seconds
+					LOOG_INT64 locPacketGranulePos = inOggPage->header()->GranulePos();
+					float locPacketStartTimeInSeconds = (float) locPacketGranulePos/ (float) 1000;
+
+					printf("%.2f seconds:\n%s", locPacketStartTimeInSeconds, locMyPacketData);
+
+					free(locMyPacketData);
+				}
+			}
+
+			break;
+		}
+	}
+
+	delete inOggPage;
+
+	return true;
+}
+
+
+#ifdef WIN32
+int __cdecl _tmain(int argc, _TCHAR* argv[])
+#else
+int main(int argc, char * argv[])
+#endif
+{
+	if (argc < 2) {
+		cout << "Usage: " << argv[0] << " <input_filename>" << endl;
+		return 1;
+	}
+
+	// Somebody set us up the bomb
+
+	OggDataBuffer locDataBuffer;
+
+	OggDataBufferProcessor *locDataBufferProcessor;
+	locDataBufferProcessor = new OggDataBufferProcessor;
+	locDataBuffer.registerVirtualCallback(locDataBufferProcessor);
+
+	fstream locInputFile;
+
+	// Let's go!
+
+	const unsigned short BUFF_SIZE = 8092;
+	char* locBuff = new char[BUFF_SIZE];
+	
+	locInputFile.open(argv[1], ios_base::in | ios_base::binary);
+	for (;;) {
+		locInputFile.read(locBuff, BUFF_SIZE);
+		unsigned long locBytesRead = locInputFile.gcount();
+		if (locBytesRead <= 0) {
+			break;
+		}
+    	locDataBuffer.feed((const unsigned char*)locBuff, locBytesRead);
+	}
+
+	// Tidy up
+
+	locInputFile.close();
+
+	delete locDataBufferProcessor;
+
+	return 0;
+}
+


Property changes on: trunk/oggdsf/src/tools/CMMLDump/CMMLDump.cpp
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/oggdsf/src/tools/CMMLDump/CMMLDump.vcproj
===================================================================
--- trunk/oggdsf/src/tools/CMMLDump/CMMLDump.vcproj	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/src/tools/CMMLDump/CMMLDump.vcproj	2004-12-29 04:52:09 UTC (rev 8549)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="CMMLDump"
+	ProjectGUID="{3A7DAD80-4C79-48FB-B779-8CEA4EE9CF90}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="Debug"
+			IntermediateDirectory="Debug"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="..\..\lib\core\ogg;.;..\..\lib\helper;..\..\lib\codecs\cmml"
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="5"
+				UsePrecompiledHeader="3"
+				WarningLevel="4"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/CMMLDump.exe"
+				LinkIncremental="2"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/CMMLDump.pdb"
+				SubSystem="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="Release"
+			IntermediateDirectory="Release"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalIncludeDirectories="..\..\lib\core\ogg;.;..\..\lib\helper;..\..\lib\codecs\cmml"
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+				RuntimeLibrary="4"
+				UsePrecompiledHeader="3"
+				WarningLevel="4"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/CMMLDump.exe"
+				LinkIncremental="1"
+				GenerateDebugInformation="TRUE"
+				SubSystem="1"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+			<File
+				RelativePath=".\CMMLDump.cpp">
+			</File>
+			<File
+				RelativePath=".\stdafx.cpp">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc;xsd"
+			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+			<File
+				RelativePath=".\stdafx.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+		</Filter>
+		<File
+			RelativePath=".\ReadMe.txt">
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Added: trunk/oggdsf/src/tools/CMMLDump/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/tools/CMMLDump/ReadMe.txt	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/src/tools/CMMLDump/ReadMe.txt	2004-12-29 04:52:09 UTC (rev 8549)
@@ -0,0 +1,32 @@
+========================================================================
+    CONSOLE APPLICATION : CMMLDump Project Overview
+========================================================================
+
+AppWizard has created this CMMLDump application for you.  
+This file contains a summary of what you will find in each of the files that
+make up your CMMLDump application.
+
+
+CMMLDump.vcproj
+    This is the main project file for VC++ projects generated using an Application Wizard. 
+    It contains information about the version of Visual C++ that generated the file, and 
+    information about the platforms, configurations, and project features selected with the
+    Application Wizard.
+
+CMMLDump.cpp
+    This is the main application source file.
+
+/////////////////////////////////////////////////////////////////////////////
+Other standard files:
+
+StdAfx.h, StdAfx.cpp
+    These files are used to build a precompiled header (PCH) file
+    named CMMLDump.pch and a precompiled types file named StdAfx.obj.
+
+/////////////////////////////////////////////////////////////////////////////
+Other notes:
+
+AppWizard uses "TODO:" comments to indicate parts of the source code you
+should add to or customize.
+
+/////////////////////////////////////////////////////////////////////////////


Property changes on: trunk/oggdsf/src/tools/CMMLDump/ReadMe.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/oggdsf/src/tools/CMMLDump/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/tools/CMMLDump/stdafx.cpp	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/src/tools/CMMLDump/stdafx.cpp	2004-12-29 04:52:09 UTC (rev 8549)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// CMMLDump.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


Property changes on: trunk/oggdsf/src/tools/CMMLDump/stdafx.cpp
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/oggdsf/src/tools/CMMLDump/stdafx.h
===================================================================
--- trunk/oggdsf/src/tools/CMMLDump/stdafx.h	2004-12-29 03:49:03 UTC (rev 8548)
+++ trunk/oggdsf/src/tools/CMMLDump/stdafx.h	2004-12-29 04:52:09 UTC (rev 8549)
@@ -0,0 +1,12 @@
+// 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 <iostream>
+#include <tchar.h>
+
+// TODO: reference additional headers your program requires here


Property changes on: trunk/oggdsf/src/tools/CMMLDump/stdafx.h
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the commits mailing list