SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
main.cpp File Reference
#include "PasswordHasher/PasswordHasher.h"
#include <QtCore/QSettings>
#include <QtCore/QString>
#include <QtCore/QFileInfo>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QDebug>
#include <QtCore/QCoreApplication>
#include <QtCore/QCommandLineParser>
#include <QtSql/QtSql>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlError>
#include <QtSql/QSqlQuery>
#include <iostream>
#include <vector>
Include dependency graph for main.cpp:

Classes

class  ConfigStruct
 

Functions

bool dbExists (const ConfigStruct &database_to_look_for)
 
bool deleteDb (QString const &db_file_name)
 
void Pause (void)
 
bool fileQueryDb (QFile &source_file, QSqlQuery &query)
 
void errorHandler (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 
void createDatabases (std::vector< ConfigStruct > const &configs)
 
void addAccount (const ConfigStruct &char_database, const QString &username, const QString &password, uint16_t access_level)
 
int main (int argc, char **argv)