X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsqlitestorage.h;h=6df95b1b2929bfdeb486fb71cc5c155e70c685aa;hb=75aed292bb10fdba0c6f447a1c899510638a9c5d;hp=25f25a51171b2f47d14edb85e6a8cacf43f3bdcf;hpb=674ad8ee4369cbc9516eb6d6629a616e9310c71f;p=quassel.git diff --git a/src/core/sqlitestorage.h b/src/core/sqlitestorage.h index 25f25a51..6df95b1b 100644 --- a/src/core/sqlitestorage.h +++ b/src/core/sqlitestorage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -94,6 +94,8 @@ protected: inline virtual QString driverName() { return "QSQLITE"; } inline virtual QString databaseName() { return backlogFile(); } virtual int installedSchemaVersion(); + virtual bool updateSchemaVersion(int newVersion); + virtual bool setupSchemaVersion(int version); bool safeExec(QSqlQuery &query, int retryCount = 0); private: