Skip to content
Snippets Groups Projects
Commit 8e947ac1 authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Refs #16639 Remove duplicate version definitions.

This version information is now in a single place.
parent afeb4225
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ set ( QTIPLOT_SRCS src/ApplicationWindow.cpp ...@@ -45,6 +45,7 @@ set ( QTIPLOT_SRCS src/ApplicationWindow.cpp
src/Folder.cpp src/Folder.cpp
src/FunctionCurve.cpp src/FunctionCurve.cpp
src/FunctionDialog.cpp src/FunctionDialog.cpp
src/globals.cpp
src/Graph3D.cpp src/Graph3D.cpp
src/Graph.cpp src/Graph.cpp
src/Grid.cpp src/Grid.cpp
......
#include "MantidAbout.h" #include "MantidAbout.h"
#include "MantidKernel/MantidVersion.h" #include "MantidKernel/MantidVersion.h"
#include "globals.h"
extern const int maj_version;
extern const int min_version;
extern const int patch_version;
const int maj_version = 0;
const int min_version = 9;
const int patch_version = 5;
extern const char *extra_version;
extern const char *copyright_string;
extern const char *release_date;
/** /**
* Constructor * Constructor
......
#include "globals.h"
// Don't forget to change the Doxyfile when changing these!
//! Major version number
const int maj_version = 0;
//! Minor version number (0..9)
const int min_version = 9;
//! Patch version number (0..9)
const int patch_version = 5;
//! Extra version information string (like "alpha", "-1", etc...)
const char *extra_version = "";
//! Copyright string containing the author names
const char *copyright_string = "Copyright (C) 2004-2008 Ion Vasilief";
//! Release date as a string
const char *release_date = "10 Apr 2008";
#ifndef GLOBALS_H
#define GLOBALS_H
/*************************************************************************** /***************************************************************************
File : globals.h File : globals.h
Project : QtiPlot Project : QtiPlot
...@@ -28,16 +30,17 @@ ...@@ -28,16 +30,17 @@
* * * *
***************************************************************************/ ***************************************************************************/
// Don't forget to change the Doxyfile when changing these! /// Major version number
//! Major version number extern const int maj_version;
const int maj_version = 0; /// Minor version number (0..9)
//! Minor version number (0..9) extern const int min_version;
const int min_version = 9; /// Patch version number (0..9)
//! Patch version number (0..9) extern const int patch_version;
const int patch_version = 5; /// Extra version information
//! Extra version information string (like "alpha", "-2", etc...) extern const char *extra_version;
const char *extra_version = ""; /// Copyright notice string
//! Copyright string containing the author names extern const char *copyright_string;
const char *copyright_string = "Copyright (C) 2004-2008 Ion Vasilief"; /// Release date as a string
//! Release date as a string extern const char *release_date;
const char *release_date = "10 Apr 2008";
#endif /* GLOBALS_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment