#ifndef QSQLITEALGORITHM_H #define QSQLITEALGORITHM_H #include "QZkDbSqlite.h" class QSqliteAlgorithm : public QZkDbSqlite { public: QSqliteAlgorithm(const QString& dbPath); ~QSqliteAlgorithm(); bool CreateTable(int nAlgorithm); bool ReplaceRecord(int nAlgorithm, const QString& key, int type, const QByteArray& data); bool DeleteRecord(int nAlgorithm, const QString& key); bool ReadRecord(int nAlgorithm, const QString& key, int type, QByteArray& data); QStringList KeysByType(int nAlgorithm, int type); private: }; #endif // QSQLITEALGORITHM_H