Files
Course-Design-C--/render_ui.h
2025-04-15 18:38:03 +08:00

27 lines
740 B
C++

#ifndef COURSE_DESIGN_RENDER_UI_H_
#define COURSE_DESIGN_RENDER_UI_H_
#include "data.h"
#include "tools.h"
#include "userAuth.h"
#include <algorithm>
#include <ios>
#include <iostream>
#include <limits>
#include <string>
int show_main_menu();
void display_user_records(const std::vector<UserStruct> &records);
void handle_show_user_records(sqlite3 *db);
void display_pa_records(const std::vector<PAStruct> &records);
void handle_show_pa_records(sqlite3 *db);
void handle_show_pa_leftcar_records(sqlite3 *db);
void handle_add_pa_record(sqlite3 *db);
void handle_add_user_record(sqlite3 *db);
void handle_leave_car(sqlite3 *db);
void handle_update_userpassword_record(sqlite3 *db);
void handle_delete_user_record(sqlite3 *db);
#endif