init
This commit is contained in:
BIN
device/sqllite/MySQLite.dll
Normal file
BIN
device/sqllite/MySQLite.dll
Normal file
Binary file not shown.
12
device/sqllite/MySQLite_global.h
Normal file
12
device/sqllite/MySQLite_global.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef MYSQLITE_GLOBAL_H
|
||||
#define MYSQLITE_GLOBAL_H
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#if defined(MYSQLITE_LIBRARY)
|
||||
# define MYSQLITE_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define MYSQLITE_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // MYSQLITE_GLOBAL_H
|
||||
BIN
device/sqllite/libMySQLite.a
Normal file
BIN
device/sqllite/libMySQLite.a
Normal file
Binary file not shown.
26
device/sqllite/mysqlite.h
Normal file
26
device/sqllite/mysqlite.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef MYSQLITE_H
|
||||
#define MYSQLITE_H
|
||||
|
||||
#include "MySQLite_global.h"
|
||||
#include <QCoreApplication>
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlQuery>
|
||||
#include <QVariant>
|
||||
#include <QDateTime>
|
||||
#include <QtDebug>
|
||||
|
||||
|
||||
class MYSQLITE_EXPORT MySQLite
|
||||
{
|
||||
public:
|
||||
MySQLite();
|
||||
|
||||
private:
|
||||
QSqlDatabase db;
|
||||
|
||||
public:
|
||||
int InitMySQLite();
|
||||
QString GetMarkTitle(QString);
|
||||
};
|
||||
|
||||
#endif // MYSQLITE_H
|
||||
Reference in New Issue
Block a user