-
Notifications
You must be signed in to change notification settings - Fork 0
/
view.h
49 lines (39 loc) · 915 Bytes
/
view.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
/*
* File: view.h
* Author: Bryan Daniel
*/
#ifndef VIEW_H
#define VIEW_H
#include "sorting.h"
/**
* Prints the main menu of the program
*/
void print_main_menu();
/**
* Prints a menu to select a sorting algorithm
*/
void print_algorithm_menu();
/**
* Prints a menu to select a file for sorting
*
* @param menu_options the menu options
* @param directory_path the directory path
* @return the number of options
*/
int print_file_menu(MenuOption *menu_options, char *directory_path);
/**
* Prints a menu to set the program options
*/
void print_options_menu();
/**
* Prints the menu for test file creation
*/
void print_file_creation_menu();
/**
* Prints the menu for randomizing an existing test file
*
* @param menu_options the menu options to populate
* @return the number of options
*/
int print_randomize_existing_file_options(MenuOption *menu_options);
#endif /* VIEW_H */