From e16e5330de6738dbf76864dba0bbebafe108a614 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 24 Dec 2015 04:58:10 +0000 Subject: Add service and models for reading from database --- mythfs/service/embed.cpp.m4 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mythfs/service/embed.cpp.m4 (limited to 'mythfs/service/embed.cpp.m4') diff --git a/mythfs/service/embed.cpp.m4 b/mythfs/service/embed.cpp.m4 new file mode 100644 index 0000000..43901dd --- /dev/null +++ b/mythfs/service/embed.cpp.m4 @@ -0,0 +1,12 @@ +define(`name', NAME) +define(`incl', `#include "'NAME`.h"') +define(`inclhex', `#include "'NAME`.hex"') +incl + +namespace sql { + const std::string name::sql({ + inclhex + , 0x00}); + const std::size_t name::hash(std::hash()(sql)); +} + -- cgit v1.2.3