Fixed all Gorgonsub headers (mental note: namespaces don't end with a semi-colon) and added some VC9/ICL projects.

Originally committed to SVN as r2070.
This commit is contained in:
Rodrigo Braz Monteiro 2008-03-16 18:09:25 +00:00
parent 8e8f4bf530
commit d99933ddd9
40 changed files with 1834 additions and 130 deletions

View File

@ -111,6 +111,7 @@
AdditionalIncludeDirectories="include/aegilib" AdditionalIncludeDirectories="include/aegilib"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_WINDOWS" PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_WINDOWS"
RuntimeLibrary="2" RuntimeLibrary="2"
OpenMP="true"
UsePrecompiledHeader="2" UsePrecompiledHeader="2"
PrecompiledHeaderThrough="prec.h" PrecompiledHeaderThrough="prec.h"
WarningLevel="4" WarningLevel="4"

435
aegilib/aegilib_2008.vcproj Normal file
View File

@ -0,0 +1,435 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="aegilib_2008"
ProjectGUID="{A805B34D-B7BE-41E9-9BB8-3FA3A494304A}"
RootNamespace="aegilib"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="include/aegilib"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="prec.h"
WarningLevel="4"
WarnAsError="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
DisableSpecificWarnings="4996"
ForcedIncludeFiles="prec.h"
EnablePREfast="false"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="false"
AdditionalIncludeDirectories="include/aegilib"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_WINDOWS"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="0"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="prec.h"
WarningLevel="4"
WarnAsError="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
DisableSpecificWarnings="4996"
ForcedIncludeFiles="prec.h"
EnablePREfast="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
LinkLibraryDependencies="false"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Include"
>
<File
RelativePath=".\include\aegilib\fastbuffer.h"
>
</File>
<File
RelativePath=".\include\aegilib\gorgonstring.h"
>
</File>
<File
RelativePath=".\include\aegilib\gorgonsub.h"
>
</File>
<File
RelativePath=".\include\aegilib\tr1.h"
>
</File>
</Filter>
<Filter
Name="MVC"
>
<File
RelativePath=".\src\controller.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\controller.h"
>
</File>
<File
RelativePath=".\src\model.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\model.h"
>
</File>
<File
RelativePath=".\include\aegilib\notification.h"
>
</File>
<File
RelativePath=".\src\view.cpp"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
PrecompiledHeaderThrough="prec.h"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\include\aegilib\view.h"
>
</File>
</Filter>
<Filter
Name="Misc"
>
<File
RelativePath=".\src\colour.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\colour.h"
>
</File>
<File
RelativePath=".\include\aegilib\deltacoder.h"
>
</File>
<File
RelativePath=".\src\exception.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\exception.h"
>
</File>
<File
RelativePath=".\include\aegilib\gorgontime.h"
>
</File>
<File
RelativePath=".\src\prec.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="prec.h"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\src\prec.h"
>
</File>
<File
RelativePath=".\include\aegilib\serialize.h"
>
</File>
<File
RelativePath=".\src\text_file_reader.cpp"
>
</File>
<File
RelativePath=".\src\text_file_reader.h"
>
</File>
<File
RelativePath=".\src\text_file_writer.cpp"
>
</File>
<File
RelativePath=".\src\text_file_writer.h"
>
</File>
<File
RelativePath=".\src\time.cpp"
>
</File>
<File
RelativePath=".\src\tokenizer.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\tokenizer.h"
>
</File>
<File
RelativePath=".\src\utils.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\utils.h"
>
</File>
<File
RelativePath=".\src\version.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\version.h"
>
</File>
</Filter>
<Filter
Name="Formats"
>
<File
RelativePath=".\include\aegilib\format.h"
>
</File>
<File
RelativePath=".\include\aegilib\format_handler.h"
>
</File>
<File
RelativePath=".\src\format_manager.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\format_manager.h"
>
</File>
<Filter
Name="ASS"
>
<File
RelativePath=".\src\formats\format_ass.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue_delta.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue_delta.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_plain.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_style.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass_style.h"
>
</File>
</Filter>
</Filter>
<Filter
Name="Actions"
>
<File
RelativePath=".\src\action.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\action.h"
>
</File>
<File
RelativePath=".\src\actionlist.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\actionlist.h"
>
</File>
</Filter>
<Filter
Name="Sections"
>
<File
RelativePath=".\src\section.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\section.h"
>
</File>
<File
RelativePath=".\src\section_entry.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\section_entry.h"
>
</File>
<File
RelativePath=".\include\aegilib\section_entry_dialogue.h"
>
</File>
<File
RelativePath=".\include\aegilib\section_entry_style.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

246
aegilib/aegilib_icl.icproj Normal file
View File

@ -0,0 +1,246 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Intel C++ Project"
Version="10.1"
Name="aegilib_2008"
ProjectGUID="{E34C6C8A-59BF-47D8-A29B-10ABD5028678}"
VCNestedProjectGUID="{A805B34D-B7BE-41E9-9BB8-3FA3A494304A}"
VCNestedProjectCRC32="3926928892"
VCNestedProjectFileName="aegilib_icl.vcproj"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32">
<Tool
Name="GeneralTool"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"/>
<Tool
Name="CppCmplrTool"
Optimization="0"
AdditionalIncludeDirectories="include/aegilib"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="1"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="prec.h"
WarningLevel="4"
WarnAsError="1"
Detect64BitPortabilityProblems="0"
DebugInformationFormat="4"
DisableSpecificWarnings="4996"
ForcedIncludeFiles="prec.h"/>
<Tool
Name="LinkerTool"
DelayImpLib=""/>
<Tool
Name="LibrarianTool"/>
<Tool
Name="ResCmplrTool"/>
<Tool
Name="MidlCmplrTool"/>
<Tool
Name="BscMakeTool"/>
<Tool
Name="PreBuildEventTool"/>
<Tool
Name="PreLinkEventTool"/>
<Tool
Name="PostBuildEventTool"/>
<Tool
Name="CustomTool"/>
<Tool
Name="CustomNodeTool"/>
</Configuration>
<Configuration
Name="Release|Win32">
<Tool
Name="GeneralTool"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"/>
<Tool
Name="CppCmplrTool"
WholeProgramOptimization="1"
Optimization="2"
EnableIntrinsicFunctions="1"
FavorSizeOrSpeed="1"
OmitFramePointers="0"
AdditionalIncludeDirectories="include/aegilib"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_WINDOWS"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="0"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="prec.h"
WarningLevel="4"
WarnAsError="1"
Detect64BitPortabilityProblems="0"
DebugInformationFormat="3"
DisableSpecificWarnings="981,1418,383"
ForcedIncludeFiles="prec.h"
UseProcExt="7"/>
<Tool
Name="LinkerTool"
DelayImpLib=""/>
<Tool
Name="LibrarianTool"/>
<Tool
Name="ResCmplrTool"/>
<Tool
Name="MidlCmplrTool"/>
<Tool
Name="BscMakeTool"/>
<Tool
Name="PreBuildEventTool"/>
<Tool
Name="PreLinkEventTool"/>
<Tool
Name="PostBuildEventTool"/>
<Tool
Name="CustomTool"/>
<Tool
Name="CustomNodeTool"/>
</Configuration>
</Configurations>
<Files>
<File
RelativePath=".\src\action.cpp"/>
<File
RelativePath=".\include\aegilib\action.h"/>
<File
RelativePath=".\src\actionlist.cpp"/>
<File
RelativePath=".\include\aegilib\actionlist.h"/>
<File
RelativePath=".\src\formats\format_ass.cpp"/>
<File
RelativePath=".\src\formats\format_ass.h"/>
<File
RelativePath=".\src\formats\format_ass_dialogue.cpp"/>
<File
RelativePath=".\src\formats\format_ass_dialogue.h"/>
<File
RelativePath=".\src\formats\format_ass_dialogue_delta.cpp"/>
<File
RelativePath=".\src\formats\format_ass_dialogue_delta.h"/>
<File
RelativePath=".\src\formats\format_ass_plain.h"/>
<File
RelativePath=".\src\formats\format_ass_style.cpp"/>
<File
RelativePath=".\src\formats\format_ass_style.h"/>
<File
RelativePath=".\include\aegilib\format.h"/>
<File
RelativePath=".\include\aegilib\format_handler.h"/>
<File
RelativePath=".\src\format_manager.cpp"/>
<File
RelativePath=".\include\aegilib\format_manager.h"/>
<File
RelativePath=".\include\aegilib\fastbuffer.h"/>
<File
RelativePath=".\include\aegilib\gorgonstring.h"/>
<File
RelativePath=".\include\aegilib\gorgonsub.h"/>
<File
RelativePath=".\include\aegilib\tr1.h"/>
<File
RelativePath=".\src\colour.cpp"/>
<File
RelativePath=".\include\aegilib\colour.h"/>
<File
RelativePath=".\include\aegilib\deltacoder.h"/>
<File
RelativePath=".\src\exception.cpp"/>
<File
RelativePath=".\include\aegilib\exception.h"/>
<File
RelativePath=".\include\aegilib\gorgontime.h"/>
<File
RelativePath=".\src\prec.cpp">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="CppCmplrTool"
UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32">
<Tool
Name="CppCmplrTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="prec.h"/>
</FileConfiguration>
</File>
<File
RelativePath=".\src\prec.h"/>
<File
RelativePath=".\include\aegilib\serialize.h"/>
<File
RelativePath=".\src\text_file_reader.cpp"/>
<File
RelativePath=".\src\text_file_reader.h"/>
<File
RelativePath=".\src\text_file_writer.cpp"/>
<File
RelativePath=".\src\text_file_writer.h"/>
<File
RelativePath=".\src\time.cpp"/>
<File
RelativePath=".\src\tokenizer.cpp"/>
<File
RelativePath=".\include\aegilib\tokenizer.h"/>
<File
RelativePath=".\src\utils.cpp"/>
<File
RelativePath=".\include\aegilib\utils.h"/>
<File
RelativePath=".\src\version.cpp"/>
<File
RelativePath=".\include\aegilib\version.h"/>
<File
RelativePath=".\src\controller.cpp"/>
<File
RelativePath=".\include\aegilib\controller.h"/>
<File
RelativePath=".\src\model.cpp"/>
<File
RelativePath=".\include\aegilib\model.h"/>
<File
RelativePath=".\include\aegilib\notification.h"/>
<File
RelativePath=".\src\view.cpp">
<FileConfiguration
Name="Release|Win32">
<Tool
Name="CppCmplrTool"
PrecompiledHeaderThrough="prec.h"/>
</FileConfiguration>
</File>
<File
RelativePath=".\include\aegilib\view.h"/>
<File
RelativePath=".\src\section.cpp"/>
<File
RelativePath=".\include\aegilib\section.h"/>
<File
RelativePath=".\src\section_entry.cpp"/>
<File
RelativePath=".\include\aegilib\section_entry.h"/>
<File
RelativePath=".\include\aegilib\section_entry_dialogue.h"/>
<File
RelativePath=".\include\aegilib\section_entry_style.h"/>
</Files>
</VisualStudioProject>

436
aegilib/aegilib_icl.vcproj Normal file
View File

@ -0,0 +1,436 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="aegilib_2008"
ProjectGUID="{A805B34D-B7BE-41E9-9BB8-3FA3A494304A}"
RootNamespace="aegilib"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="include/aegilib"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="prec.h"
WarningLevel="4"
WarnAsError="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
DisableSpecificWarnings="4996"
ForcedIncludeFiles="prec.h"
EnablePREfast="false"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="false"
WholeProgramOptimization="true"
AdditionalIncludeDirectories="include/aegilib"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_WINDOWS"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="0"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="prec.h"
WarningLevel="4"
WarnAsError="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
DisableSpecificWarnings="981,1418,383"
ForcedIncludeFiles="prec.h"
EnablePREfast="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
LinkLibraryDependencies="false"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Include"
>
<File
RelativePath=".\include\aegilib\fastbuffer.h"
>
</File>
<File
RelativePath=".\include\aegilib\gorgonstring.h"
>
</File>
<File
RelativePath=".\include\aegilib\gorgonsub.h"
>
</File>
<File
RelativePath=".\include\aegilib\tr1.h"
>
</File>
</Filter>
<Filter
Name="MVC"
>
<File
RelativePath=".\src\controller.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\controller.h"
>
</File>
<File
RelativePath=".\src\model.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\model.h"
>
</File>
<File
RelativePath=".\include\aegilib\notification.h"
>
</File>
<File
RelativePath=".\src\view.cpp"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
PrecompiledHeaderThrough="prec.h"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\include\aegilib\view.h"
>
</File>
</Filter>
<Filter
Name="Misc"
>
<File
RelativePath=".\src\colour.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\colour.h"
>
</File>
<File
RelativePath=".\include\aegilib\deltacoder.h"
>
</File>
<File
RelativePath=".\src\exception.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\exception.h"
>
</File>
<File
RelativePath=".\include\aegilib\gorgontime.h"
>
</File>
<File
RelativePath=".\src\prec.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="prec.h"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\src\prec.h"
>
</File>
<File
RelativePath=".\include\aegilib\serialize.h"
>
</File>
<File
RelativePath=".\src\text_file_reader.cpp"
>
</File>
<File
RelativePath=".\src\text_file_reader.h"
>
</File>
<File
RelativePath=".\src\text_file_writer.cpp"
>
</File>
<File
RelativePath=".\src\text_file_writer.h"
>
</File>
<File
RelativePath=".\src\time.cpp"
>
</File>
<File
RelativePath=".\src\tokenizer.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\tokenizer.h"
>
</File>
<File
RelativePath=".\src\utils.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\utils.h"
>
</File>
<File
RelativePath=".\src\version.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\version.h"
>
</File>
</Filter>
<Filter
Name="Formats"
>
<File
RelativePath=".\include\aegilib\format.h"
>
</File>
<File
RelativePath=".\include\aegilib\format_handler.h"
>
</File>
<File
RelativePath=".\src\format_manager.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\format_manager.h"
>
</File>
<Filter
Name="ASS"
>
<File
RelativePath=".\src\formats\format_ass.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue_delta.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass_dialogue_delta.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_plain.h"
>
</File>
<File
RelativePath=".\src\formats\format_ass_style.cpp"
>
</File>
<File
RelativePath=".\src\formats\format_ass_style.h"
>
</File>
</Filter>
</Filter>
<Filter
Name="Actions"
>
<File
RelativePath=".\src\action.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\action.h"
>
</File>
<File
RelativePath=".\src\actionlist.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\actionlist.h"
>
</File>
</Filter>
<Filter
Name="Sections"
>
<File
RelativePath=".\src\section.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\section.h"
>
</File>
<File
RelativePath=".\src\section_entry.cpp"
>
</File>
<File
RelativePath=".\include\aegilib\section_entry.h"
>
</File>
<File
RelativePath=".\include\aegilib\section_entry_dialogue.h"
>
</File>
<File
RelativePath=".\include\aegilib\section_entry_style.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -101,4 +101,4 @@ namespace Gorgonsub {
ActionPtr GetAntiAction(const Model &model) const; ActionPtr GetAntiAction(const Model &model) const;
void Execute(Model &model); void Execute(Model &model);
}; };
}; }

