-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also use C++11
- Loading branch information
Showing
3 changed files
with
81 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
project('hex-to-image', 'cpp', default_options: ['cpp_std=c++17'], license: 'MIT') | ||
project('hex-to-image', 'cpp', default_options: ['cpp_std=c++11'], license: 'MIT') | ||
|
||
subdir('src') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* Copyright (C) 2021 ToMe25. | ||
* This project is licensed under the MIT License. | ||
* The MIT license can be found in the project root and at https://opensource.org/licenses/MIT. | ||
*/ | ||
#ifndef SRC_HEX_TO_IMAGE_H_ | ||
#define SRC_HEX_TO_IMAGE_H_ | ||
|
||
enum class Commands { | ||
Null, | ||
Help, | ||
Info, | ||
Input, | ||
Width, | ||
Height, | ||
Output, | ||
Override, | ||
Digits | ||
}; | ||
|
||
int main(const int argc, char **argv); | ||
|
||
/** | ||
* Prints the command help output to the standard output. | ||
*/ | ||
void printHelp(); | ||
|
||
/** | ||
* Prints program info to the standard output. | ||
*/ | ||
void printInfo(); | ||
|
||
#endif /* SRC_HEX_TO_IMAGE_H_ */ |