diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-24 04:58:10 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-24 04:58:10 +0000 |
commit | e16e5330de6738dbf76864dba0bbebafe108a614 (patch) | |
tree | ee282227211bdea2abc4837115d3b22b1cfd49d7 /mythfs/service/embed.cpp.m4 | |
parent | Initial WIP commit of MythFS (diff) | |
download | mythfs-e16e5330de6738dbf76864dba0bbebafe108a614.tar.bz2 mythfs-e16e5330de6738dbf76864dba0bbebafe108a614.tar.xz mythfs-e16e5330de6738dbf76864dba0bbebafe108a614.zip |
Add service and models for reading from database
Diffstat (limited to 'mythfs/service/embed.cpp.m4')
-rw-r--r-- | mythfs/service/embed.cpp.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
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<std::string>()(sql)); +} + |