From 3e76d660b0f0bd9bf003b2b7c5261c173a442a9a Mon Sep 17 00:00:00 2001 From: fdai7057 Date: Fri, 20 Jan 2023 17:22:16 +0100 Subject: [PATCH] implementation of checkLogin() --- src/LoginCustomer.c | 5 +++++ src/LoginCustomer.h | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 src/LoginCustomer.c create mode 100644 src/LoginCustomer.h diff --git a/src/LoginCustomer.c b/src/LoginCustomer.c new file mode 100644 index 0000000..c9b956e --- /dev/null +++ b/src/LoginCustomer.c @@ -0,0 +1,5 @@ +#include "LoginCustomer.h" +bool checkLogin(bool loginSuccessful) +{ + return (loginSuccessful) ? true : false; +} diff --git a/src/LoginCustomer.h b/src/LoginCustomer.h new file mode 100644 index 0000000..7f0f8f9 --- /dev/null +++ b/src/LoginCustomer.h @@ -0,0 +1,3 @@ +#include +#include +bool checkLogin(bool);