summaryrefslogtreecommitdiff
path: root/src/pke-at-storage-sql.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-10-10 17:07:45 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-10-10 17:07:45 -0400
commit62dae6011db94dd52c3ac0fce517c6e9cc0abcf6 (patch)
tree1700442c9b6648af7ec8781af0ec92856a93cecd /src/pke-at-storage-sql.hpp
parentcc8653536c499df4b85aae423ad6b27bb74544be (diff)
pke-at: first-pass storage interface
Diffstat (limited to 'src/pke-at-storage-sql.hpp')
-rw-r--r--src/pke-at-storage-sql.hpp23
1 files changed, 23 insertions, 0 deletions
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 */