diff options
Diffstat (limited to 'inc/mine-sweeper/about/about.h')
-rwxr-xr-x | inc/mine-sweeper/about/about.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/inc/mine-sweeper/about/about.h b/inc/mine-sweeper/about/about.h new file mode 100755 index 0000000..8be4cce --- /dev/null +++ b/inc/mine-sweeper/about/about.h @@ -0,0 +1,65 @@ +/****************************************************************************** + * Copyright (C) 2015 Alejandro Colomar Andrés * + ******************************************************************************/ + + +/****************************************************************************** + ******* include guard ******************************************************** + ******************************************************************************/ +#ifndef MSW_ABOUT_H +#define MSW_ABOUT_H + + +/****************************************************************************** + ******* headers ************************************************************** + ******************************************************************************/ +#include <stdio.h> + + +/****************************************************************************** + ******* macros *************************************************************** + ******************************************************************************/ +#define PROG_NAME "mine-sweeper" +#define PROG_YEAR "2015" + +#define SHARE_DIR "" INSTALL_SHARE_DIR "/mine-sweeper/" +#define SHARE_COPYRIGHT_FILE "" SHARE_DIR "/COPYRIGHT.txt" +#define SHARE_DISCLAIMER_FILE "" SHARE_DIR "/DISCLAIMER.txt" +#define SHARE_HELP_FILE "" SHARE_DIR "/HELP.txt" +#define SHARE_LICENSE_FILE "" SHARE_DIR "/LICENSE.txt" +#define SHARE_USAGE_FILE "" SHARE_DIR "/USAGE.txt" + + +/****************************************************************************** + ******* enums **************************************************************** + ******************************************************************************/ +enum Share_File { + SHARE_COPYRIGHT, + SHARE_DISCLAIMER, + SHARE_HELP, + SHARE_LICENSE, + SHARE_USAGE +}; + + +/****************************************************************************** + ******* variables ************************************************************ + ******************************************************************************/ + + +/****************************************************************************** + ******* functions ************************************************************ + ******************************************************************************/ +void print_share_file (int share_file); +void print_version (void); + + +/****************************************************************************** + ******* include guard ******************************************************** + ******************************************************************************/ +# endif /* about.h */ + + +/****************************************************************************** + ******* end of file ********************************************************** + ******************************************************************************/ |