changeset 241:ea85ff97a01c

Move SLSQLSchemaDef struct def to main.h
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 08 May 2018 00:18:59 +0300
parents 14c6a4d40232
children 3d3ba5759cac
files src/main.cpp src/main.h
diffstat 2 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.cpp	Tue May 08 00:18:34 2018 +0300
+++ b/src/main.cpp	Tue May 08 00:18:59 2018 +0300
@@ -26,13 +26,6 @@
 //
 // SQL schema / table definitions
 //
-typedef struct
-{
-    QString name;
-    QString schema;
-} SLSQLSchemaDef;
-
-
 static const SLSQLSchemaDef slSQLSchemaData[] =
 {
     {
--- a/src/main.h	Tue May 08 00:18:34 2018 +0300
+++ b/src/main.h	Tue May 08 00:18:59 2018 +0300
@@ -71,6 +71,16 @@
 
 
 //
+// SQL schema / table definitions
+//
+typedef struct
+{
+    QString name;
+    QString schema;
+} SLSQLSchemaDef;
+
+
+//
 // Person information record
 //
 class SLPersonInfo : public QObject