View File

@ -76,4 +76,4 @@ namespace Gorgonsub {
}; };
typedef shared_ptr<ActionList> ActionListPtr; typedef shared_ptr<ActionList> ActionListPtr;
}; }

View File

@ -66,4 +66,4 @@ namespace Gorgonsub {
String GetVBHex(bool withAlpha=false,bool withHeader=true,bool withFooter=true) const; String GetVBHex(bool withAlpha=false,bool withHeader=true,bool withFooter=true) const;
}; };
}; }

View File

@ -1,71 +1,71 @@
// Copyright (c) 2008, Rodrigo Braz Monteiro // Copyright (c) 2008, Rodrigo Braz Monteiro
// All rights reserved. // All rights reserved.
// //
// Redistribution and use in source and binary forms, with or without // Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met: // modification, are permitted provided that the following conditions are met:
// //
// * Redistributions of source code must retain the above copyright notice, // * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer. // this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright notice, // * Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation // this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution. // and/or other materials provided with the distribution.
// * Neither the name of the Aegisub Group nor the names of its contributors // * Neither the name of the Aegisub Group nor the names of its contributors
// may be used to endorse or promote products derived from this software // may be used to endorse or promote products derived from this software
// without specific prior written permission. // without specific prior written permission.
// //
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // 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 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE. // POSSIBILITY OF SUCH DAMAGE.
// //
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// //
// AEGISUB/GORGONSUB // AEGISUB/GORGONSUB
// //
// Website: http://www.aegisub.net // Website: http://www.aegisub.net
// Contact: mailto:amz@aegisub.net // Contact: mailto:amz@aegisub.net
// //
#pragma once #pragma once
#include "gorgonstring.h" #include "gorgonstring.h"
#include "tr1.h" #include "tr1.h"
#include "format.h" #include "format.h"
namespace Gorgonsub { namespace Gorgonsub {
// Prototypes // Prototypes
class Model; class Model;
class ActionList; class ActionList;
typedef shared_ptr<ActionList> ActionListPtr; typedef shared_ptr<ActionList> ActionListPtr;
// Controller class // Controller class
class Controller { class Controller {
private: private:
Model &model; Model &model;
public: public:
Controller (Model &model); Controller (Model &model);
ActionListPtr CreateActionList(const String title,const String owner=L"",bool undoAble=true); ActionListPtr CreateActionList(const String title,const String owner=L"",bool undoAble=true);
void LoadFile(const String filename,const String encoding=L""); void LoadFile(const String filename,const String encoding=L"");
void SaveFile(const String filename,const String encoding=L"UTF-8"); void SaveFile(const String filename,const String encoding=L"UTF-8");
bool CanUndo(const String owner=L"") const; bool CanUndo(const String owner=L"") const;
bool CanRedo(const String owner=L"") const; bool CanRedo(const String owner=L"") const;
void Undo(const String owner=L""); void Undo(const String owner=L"");
void Redo(const String owner=L""); void Redo(const String owner=L"");
SectionEntryDialoguePtr CreateDialogue(); SectionEntryDialoguePtr CreateDialogue();
SectionEntryStylePtr CreateStyle(); SectionEntryStylePtr CreateStyle();
const FormatPtr GetFormat() const; const FormatPtr GetFormat() const;
}; };
}; }

