summaryrefslogtreecommitdiff
path: root/src/pke-at-storage-sql.hpp
diff options
context:
space:
mode:
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 */