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
src/Folder.cpp
src/FunctionCurve.cpp
src/FunctionDialog.cpp
src/globals.cpp
src/Graph3D.cpp
src/Graph.cpp
src/Grid.cpp
......
#include "MantidAbout.h"
#include "MantidKernel/MantidVersion.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;
#include "globals.h"
/**
* 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
Project : QtiPlot
......@@ -28,16 +30,17 @@
* *
***************************************************************************/
// 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", "-2", 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";
/// Major version number
extern const int maj_version;
/// Minor version number (0..9)
extern const int min_version;
/// Patch version number (0..9)
extern const int patch_version;
/// Extra version information
extern const char *extra_version;
/// Copyright notice string
extern const char *copyright_string;
/// Release date as a string
extern const char *release_date;
#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