aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/services/dbmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/services/dbmanager.h')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/services/dbmanager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/services/dbmanager.h b/SQLiteStudio3/coreSQLiteStudio/services/dbmanager.h
index 66bbf08..52746e4 100644
--- a/SQLiteStudio3/coreSQLiteStudio/services/dbmanager.h
+++ b/SQLiteStudio3/coreSQLiteStudio/services/dbmanager.h
@@ -131,7 +131,7 @@ class API_EXPORT DbManager : public QObject
*
* This method is fast, as it uses hash table lookup.
*/
- virtual Db* getByName(const QString& name, Qt::CaseSensitivity cs = Qt::CaseSensitive) = 0;
+ virtual Db* getByName(const QString& name, Qt::CaseSensitivity cs = Qt::CaseInsensitive) = 0;
/**
* @brief Gives database object by its file path.
@@ -162,6 +162,10 @@ class API_EXPORT DbManager : public QObject
*/
virtual bool isTemporary(Db* db) = 0;
+ virtual DbPlugin* getPluginForDbFile(const QString& filePath) = 0;
+ virtual QString generateUniqueDbName(const QString& filePath) = 0;
+ virtual QString generateUniqueDbName(DbPlugin* plugin, const QString& filePath) = 0;
+
/**
* @brief Generates database name.
* @param filePath Database file path.