From 62dae6011db94dd52c3ac0fce517c6e9cc0abcf6 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Fri, 10 Oct 2025 17:07:45 -0400 Subject: pke-at: first-pass storage interface --- src/pke-at-storage-sql.hpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/pke-at-storage-sql.hpp (limited to 'src/pke-at-storage-sql.hpp') diff --git a/src/pke-at-storage-sql.hpp b/src/pke-at-storage-sql.hpp new file mode 100644 index 0000000..39c8ed8 --- /dev/null +++ b/src/pke-at-storage-sql.hpp @@ -0,0 +1,23 @@ +#ifndef PKE_AT_PKE_AT_STORAGE_SQL_HPP +#define PKE_AT_PKE_AT_STORAGE_SQL_HPP + +#include "pke-at-storage-interface.hpp" + +struct pke_at_storage_sql : public pke_at_storage_interface { + void init() const override; + void teardown() const override; + PASIR_DEL(section) const override; + PASIR_GET(section, pke_at_section_details) const override; + PASIR_UPS(section, pke_at_section_details) const override; + PASIR_DEL(setlist) const override; + PASIR_GET(setlist, pke_at_setlist_details) const override; + PASIR_UPS(setlist, pke_at_setlist_details) const override; + PASIR_DEL(setlist_song) const override; + PASIR_GET(setlist_song, pke_at_setlist_song_details) const override; + PASIR_UPS(setlist_song, pke_at_setlist_song_details) const override; + PASIR_DEL(song) const override; + PASIR_GET(song, pke_at_song_details) const override; + PASIR_UPS(song, pke_at_song_details) const override; +}; + +#endif /* PKE_AT_PKE_AT_STORAGE_SQL_HPP */ -- cgit v1.2.3