Mercurial > hg > syntilista
comparison src/main.h @ 113:907f2ddf6801
Use #defines for SQL table field lengths.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 05 Jul 2017 09:52:10 +0300 |
parents | 2524434a7193 |
children | a5c8741b8662 |
comparison
equal
deleted
inserted
replaced
112:2524434a7193 | 113:907f2ddf6801 |
---|---|
21 // | 21 // |
22 #define APP_VENDOR "TNSP" // Vendor ID (for settings, etc.) | 22 #define APP_VENDOR "TNSP" // Vendor ID (for settings, etc.) |
23 #define APP_ID "Kampus Syntilista" // Application ID (for settings) | 23 #define APP_ID "Kampus Syntilista" // Application ID (for settings) |
24 #define APP_NAME "Café Kampus Syntilista" // Application title/name | 24 #define APP_NAME "Café Kampus Syntilista" // Application title/name |
25 #define APP_SQLITE_FILE "syntilista.sqlite3" // SQLite3 database file name (without path) | 25 #define APP_SQLITE_FILE "syntilista.sqlite3" // SQLite3 database file name (without path) |
26 | |
27 | |
28 #define SQL_MAX_FIRST_NAME 128 | |
29 #define SQL_MAX_LAST_NAME 128 | |
30 #define SQL_MAX_EXTRA_INFO 2048 | |
26 | 31 |
27 | 32 |
28 // | 33 // |
29 // Custom SQL models | 34 // Custom SQL models |
30 // | 35 // |