1 /**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
18 #endif /* __cplusplus */
20 #if !defined(FC__FREECIV_CONFIG_H) && !defined(FC_CONFIG_H)
21 #error Files including versions.h should also include freeciv_config.h directly
24 /* This is only used in version.c, and only if IS_BETA_VERSION is true.
25 The month[] array is defined in version.c (index: 1==Jan, 2==Feb, ...). */
26 #ifndef NEXT_RELEASE_MONTH
27 #define NEXT_RELEASE_MONTH (month[FREECIV_RELEASE_MONTH])
30 /* version informational strings */
31 const char *freeciv_name_version(void);
32 const char *word_version(void);
33 const char *fc_svn_revision(void);
34 const char *fc_git_revision(void);
35 const char *fc_comparable_version(void);
36 const char *freeciv_datafile_version(void);
38 const char *freeciv_motto(void);
40 /* If returns NULL, not a beta version. */
41 const char *beta_message(void);
45 #endif /* __cplusplus */
47 #endif /* FC__VERSION_H */