View File

@ -51,4 +51,4 @@ namespace Gorgonsub {
}; };
typedef shared_ptr<DeltaCoder> DeltaCoderPtr; typedef shared_ptr<DeltaCoder> DeltaCoderPtr;
}; }

View File

@ -58,16 +58,16 @@ namespace Gorgonsub {
Exception(ExceptionList code); Exception(ExceptionList code);
Exception(ExceptionList code,const char* file,const long line); Exception(ExceptionList code,const char* file,const long line);
String GetMessage() const { return wxString(what(),wxConvLocal); } String GetMessageString() const { return wxString(what(),wxConvLocal); }
int GetCode(); int GetCode();
private: private:
static String GetMessage(int code); static const char* GetMessageChar(int code);
static String GetMessageFile(int code,const char *file,long line); static const char* GetMessageFile(int code,const char *file,long line);
ExceptionList code; ExceptionList code;
}; };
}; }
#ifdef _MSC_VER #ifdef _MSC_VER
#define THROW_GORGON_EXCEPTION(code) throw Gorgonsub::Exception(code,__FILE__,__LINE__) #define THROW_GORGON_EXCEPTION(code) throw Gorgonsub::Exception(code,__FILE__,__LINE__)

View File

@ -102,4 +102,4 @@ namespace Gorgonsub {
} }
} }
}; };
}; }

