summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-07 16:07:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-07 16:07:47 +0300
commite26d06563851e85fa26c606a2577f81b4d7bef7c (patch)
tree8c13a181edf87d213dfb16a8576900cd1f7f608f /plugins/Dbx_sqlite/src/stdafx.h
parent6984f16b63161b21ee76df0fb93ef39de4b925b1 (diff)
less constants, less arrays
Diffstat (limited to 'plugins/Dbx_sqlite/src/stdafx.h')
-rw-r--r--plugins/Dbx_sqlite/src/stdafx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Dbx_sqlite/src/stdafx.h b/plugins/Dbx_sqlite/src/stdafx.h
index a73a36ef53..d1cbb5ec17 100644
--- a/plugins/Dbx_sqlite/src/stdafx.h
+++ b/plugins/Dbx_sqlite/src/stdafx.h
@@ -20,6 +20,14 @@
#include "resource.h"
#include "version.h"
+struct CQuery
+{
+ const char *szQuery;
+ sqlite3_stmt *pQuery;
+};
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
constexpr auto SQLITE_HEADER_STR = "SQLite format 3";
struct CMPlugin : public PLUGIN<CMPlugin>