2003-08-23 00:17:00 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file version.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Jean-Marc Lasgouttes
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
2001-10-03 15:49:32 +00:00
|
|
|
|
|
|
|
#ifndef VERSION_H
|
|
|
|
#define VERSION_H
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
//namespace lyx {
|
|
|
|
|
2011-02-09 22:19:14 +00:00
|
|
|
///About dialog, inset info, export headers
|
2011-02-11 02:09:22 +00:00
|
|
|
extern char const * const lyx_version;
|
2011-02-09 22:19:14 +00:00
|
|
|
//.lyx header. We don't want lyx_version because of VCS conflicts.
|
2011-02-11 00:24:06 +00:00
|
|
|
extern const int lyx_version_major;
|
|
|
|
extern const int lyx_version_minor;
|
2000-08-07 20:58:24 +00:00
|
|
|
///
|
2014-10-10 10:12:17 +00:00
|
|
|
extern char const * const lyx_git_commit_hash;
|
|
|
|
///
|
2011-02-11 00:46:49 +00:00
|
|
|
extern char const * const lyx_release_date;
|
2001-10-03 15:49:32 +00:00
|
|
|
|
2009-06-29 08:44:32 +00:00
|
|
|
/// Package identifier (lyx[-<version-suffix>])
|
2011-02-11 00:46:49 +00:00
|
|
|
extern char const * const lyx_package;
|
2009-06-29 08:44:32 +00:00
|
|
|
|
2001-10-03 15:49:32 +00:00
|
|
|
/// This is the version information shown by 'lyx -version'
|
2011-02-11 00:46:49 +00:00
|
|
|
extern char const * const lyx_version_info;
|
2001-10-03 15:49:32 +00:00
|
|
|
|
2011-10-23 10:29:21 +00:00
|
|
|
// Do not remove the comment below, so we get merge conflict in
|
|
|
|
// independent branches. Instead add your own.
|
2021-03-06 15:53:33 +00:00
|
|
|
#define LYX_FORMAT_LYX 607 // spitz: \\spellchecker_ignore buffer param
|
|
|
|
#define LYX_FORMAT_TEX2LYX 607
|
2011-10-23 10:29:21 +00:00
|
|
|
|
2012-03-10 11:53:47 +00:00
|
|
|
#if LYX_FORMAT_TEX2LYX != LYX_FORMAT_LYX
|
2012-03-16 11:22:34 +00:00
|
|
|
#ifndef _MSC_VER
|
2012-03-16 11:20:52 +00:00
|
|
|
#warning "tex2lyx produces an out of date file format."
|
|
|
|
#warning "Please update tex2lyx as soon as possible, since it depends implicitly"
|
|
|
|
#warning "on the current file format in some places (this causes bugs like #7780)."
|
2012-03-16 11:22:34 +00:00
|
|
|
#else
|
|
|
|
#pragma message("warning: tex2lyx produces an out of date file format. " \
|
|
|
|
"Please update tex2lyx as soon as possible, since it depends implicitly " \
|
|
|
|
"on the current file format in some places (this causes bugs like #7780).")
|
|
|
|
#endif
|
2011-10-23 10:29:21 +00:00
|
|
|
#endif
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
//} // namespace lyx
|
|
|
|
|
2001-10-03 15:49:32 +00:00
|
|
|
#endif
|