-/* Version and release date definition */
-#define LYX_VERSION "1.1.5pre3"
-#define LYX_RELEASE "Sun, May 21, 2000"
-/* This version string is intended to be used in files created by LyX */
-#define LYX_DOCVERSION "LyX 1.1"
+// -*- 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.
+ */
+
+#ifndef VERSION_H
+#define VERSION_H
+
+///
+extern char const * lyx_version;
+///
+extern char const * lyx_release_date;
+
+/// This is the version information shown by 'lyx -version'
+extern char const * lyx_version_info;
+
+#endif