From 1fdc150116cad39aae5c5da407c3312b47a59e3a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 17 Dec 2021 07:06:30 -0500 Subject: New upstream version 3.3.3+dfsg1. --- SQLiteStudio3/coreSQLiteStudio/completionhelper.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'SQLiteStudio3/coreSQLiteStudio/completionhelper.h') diff --git a/SQLiteStudio3/coreSQLiteStudio/completionhelper.h b/SQLiteStudio3/coreSQLiteStudio/completionhelper.h index 5c656c2..8df1912 100644 --- a/SQLiteStudio3/coreSQLiteStudio/completionhelper.h +++ b/SQLiteStudio3/coreSQLiteStudio/completionhelper.h @@ -4,7 +4,6 @@ #include "expectedtoken.h" #include "schemaresolver.h" #include "selectresolver.h" -#include "dialect.h" #include "completioncomparer.h" #include "parser/ast/sqliteselect.h" #include "parser/token.h" @@ -68,6 +67,9 @@ class API_EXPORT CompletionHelper : public QObject EXPR }; + static void initFunctions(Db* db); + static void initPragmas(Db* db); + QList getExpectedTokens(TokenPtr token); ExpectedTokenPtr getExpectedToken(ExpectedToken::Type type); ExpectedTokenPtr getExpectedToken(ExpectedToken::Type type, const QString& value); @@ -103,7 +105,7 @@ class API_EXPORT CompletionHelper : public QObject QList getColumns(const QString& prefixDb, const QString& prefixTable); QList getFavoredColumns(const QList& resultsSoFar); - QList getPragmas(Dialect dialect); + QList getPragmas(); QList getFunctions(Db* db); QList getCollations(); TokenPtr getPreviousDbOrTable(const TokenList& parsedTokens); -- cgit v1.2.3