Go to file
2019-07-06 13:32:00 -03:00
headers added a park interface 2019-07-06 13:32:00 -03:00
thirdparty/SQLiteCpp ?? 2019-06-26 22:20:06 -03:00
.clang-format Added constructors to construct from db info 2019-06-30 00:37:18 -03:00
.gitignore Added gitignore and Devguide 2019-05-28 18:28:20 -03:00
CMakeLists.txt Fixing some stuff 2019-07-06 11:52:01 -03:00
Customer.cpp added a park interface 2019-07-06 13:32:00 -03:00
data.cpp ammend parkspot to include vehicletype 2019-07-06 12:14:18 -03:00
Development Guidelines.md Revision of guidelines 2019-06-17 14:52:05 +00:00
encrypt.cpp Documentation added 2019-07-02 15:40:37 -03:00
graph.png Added include graph 2019-07-02 15:56:10 -03:00
Interface.cpp added a park interface 2019-07-06 13:32:00 -03:00
main.cpp added a park interface 2019-07-06 13:32:00 -03:00
Park_spot.cpp ammend parkspot to include vehicletype 2019-07-06 12:14:18 -03:00
Park_time.cpp added a park interface 2019-07-06 13:32:00 -03:00
Query.cpp added a park interface 2019-07-06 13:32:00 -03:00
readme.md Added include graph 2019-07-02 15:56:10 -03:00
test.db3 added a park interface 2019-07-06 13:32:00 -03:00

use

cmake -G "MinGW Makefiles" -S ./ -B ./build/
mingw32-make

to build the project. it will generate the .exe in /build/park.exe Or click the build icon in vscode shrugs

Parkmanne

A stroll in the park

This is a graph of how everything is connected. If you need to add functionality that doesn't fall in any of these, and you're unsure of what to include, you can decide something like this:

Take my customer class for example. It needs to be able to save to db, so it needs data. It needs to modify and save park_time objects, so it needs those. It needs to encrypt and decrypt passwords. BUT since data already includes encrypt, it doesn't have to be encrypted. So customer includes those.

Another example is Parkspot. It needs information about both customers and save to the database. Since customer also includes data, i don't have to include it again.

Last example:

header includes