Stop sharing requirement_unit_state_ereq().
[freeciv.git] / common / version.h
blob5e59948bae271578fb393bf240e1857b4b1de20d
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)
6 any later version.
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 ***********************************************************************/
13 #ifndef FC__VERSION_H
14 #define FC__VERSION_H
16 #ifdef __cplusplus
17 extern "C" {
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
22 #endif
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, ...).
27 #ifndef NEXT_RELEASE_MONTH
28 #define NEXT_RELEASE_MONTH (month[FREECIV_RELEASE_MONTH])
29 #endif
31 /* version informational strings */
32 const char *freeciv_name_version(void);
33 const char *word_version(void);
34 const char *fc_svn_revision(void);
35 const char *fc_git_revision(void);
36 const char *fc_comparable_version(void);
37 const char *freeciv_datafile_version(void);
39 const char *freeciv_motto(void);
41 /* If returns NULL, not a beta version. */
42 const char *beta_message(void);
44 #ifdef __cplusplus
46 #endif /* __cplusplus */
48 #endif /* FC__VERSION_H */