View File

@ -72,4 +72,4 @@ namespace Gorgonsub {
}; };
typedef shared_ptr<Format> FormatPtr; typedef shared_ptr<Format> FormatPtr;
}; }

View File

@ -63,4 +63,4 @@ namespace Gorgonsub {
}; };
typedef shared_ptr<FormatHandler> FormatHandlerPtr; typedef shared_ptr<FormatHandler> FormatHandlerPtr;
}; }

View File

@ -55,4 +55,4 @@ namespace Gorgonsub {
static const FormatPtr GetFormatFromName(const String &name); static const FormatPtr GetFormatFromName(const String &name);
}; };
}; }

View File

@ -45,4 +45,4 @@ namespace Gorgonsub {
typedef wxString String; typedef wxString String;
typedef std::vector<String> StringArray; typedef std::vector<String> StringArray;
}; }

View File

@ -61,4 +61,4 @@ namespace Gorgonsub {
bool operator >= (const Time &par) const { return ms >= par.ms; } bool operator >= (const Time &par) const { return ms >= par.ms; }
}; };
}; }

View File

@ -94,4 +94,4 @@ namespace Gorgonsub {
void AddListener(ViewPtr listener); void AddListener(ViewPtr listener);
}; };
}; }

View File

@ -46,4 +46,4 @@ namespace Gorgonsub {
std::vector<int> lines; std::vector<int> lines;
}; };
}; }

