6#ifndef SWIFT_MISC_DB_DATASTOREUTILITY_H
7#define SWIFT_MISC_DB_DATASTOREUTILITY_H
Status messages, e.g. from Core -> GUI.
CDatastoreUtility()=delete
No constructor.
static const QString & boolToDbYN(bool v)
Bool to DB yes/no.
static const QStringList & getLogCategories()
Log.categories.
static int extractIntegerKey(const QString &stringWithKey)
Extract key from string like "MyAircraft (33)".
static QString stripKeyInParentheses(const QString &valueWithKey)
Strip the parentheses part, e.g. "foo (123)" => "foo".
static QDateTime parseTimestamp(const QString ×tamp)
Parse a timestamp object.
static bool dbBoolStringToBool(const QString &dbBool)
DB Bool value to bool.
static bool parseAutoPublishResponse(const QString &jsonResponse, CStatusMessageList &messages)
Auto publish response.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.