-
Notifications
You must be signed in to change notification settings - Fork 1
/
display.h
58 lines (47 loc) · 1.23 KB
/
display.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* Header file for the Display C program
*
* @file display.h
* @author Pranav Kale
*/
#include "flights.h"
#ifndef DISPLAY_H
#define DISPLAY_H
/**
Display flight table Row for each flight stored
@param fdatab the database of different flights
*/
void displayFlightTableRow(FlightDatabase *fdatab);
/**
Display the flight table header for labels and information
*/
void displayFlightTableHeader();
/**
Clear Console after usage or application feature
*/
void clearConsole();
/**
Display the Menu options for using the Flight Manager Application
@param options a 2D Array of all possible command options
*/
void displayMenuOptions(const char options[][50]);
/**
* Display the Header for the Airport Information to Console
*/
void dispAirportHeader();
/**
Display data for a single flight found from flight database
@param fdatab the database to check
@param str the flight ID to use for display
*/
void displaySingleFlightData(FlightDatabase *fdatab, char const *str);
/**
Display all available airports in the current flight database
@param fdatab the database to check
*/
void displayAllAirports(FlightDatabase *fdatab);
/**
Display App information on Console
*/
void displayApp();
#endif