View File

@ -54,7 +54,7 @@ namespace Gorgonsub {
~Section() {} ~Section() {}
// Section name // Section name
String SetName(const String& newName) { name = newName; } void SetName(const String& newName) { name = newName; }
const String& GetName() const { return name; } const String& GetName() const { return name; }
// Script properties // Script properties
@ -75,4 +75,4 @@ namespace Gorgonsub {
}; };
typedef shared_ptr<Section> SectionPtr; typedef shared_ptr<Section> SectionPtr;
}; }

View File

@ -99,4 +99,4 @@ namespace Gorgonsub {
virtual void SetText(const String &_data) =0; virtual void SetText(const String &_data) =0;
}; };
}; }

View File

@ -45,7 +45,7 @@ namespace Gorgonsub {
// Dialogue class // Dialogue class
class SectionEntryDialogue : public SectionEntry { class SectionEntryDialogue : public SectionEntry {
private: private:
const static bool dodgeWarning = true; static const bool dodgeWarning = true;
void ThrowUnsupported() const { if (dodgeWarning) throw Exception(Exception::Unsupported_Format_Feature); } void ThrowUnsupported() const { if (dodgeWarning) throw Exception(Exception::Unsupported_Format_Feature); }
public: public:
@ -92,4 +92,4 @@ namespace Gorgonsub {
virtual void SetUserField(const String& userField) { (void) userField; ThrowUnsupported(); } virtual void SetUserField(const String& userField) { (void) userField; ThrowUnsupported(); }
}; };
}; }

