added thanks to MD - cleaned up main a bit
This commit is contained in:
parent
b4f8432c4c
commit
77ef0710c2
13
src/main.cpp
13
src/main.cpp
@ -1,15 +1,14 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string>
|
||||||
#include <sqlite/command.hpp>
|
#include <sqlite/command.hpp>
|
||||||
#include <sqlite/result.hpp>
|
#include <sqlite/result.hpp>
|
||||||
#include <string>
|
|
||||||
// #include "lists/hardware.h"
|
|
||||||
// #include "lists/cpu.h"
|
|
||||||
// #include "include/setcpu.h"
|
|
||||||
// #include "include/sethardware.h"
|
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
|
/*
|
||||||
// Begin testing of SQLite3
|
* Implementing SQLite3 on suggestion from MD.rpm - Thanks MD!
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
//Declare all the functions
|
||||||
static int createDB(const char* s);
|
static int createDB(const char* s);
|
||||||
static int searchTable(const char* s, std::string msearch);
|
static int searchTable(const char* s, std::string msearch);
|
||||||
static int callback(void* NotUsed, int argc, char** argv, char** azColName);
|
static int callback(void* NotUsed, int argc, char** argv, char** azColName);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user