mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2025-11-17 03:53:43 -08:00
git-svn-id: http://svn.sourceforge.jp/svnroot/lipsync@6 b1f601f4-4f45-0410-8980-aecacb008692
This commit is contained in:
20
trunk/Boare.Lib.Vsq/port_cpp/Boare.Lib.Vsq.sln
Normal file
20
trunk/Boare.Lib.Vsq/port_cpp/Boare.Lib.Vsq.sln
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual C++ Express 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Boare.Lib.Vsq", "Boare.Lib.Vsq.vcproj", "{19B6B5B7-6ADD-42D9-9F1E-426417DF4827}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{19B6B5B7-6ADD-42D9-9F1E-426417DF4827}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{19B6B5B7-6ADD-42D9-9F1E-426417DF4827}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{19B6B5B7-6ADD-42D9-9F1E-426417DF4827}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{19B6B5B7-6ADD-42D9-9F1E-426417DF4827}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
187
trunk/Boare.Lib.Vsq/port_cpp/Boare.Lib.Vsq.vcproj
Normal file
187
trunk/Boare.Lib.Vsq/port_cpp/Boare.Lib.Vsq.vcproj
Normal file
@@ -0,0 +1,187 @@
|
||||
<?xml version="1.0" encoding="shift_jis"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="libvsq"
|
||||
ProjectGUID="{19B6B5B7-6ADD-42D9-9F1E-426417DF4827}"
|
||||
RootNamespace="BoareLibVsq"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<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"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="0"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<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"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<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>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="<22>\<5C>[<5B>X <20>t<EFBFBD>@<40>C<EFBFBD><43>"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\cp932.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\libvsq.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\main.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="<22>w<EFBFBD>b<EFBFBD>_<EFBFBD>[ <20>t<EFBFBD>@<40>C<EFBFBD><43>"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\cp932.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\libvsq.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="<22><><EFBFBD>\<5C>[<5B>X <20>t<EFBFBD>@<40>C<EFBFBD><43>"
|
||||
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>
|
||||
9579
trunk/Boare.Lib.Vsq/port_cpp/cp932.cpp
Normal file
9579
trunk/Boare.Lib.Vsq/port_cpp/cp932.cpp
Normal file
File diff suppressed because it is too large
Load Diff
13
trunk/Boare.Lib.Vsq/port_cpp/cp932.h
Normal file
13
trunk/Boare.Lib.Vsq/port_cpp/cp932.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __cp932_h__
|
||||
#define __cp932_h__
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
wstring cp932_convert( vector<char> dat );
|
||||
vector<char> cp932_convert( wstring str );
|
||||
|
||||
#endif // __cp932_h__
|
||||
2
trunk/Boare.Lib.Vsq/port_cpp/libvsq.cpp
Normal file
2
trunk/Boare.Lib.Vsq/port_cpp/libvsq.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
#include "libvsq.h"
|
||||
|
||||
1184
trunk/Boare.Lib.Vsq/port_cpp/libvsq.h
Normal file
1184
trunk/Boare.Lib.Vsq/port_cpp/libvsq.h
Normal file
File diff suppressed because it is too large
Load Diff
17
trunk/Boare.Lib.Vsq/port_cpp/main.cpp
Normal file
17
trunk/Boare.Lib.Vsq/port_cpp/main.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "libvsq.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace vsq;
|
||||
|
||||
int main(){
|
||||
TextMemoryStream tms;
|
||||
tms.WriteLine( "foo" );
|
||||
tms.WriteLine( "bar" );
|
||||
tms.Rewind();
|
||||
while( tms.Peek() >= 0 ){
|
||||
cout << tms.ReadLine() << endl;
|
||||
}
|
||||
tms.Close();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user