View File

@ -45,7 +45,7 @@ namespace Gorgonsub {
// Style class // Style class
class SectionEntryStyle : public SectionEntry { class SectionEntryStyle : public SectionEntry {
private: private:
const static bool dodgeWarning = true; static const bool dodgeWarning = true;
void ThrowUnsupported() const { if (dodgeWarning) throw Exception(Exception::Unsupported_Format_Feature); } void ThrowUnsupported() const { if (dodgeWarning) throw Exception(Exception::Unsupported_Format_Feature); }
public: public:
@ -64,4 +64,4 @@ namespace Gorgonsub {
virtual int GetMargin(int n) const { (void) n; ThrowUnsupported(); return 0; } virtual int GetMargin(int n) const { (void) n; ThrowUnsupported(); return 0; }
}; };
}; }

View File

@ -43,4 +43,4 @@ namespace Gorgonsub {
virtual ~SerializeText(){} virtual ~SerializeText(){}
virtual String ToText(int param) const=0; virtual String ToText(int param) const=0;
}; };
}; }

View File

@ -61,4 +61,4 @@ namespace Gorgonsub {
bool GetBool(); bool GetBool();
}; };
}; }

View File

@ -54,4 +54,10 @@ namespace Gorgonsub {
public: public:
void operator()(void const *) const { } void operator()(void const *) const { }
}; };
};
// Array deleter for use with shared_ptr and new[]
class ArrayDeleter {
public:
void operator()(void const *p) const { delete[] p; }
};
}

View File

@ -96,4 +96,4 @@ namespace Gorgonsub {
const wxChar *StringPtrTrim(wxChar *str,size_t len,size_t start); const wxChar *StringPtrTrim(wxChar *str,size_t len,size_t start);
const wxChar *StringTrim(wxString &str,size_t start); const wxChar *StringTrim(wxString &str,size_t start);
bool AsciiStringCompareNoCase(const wxString &str1,const wxChar *str2); bool AsciiStringCompareNoCase(const wxString &str1,const wxChar *str2);
}; }

View File

@ -52,4 +52,4 @@ namespace Gorgonsub {
String GetHostApplicationName(); String GetHostApplicationName();
String GetHostApplicationURL(); String GetHostApplicationURL();
}; }

View File

@ -51,4 +51,4 @@ namespace Gorgonsub {
void Register(Model &model); void Register(Model &model);
virtual void Notify(const Notification &notification) = 0; virtual void Notify(const Notification &notification) = 0;
}; };
}; }

View File

@ -40,13 +40,13 @@ using namespace Gorgonsub;
//////////////// ////////////////
// Constructors // Constructors
Exception::Exception(ExceptionList _code) Exception::Exception(ExceptionList _code)
: std::exception(GetMessage(_code).mb_str(wxConvLocal)) : std::exception(GetMessageChar(_code))
{ {
code = _code; code = _code;
} }
Exception::Exception(ExceptionList _code,const char *file,const long line) Exception::Exception(ExceptionList _code,const char *file,const long line)
: std::exception(GetMessageFile(_code,file,line).mb_str(wxConvLocal)) : std::exception(GetMessageFile(_code,file,line))
{ {
code = _code; code = _code;
} }
@ -54,28 +54,33 @@ Exception::Exception(ExceptionList _code,const char *file,const long line)
////////////////////// //////////////////////
// Get message string // Get message string
String Exception::GetMessage(int code) const char* Exception::GetMessageChar(int code)
{ {
switch (code) { switch (code) {
case Unknown: return L"Unknown."; case Unknown: return "Unknown.";
case No_Format_Handler: return L"Could not find a suitable format handler."; case No_Format_Handler: return "Could not find a suitable format handler.";
case Invalid_ActionList: return L"Invalid manipulator."; case Invalid_ActionList: return "Invalid manipulator.";
case Section_Already_Exists: return L"The specified section already exists in this model."; case Section_Already_Exists: return "The specified section already exists in this model.";
case Unknown_Format: return L"The specified file format is unknown."; case Unknown_Format: return "The specified file format is unknown.";
case Parse_Error: return L"Parse error."; case Parse_Error: return "Parse error.";
case Unsupported_Format_Feature: return L"This feature is not supported by this format."; case Unsupported_Format_Feature: return "This feature is not supported by this format.";
case Invalid_Token: return L"Invalid type for this token."; case Invalid_Token: return "Invalid type for this token.";
case TODO: return L"TODO"; case TODO: return "TODO";
} }
return L"Invalid code."; return "Invalid code.";
} }
/////////////////////////////////// ///////////////////////////////////
// Insert file and line on message // Insert file and line on message
String Exception::GetMessageFile(int code,const char *file,long line) const char* Exception::GetMessageFile(int code,const char *file,long line)
{ {
return GetMessage(code) + _T(" (") + wxString(file,wxConvLocal) + wxString::Format(_T(":%i)."),line); static std::string str = GetMessageChar(code);
str = str + " (" + file + ":";
char buffer[16];
_itoa_s(line,buffer,10);
str = str + buffer + ")";
return str.c_str();
} }

