diff options
author | MJPA <git@mjpa.co.uk> | 2010-09-23 00:13:02 +0400 |
---|---|---|
committer | MJPA <git@mjpa.co.uk> | 2010-09-23 00:13:02 +0400 |
commit | dc4807e17c85cfed4f0180ae2197cb08cd7f16e6 (patch) | |
tree | 903fed38d0d52d5ab2892189750edfbbb249654d /vs2008 | |
parent | baab08ba95dca84bbbce339b33b15b0718e6106d (diff) |
Adding first commit with files
Diffstat (limited to 'vs2008')
-rw-r--r-- | vs2008/JSONDemo.sln | 17 | ||||
-rw-r--r-- | vs2008/JSONDemo.vcproj | 179 | ||||
-rw-r--r-- | vs2008/common_controls.manifest | 8 | ||||
-rw-r--r-- | vs2008/gui.rc | 105 | ||||
-rw-r--r-- | vs2008/resource.h | 24 |
5 files changed, 333 insertions, 0 deletions
diff --git a/vs2008/JSONDemo.sln b/vs2008/JSONDemo.sln new file mode 100644 index 0000000..1f3f035 --- /dev/null +++ b/vs2008/JSONDemo.sln @@ -0,0 +1,17 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSONDemo", "JSONDemo.vcproj", "{06DE72C5-3E2A-4DFC-A60E-69B8471E8AC1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {06DE72C5-3E2A-4DFC-A60E-69B8471E8AC1}.Release|Win32.ActiveCfg = Release|Win32 + {06DE72C5-3E2A-4DFC-A60E-69B8471E8AC1}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vs2008/JSONDemo.vcproj b/vs2008/JSONDemo.vcproj new file mode 100644 index 0000000..756dff8 --- /dev/null +++ b/vs2008/JSONDemo.vcproj @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="9.00" + Name="JSONDemo" + ProjectGUID="{06DE72C5-3E2A-4DFC-A60E-69B8471E8AC1}" + RootNamespace="JSONDemo" + Keyword="Win32Proj" + TargetFrameworkVersion="196613" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Release|Win32" + OutputDirectory="$(SolutionDir)\..\" + IntermediateDirectory="..\obj\" + ConfigurationType="1" + 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;_WINDOWS" + RuntimeLibrary="2" + EnableFunctionLevelLinking="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="false" + DebugInformationFormat="0" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="1" + GenerateDebugInformation="false" + SubSystem="2" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + AdditionalManifestFiles="..\vs2008\common_controls.manifest" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + CommandLine="" + /> + </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\demo\example.cpp" + > + <FileConfiguration + Name="Release|Win32" + > + <Tool + Name="VCCLCompilerTool" + /> + </FileConfiguration> + </File> + <File + RelativePath="..\src\demo\testcases.cpp" + > + </File> + <File + RelativePath="..\src\demo\win-main.cpp" + > + <FileConfiguration + Name="Release|Win32" + > + <Tool + Name="VCCLCompilerTool" + /> + </FileConfiguration> + </File> + <Filter + Name="Library" + > + <File + RelativePath="..\src\JSON.cpp" + > + </File> + <File + RelativePath="..\src\JSON.h" + > + </File> + <File + RelativePath="..\src\JSONValue.cpp" + > + </File> + <File + RelativePath="..\src\JSONValue.h" + > + </File> + </Filter> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + <File + RelativePath="..\src\demo\functions.h" + > + </File> + <File + RelativePath=".\resource.h" + > + </File> + </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}" + > + <File + RelativePath=".\gui.rc" + > + </File> + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/vs2008/common_controls.manifest b/vs2008/common_controls.manifest new file mode 100644 index 0000000..6a6ea3e --- /dev/null +++ b/vs2008/common_controls.manifest @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <dependency> + <dependentAssembly> + <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="x86"/> + </dependentAssembly> + </dependency> +</assembly>
\ No newline at end of file diff --git a/vs2008/gui.rc b/vs2008/gui.rc new file mode 100644 index 0000000..468577e --- /dev/null +++ b/vs2008/gui.rc @@ -0,0 +1,105 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.K.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_JSONDEMO DIALOGEX 0, 0, 340, 294 +STYLE DS_SETFONT | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU +EXSTYLE WS_EX_APPWINDOW +CAPTION "MJPA JSON library demo" +FONT 8, "Courier New", 400, 0, 0x0 +BEGIN + GROUPBOX "Input data: ",IDC_STATIC,7,7,326,129 + GROUPBOX "Output data: ",IDC_STATIC,7,161,326,126 + EDITTEXT IDC_INPUT,17,22,304,100,ES_MULTILINE | ES_WANTRETURN | WS_VSCROLL + EDITTEXT IDC_OUTPUT,17,177,304,100,ES_MULTILINE | ES_READONLY | ES_WANTRETURN | WS_VSCROLL + PUSHBUTTON "Verify",IDC_VERIFY,8,141,55,14 + PUSHBUTTON "Verify + Echo",IDC_ECHO,75,141,55,14 + PUSHBUTTON "Example 1",IDC_EX1,142,141,55,14 + PUSHBUTTON "Example 2",IDC_EX2,209,141,55,14 + PUSHBUTTON "Test Cases",IDC_TESTCASES,276,141,55,14 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_JSONDEMO, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 333 + TOPMARGIN, 7 + BOTTOMMARGIN, 287 + END +END +#endif // APSTUDIO_INVOKED + +#endif // English (U.K.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/vs2008/resource.h b/vs2008/resource.h new file mode 100644 index 0000000..923eb43 --- /dev/null +++ b/vs2008/resource.h @@ -0,0 +1,24 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by gui.rc +// +#define IDD_JSONDEMO 101 +#define IDC_INPUT 1001 +#define IDC_OUTPUT 1002 +#define IDC_VERIFY 1003 +#define IDC_ECHO 1004 +#define IDC_EX1 1005 +#define IDC_EX2 1006 +#define IDC_EX3 1007 +#define IDC_TESTCASES 1007 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 102 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1007 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif |