Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2007-08-02 01:33:34 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2007-08-02 01:33:34 +0400
commit42a69cce07e723a6b34aaec06b6d0f2ab02f4c1d (patch)
treefd8f3e133b72a9ad0deec552226ae0619dbd217d /src/murmur/ServerDB.h
parent0ef9c344949eaa1e8927a0360df9db9e1634a68a (diff)
SQL reconnect on lost connection
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@673 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'src/murmur/ServerDB.h')
-rw-r--r--src/murmur/ServerDB.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/murmur/ServerDB.h b/src/murmur/ServerDB.h
index 4ede8bcd8..6d79f59d2 100644
--- a/src/murmur/ServerDB.h
+++ b/src/murmur/ServerDB.h
@@ -40,6 +40,7 @@ class Connection;
class ServerDB {
public:
ServerDB();
+ static QSqlDatabase db;
static void setSUPW(int iServNum, const QString &pw);
static QList<int> getBootServers();
static QList<int> getAllServers();
@@ -47,6 +48,7 @@ class ServerDB {
static bool serverExists(int num);
static QVariant getConf(int server_id, const QString &key, QVariant def = QVariant());
static void setConf(int server_id, const QString &key, const QVariant &value);
+ static void exec(QSqlQuery &);
};
#endif