View File

@ -109,4 +109,4 @@ namespace Gorgonsub {
StringArray GetWriteExtensions() const; StringArray GetWriteExtensions() const;
}; };
}; }

View File

@ -94,4 +94,4 @@ namespace Gorgonsub {
void SetUserField(const String &userField) { text[3] = userField; } void SetUserField(const String &userField) { text[3] = userField; }
}; };
}; }

View File

@ -43,7 +43,6 @@
using namespace Gorgonsub; using namespace Gorgonsub;
//////////////////////////////////// ////////////////////////////////////
// Encode delta between two entries // Encode delta between two entries
VoidPtr DialogueASSDeltaCoder::EncodeDelta(VoidPtr _from,VoidPtr _to) const VoidPtr DialogueASSDeltaCoder::EncodeDelta(VoidPtr _from,VoidPtr _to) const
@ -69,10 +68,10 @@ VoidPtr DialogueASSDeltaCoder::EncodeDelta(VoidPtr _from,VoidPtr _to) const
if (mask & (0x0010 << i)) size += 2; if (mask & (0x0010 << i)) size += 2;
if (mask & (0x0100 << i)) size += (to->text[i].Length()+1)*2; if (mask & (0x0100 << i)) size += (to->text[i].Length()+1)*2;
} }
shared_ptr<std::vector<char> > delta (new std::vector<char>(size)); shared_ptr<char> delta (new char[size],ArrayDeleter());
// Write data // Write data
char *final = &delta->front(); char *final = delta.get();
GetDelta(mask,final,to); GetDelta(mask,final,to);
// Return delta // Return delta
@ -85,7 +84,7 @@ VoidPtr DialogueASSDeltaCoder::EncodeDelta(VoidPtr _from,VoidPtr _to) const
VoidPtr DialogueASSDeltaCoder::EncodeReverseDelta(VoidPtr _delta,VoidPtr object) const VoidPtr DialogueASSDeltaCoder::EncodeReverseDelta(VoidPtr _delta,VoidPtr object) const
{ {
// Get mask // Get mask
char *data = &(static_pointer_cast<std::vector<char> > (_delta))->front(); char *data = (static_pointer_cast<char> (_delta)).get();
int mask = *((short*) data); int mask = *((short*) data);
shared_ptr<DialogueASS> to = static_pointer_cast<DialogueASS> (object); shared_ptr<DialogueASS> to = static_pointer_cast<DialogueASS> (object);
@ -94,10 +93,10 @@ VoidPtr DialogueASSDeltaCoder::EncodeReverseDelta(VoidPtr _delta,VoidPtr object)
for (size_t i=0;i<4;i++) { for (size_t i=0;i<4;i++) {
size += (mask & (0x0010 << i)) * 2 + (mask & (0x0100 << i)) * (to->text[i].Length()+1)*2; size += (mask & (0x0010 << i)) * 2 + (mask & (0x0100 << i)) * (to->text[i].Length()+1)*2;
} }
shared_ptr<std::vector<char> > delta (new std::vector<char>(size)); shared_ptr<char> delta (new char[size],ArrayDeleter());
// Write data // Write data
char *final = &delta->front(); char *final = delta.get();
GetDelta(mask,final,to); GetDelta(mask,final,to);
return delta; return delta;
} }
@ -109,7 +108,7 @@ VoidPtr DialogueASSDeltaCoder::EncodeReverseDelta(VoidPtr _delta,VoidPtr object)
void DialogueASSDeltaCoder::ApplyDelta(VoidPtr _delta,VoidPtr object) const void DialogueASSDeltaCoder::ApplyDelta(VoidPtr _delta,VoidPtr object) const
{ {
// Process parameters // Process parameters
char *data = &(static_pointer_cast<std::vector<char> > (_delta))->front(); char *data = (static_pointer_cast<char> (_delta)).get();
shared_ptr<DialogueASS> to = static_pointer_cast<DialogueASS> (object); shared_ptr<DialogueASS> to = static_pointer_cast<DialogueASS> (object);
// Read mask // Read mask

View File

@ -50,4 +50,4 @@ namespace Gorgonsub {
void ApplyDelta(VoidPtr delta,VoidPtr object) const; void ApplyDelta(VoidPtr delta,VoidPtr object) const;
}; };
}; }

