Reorganizing database creation to a new class: DbCreator
[emufront] / src / db / dbcreator.h
1 #ifndef DBCREATOR_H
2 #define DBCREATOR_H
3
4 #include <QObject>
5
6 class DbCreator : public QObject
7 {
8 public:
9
10     DbCreator(QObject *parent = 0);
11     bool deleteDB();
12     static bool tableExists(QString);
13     static bool dbExists();
14     bool createDB();
15 };
16
17 #endif // DBCREATOR_H