Skip to content

Commit

Permalink
sample(DBLogger): New sample to demonstrate DB logging to a file. (#4750
Browse files Browse the repository at this point in the history
)
  • Loading branch information
matejk committed Nov 6, 2024
1 parent c156f0b commit aab19a9
Show file tree
Hide file tree
Showing 10 changed files with 2,349 additions and 0 deletions.
1 change: 1 addition & 0 deletions Data/samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ add_subdirectory(RowFormatter)
add_subdirectory(Tuple)
add_subdirectory(TypeHandler)
add_subdirectory(WebNotifier)
add_subdirectory(DBLogger)
2 changes: 2 additions & 0 deletions Data/samples/DBLogger/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
add_executable(DBLogger src/DBLogger.cpp)
target_link_libraries(DBLogger PUBLIC Poco::Util Poco::DataSQLite)
11 changes: 11 additions & 0 deletions Data/samples/DBLogger/DBLogger.progen
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vc.project.guid = ${vc.project.guidFromName}
vc.project.name = ${vc.project.baseName}
vc.project.target = ${vc.project.name}
vc.project.type = executable
vc.project.pocobase = ..\\..\\..
vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\XML\\include;..\\..\\..\\Util\\include;..\\..\\..\\Data\\include;..\\..\\..\\Data\\SQLParser;..\\Data\\SQLParser\\src;..\\..\\..\\Data\\SQLite\\include
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.project.linker.dependencies = iphlpapi.lib
658 changes: 658 additions & 0 deletions Data/samples/DBLogger/DBLogger_vs160.vcxproj

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions Data/samples/DBLogger/DBLogger_vs160.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{44da8908-c5b2-47ce-96ef-32399efa83a6}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{bbdd3937-90d6-470c-a220-6a5f836cdad9}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\RowFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
973 changes: 973 additions & 0 deletions Data/samples/DBLogger/DBLogger_vs170.vcxproj

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions Data/samples/DBLogger/DBLogger_vs170.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{2a1d790b-cbc6-4838-a942-cff99bfd18c2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{452aef7d-9e20-4c55-bf64-dff76c90ad9d}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\RowFormatter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
Loading

0 comments on commit aab19a9

Please sign in to comment.