View File

@ -57,4 +57,4 @@ namespace Gorgonsub {
void SetText(const String &_data) { data = _data; } void SetText(const String &_data) { data = _data; }
}; };
}; }

View File

@ -90,4 +90,4 @@ namespace Gorgonsub {
int GetMargin(int n) const { return margin.at(n); } int GetMargin(int n) const { return margin.at(n); }
}; };
}; }

View File

@ -58,4 +58,4 @@ namespace Gorgonsub {
void WriteLineToFile(Gorgonsub::String line,bool addLineBreak=true); void WriteLineToFile(Gorgonsub::String line,bool addLineBreak=true);
}; };
}; }

View File

@ -82,8 +82,8 @@ int main()
cout << "Processing actions... "; cout << "Processing actions... ";
timer.Start(); timer.Start();
ActionListPtr actions = control.CreateActionList(L"Insert line"); ActionListPtr actions = control.CreateActionList(L"Insert line");
actions->InsertLine(line,2); //actions->InsertLine(line,2);
actions->RemoveLine(3,L"Events"); //actions->RemoveLine(3,L"Events");
SectionEntryDialoguePtr diag = dynamic_pointer_cast<SectionEntryDialogue> (actions->ModifyLine(10,L"Events")); SectionEntryDialoguePtr diag = dynamic_pointer_cast<SectionEntryDialogue> (actions->ModifyLine(10,L"Events"));
diag->SetText(L"Hay guise sup"); diag->SetText(L"Hay guise sup");
actions->Finish(); actions->Finish();
@ -102,6 +102,7 @@ int main()
control.SaveFile(L"subs_out2.ass",L"UTF-8"); control.SaveFile(L"subs_out2.ass",L"UTF-8");
control.Undo(); control.Undo();
control.SaveFile(L"subs_out3.ass",L"UTF-8"); control.SaveFile(L"subs_out3.ass",L"UTF-8");
system("pause");
} }
catch (std::exception &e) { catch (std::exception &e) {

View File

@ -0,0 +1,203 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="aegilib_test_2008"
ProjectGUID="{5A278743-375B-4FBE-AA7F-0C3BDCF8F96C}"
RootNamespace="test"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4996"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="0"
OpenMP="false"
UsePrecompiledHeader="0"
WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4996"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
Profile="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\src\main.cpp"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -0,0 +1,169 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Intel C++ Project"
Version="10.1"
Name="aegilib_test_2008"
ProjectGUID="{801C8125-AE34-46F2-9892-9953669FE5A0}"
RootNamespace="test"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
VCNestedProjectGUID="{5A278743-375B-4FBE-AA7F-0C3BDCF8F96C}"
VCNestedProjectCRC32="637936468"
VCNestedProjectFileName="test_icl.vcproj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32">
<Tool
Name="GeneralTool"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"/>
<Tool
Name="PreBuildEventTool"/>
<Tool
Name="CustomTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="MidlCmplrTool"/>
<Tool
Name="CppCmplrTool"
Optimization="0"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4996"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="ResCmplrTool"/>
<Tool
Name="PreLinkEventTool"/>
<Tool
Name="LinkerTool"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="BscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="PostBuildEventTool"/>
</Configuration>
<Configuration
Name="Release|Win32">
<Tool
Name="GeneralTool"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
WholeProgramOptimization="1"/>
<Tool
Name="PreBuildEventTool"/>
<Tool
Name="CustomTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="MidlCmplrTool"/>
<Tool
Name="CppCmplrTool"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="0"
OpenMP="false"
UsePrecompiledHeader="0"
WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4996"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="ResCmplrTool"/>
<Tool
Name="PreLinkEventTool"/>
<Tool
Name="LinkerTool"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
Profile="true"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="BscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="PostBuildEventTool"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
<File
RelativePath=".\src\main.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -0,0 +1,203 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="aegilib_test_2008"
ProjectGUID="{5A278743-375B-4FBE-AA7F-0C3BDCF8F96C}"
RootNamespace="test"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4996"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="0"
OpenMP="false"
UsePrecompiledHeader="0"
WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4996"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
Profile="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\src\main.cpp"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>