first commit, base server
This commit is contained in:
21
msql_acces.h
Normal file
21
msql_acces.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef MSQL_ACCES_H
|
||||
#define MSQL_ACCES_H
|
||||
#include "data_acces.h"
|
||||
|
||||
#include <cppconn/driver.h>
|
||||
#include <cppconn/exception.h>
|
||||
#include <cppconn/resultset.h>
|
||||
#include <cppconn/statement.h>
|
||||
#include <cppconn/prepared_statement.h>
|
||||
|
||||
class msql_acces : public data_acces
|
||||
{
|
||||
public:
|
||||
msql_acces();
|
||||
std::string get_passwd(std::string username);
|
||||
private:
|
||||
sql::Connection *con;
|
||||
sql::Driver *driver;
|
||||
};
|
||||
|
||||
#endif // MSQL_ACCES_H
|
||||
Reference in New Issue
Block a user