diff --git a/example.db3 b/examples/example1/example.db3 similarity index 100% rename from example.db3 rename to examples/example1/example.db3 diff --git a/logo.png b/examples/example1/logo.png similarity index 100% rename from logo.png rename to examples/example1/logo.png diff --git a/src/example1/main.cpp b/examples/example1/main.cpp similarity index 98% rename from src/example1/main.cpp rename to examples/example1/main.cpp index 59473bf..59f8737 100644 --- a/src/example1/main.cpp +++ b/examples/example1/main.cpp @@ -14,10 +14,10 @@ #include #include -#include "../SQLiteC++/Database.h" -#include "../SQLiteC++/Statement.h" -#include "../SQLiteC++/Column.h" -#include "../SQLiteC++/Transaction.h" +#include "../../src/Database.h" +#include "../../src/Statement.h" +#include "../../src/Column.h" +#include "../../src/Transaction.h" /// Object Oriented Basic example diff --git a/example1.vcproj b/examples/example1/msvc/example1.vcproj similarity index 80% rename from example1.vcproj rename to examples/example1/msvc/example1.vcproj index 958d40d..4961c58 100644 --- a/example1.vcproj +++ b/examples/example1/msvc/example1.vcproj @@ -41,7 +41,7 @@ diff --git a/example1.vcxproj b/examples/example1/msvc/example1.vcxproj similarity index 83% rename from example1.vcxproj rename to examples/example1/msvc/example1.vcxproj index 7c35f78..582cede 100644 --- a/example1.vcxproj +++ b/examples/example1/msvc/example1.vcxproj @@ -47,7 +47,7 @@ Disabled - src/sqlite3;%(AdditionalIncludeDirectories) + ..\..\..\sqlite3;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true EnableFastChecks @@ -68,7 +68,7 @@ MaxSpeed true - src/sqlite3;%(AdditionalIncludeDirectories) + ..\..\..\sqlite3;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) MultiThreadedDLL true @@ -86,22 +86,22 @@ - - - - - + + + + + - - - - - - + + + + + + - + {f9bf2ec1-c5e7-43d8-944d-dc5e2df1f976} false diff --git a/example1.vcxproj.filters b/examples/example1/msvc/example1.vcxproj.filters similarity index 56% rename from example1.vcxproj.filters rename to examples/example1/msvc/example1.vcxproj.filters index 9dfa3a7..5b4ef8a 100644 --- a/example1.vcxproj.filters +++ b/examples/example1/msvc/example1.vcxproj.filters @@ -3,47 +3,45 @@ {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - + SQLiteC++ - + SQLiteC++ - + SQLiteC++ - + SQLiteC++ - + example1 - + SQLiteC++ - + SQLiteC++ - + SQLiteC++ - + SQLiteC++ - + SQLiteC++ - + SQLiteC++ diff --git a/SQLiteC++-vs2008.sln b/msvc/SQLiteC++-vs2008.sln similarity index 87% rename from SQLiteC++-vs2008.sln rename to msvc/SQLiteC++-vs2008.sln index 117a1f8..6652ead 100644 --- a/SQLiteC++-vs2008.sln +++ b/msvc/SQLiteC++-vs2008.sln @@ -1,12 +1,12 @@  Microsoft Visual Studio Solution File, Format Version 10.00 # Visual C++ Express 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example1", "example1.vcproj", "{920BA937-3773-4404-8C20-F13F3DEDDC89}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example1", "..\examples\example1\msvc\example1.vcproj", "{920BA937-3773-4404-8C20-F13F3DEDDC89}" ProjectSection(ProjectDependencies) = postProject {F9BF2EC1-C5E7-43D8-944D-DC5E2DF1F976} = {F9BF2EC1-C5E7-43D8-944D-DC5E2DF1F976} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "src\sqlite3\sqlite3.vcproj", "{F9BF2EC1-C5E7-43D8-944D-DC5E2DF1F976}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "..\sqlite3\msvc\sqlite3.vcproj", "{F9BF2EC1-C5E7-43D8-944D-DC5E2DF1F976}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/SQLiteC++-vs2010.sln b/msvc/SQLiteC++-vs2010.sln similarity index 88% rename from SQLiteC++-vs2010.sln rename to msvc/SQLiteC++-vs2010.sln index ffb985f..3a72d36 100644 --- a/SQLiteC++-vs2010.sln +++ b/msvc/SQLiteC++-vs2010.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 11.00 # Visual C++ Express 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example1", "example1.vcxproj", "{920BA937-3773-4404-8C20-F13F3DEDDC89}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example1", "..\examples\example1\msvc\example1.vcxproj", "{920BA937-3773-4404-8C20-F13F3DEDDC89}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "src\sqlite3\sqlite3.vcxproj", "{F9BF2EC1-C5E7-43D8-944D-DC5E2DF1F976}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "..\sqlite3\msvc\sqlite3.vcxproj", "{F9BF2EC1-C5E7-43D8-944D-DC5E2DF1F976}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/sqlite3/README.txt b/sqlite3/README.txt similarity index 100% rename from src/sqlite3/README.txt rename to sqlite3/README.txt diff --git a/src/sqlite3/sqlite3.vcproj b/sqlite3/msvc/sqlite3.vcproj similarity index 90% rename from src/sqlite3/sqlite3.vcproj rename to sqlite3/msvc/sqlite3.vcproj index 7696e24..5dc924a 100644 --- a/src/sqlite3/sqlite3.vcproj +++ b/sqlite3/msvc/sqlite3.vcproj @@ -145,21 +145,19 @@ diff --git a/src/sqlite3/sqlite3.vcxproj b/sqlite3/msvc/sqlite3.vcxproj similarity index 97% rename from src/sqlite3/sqlite3.vcxproj rename to sqlite3/msvc/sqlite3.vcxproj index b15dec8..fbc05b4 100644 --- a/src/sqlite3/sqlite3.vcxproj +++ b/sqlite3/msvc/sqlite3.vcxproj @@ -69,10 +69,10 @@ - + - + diff --git a/src/sqlite3/sqlite3.vcxproj.filters b/sqlite3/msvc/sqlite3.vcxproj.filters similarity index 83% rename from src/sqlite3/sqlite3.vcxproj.filters rename to sqlite3/msvc/sqlite3.vcxproj.filters index ec21c39..18b718b 100644 --- a/src/sqlite3/sqlite3.vcxproj.filters +++ b/sqlite3/msvc/sqlite3.vcxproj.filters @@ -3,11 +3,9 @@ {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd diff --git a/src/sqlite3/sqlite3.c b/sqlite3/sqlite3.c similarity index 100% rename from src/sqlite3/sqlite3.c rename to sqlite3/sqlite3.c diff --git a/src/sqlite3/sqlite3.h b/sqlite3/sqlite3.h similarity index 100% rename from src/sqlite3/sqlite3.h rename to sqlite3/sqlite3.h diff --git a/src/SQLiteC++/Column.cpp b/src/Column.cpp similarity index 100% rename from src/SQLiteC++/Column.cpp rename to src/Column.cpp diff --git a/src/SQLiteC++/Column.h b/src/Column.h similarity index 100% rename from src/SQLiteC++/Column.h rename to src/Column.h diff --git a/src/SQLiteC++/Database.cpp b/src/Database.cpp similarity index 100% rename from src/SQLiteC++/Database.cpp rename to src/Database.cpp diff --git a/src/SQLiteC++/Database.h b/src/Database.h similarity index 100% rename from src/SQLiteC++/Database.h rename to src/Database.h diff --git a/src/SQLiteC++/Exception.h b/src/Exception.h similarity index 100% rename from src/SQLiteC++/Exception.h rename to src/Exception.h diff --git a/src/SQLiteC++/SQLiteC++.h b/src/SQLiteC++.h similarity index 100% rename from src/SQLiteC++/SQLiteC++.h rename to src/SQLiteC++.h diff --git a/src/SQLiteC++/Statement.cpp b/src/Statement.cpp similarity index 100% rename from src/SQLiteC++/Statement.cpp rename to src/Statement.cpp diff --git a/src/SQLiteC++/Statement.h b/src/Statement.h similarity index 100% rename from src/SQLiteC++/Statement.h rename to src/Statement.h diff --git a/src/SQLiteC++/Transaction.cpp b/src/Transaction.cpp similarity index 100% rename from src/SQLiteC++/Transaction.cpp rename to src/Transaction.cpp diff --git a/src/SQLiteC++/Transaction.h b/src/Transaction.h similarity index 100% rename from src/SQLiteC++/Transaction.h rename to src/Transaction.h