1
0
Fork 0

Basic demonstrator

Works fine but can be slow, especially because of heavy IO.
This commit is contained in:
trotFunky 2021-10-03 19:42:28 +01:00
commit afe832654d
8 changed files with 414 additions and 0 deletions

23
db_info.h Normal file
View file

@ -0,0 +1,23 @@
//
// Created by trotfunky on 02/10/2021.
//
#ifndef AUTOPOINTSPERMIS_DB_INFO_H
#define AUTOPOINTSPERMIS_DB_INFO_H
#include <string>
const std::string dbName = "Permis.sqlite3";
const std::string pointsTable = "POINTS";
const std::string keyColumn = "LicenseHash";
const std::string idColumn = "LicenseID";
const std::string pointsColumn = "Points";
const std::string countdownColumn = "Countdown";
const std::string onePointCountdownColumn = "OneCountdown";
const std::string tenYearsCountdownColumn = "TenYCountdown";
const std::string graveOffenceColumn = "HasGrave";
constexpr int IDLength = 40;
#endif //AUTOPOINTSPERMIS_DB_INFO_H