summaryrefslogtreecommitdiffstats
path: root/inc/mine-sweeper/about/about.h
blob: 8be4cce49faa82cf6ef24123e4a1c723bd19ae70 (plain) (blame)
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
59
60
61
62
63
64
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 **********************************************************
 ******************************************************************************/