add a manually updated version number.
authorDiane Trout <diane@caltech.edu>
Tue, 17 Oct 2006 21:57:06 +0000 (21:57 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 17 Oct 2006 21:57:06 +0000 (21:57 +0000)
qui/MussaWindow.cpp
version.hpp [new file with mode: 0644]

index 640d6f8448337cfe654de89e349d649b42891c5e..2ab6299d925ac36226d56a69593b6bb13c8005e9 100644 (file)
@@ -1,6 +1,7 @@
 #include "py/python.hpp"
 #include "qui/MussaWindow.hpp"
 #include "mussa_exceptions.hpp"
+#include "version.hpp"
 
 #include <QAction>
 #include <QApplication>
@@ -284,14 +285,17 @@ void MussaWindow::setupAssistant()
   
 void MussaWindow::about()
 {
-  QString msg("Welcome to Multiple Species Sequence Analysis\n"
-              "(c) 2005-2006 California Institute of Technology\n"
-              "Tristan De Buysscher, Diane Trout\n");
-   msg += "\n\r";
-   msg += "OpenGL: ";
-   msg += (char *)glGetString(GL_VERSION);
-   msg += "\n";
-   QMessageBox::about(this, tr("About mussa"), msg);
+  QString msg;
+  msg += "Welcome to Multiple Species Sequence Analysis\n";
+  msg += "(c) 2005-2006 California Institute of Technology\n";
+  msg += "Diane Trout, Tristan De Buysscher, Brandon King\n";
+  msg += "Version: ";
+  msg += mussa_version;
+  msg += "\n";
+  msg += "OpenGL: ";
+  msg += (char *)glGetString(GL_VERSION);
+  msg += "\n";
+  QMessageBox::about(this, tr("About mussa"), msg);
 }
 
 void MussaWindow::clear()
diff --git a/version.hpp b/version.hpp
new file mode 100644 (file)
index 0000000..e966a78
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef MUSSA_VERSION_HPP_
+#define MUSSA_VERSION_HPP_
+
+const char *mussa_version="0.99.2";
+
+#endif /*VERSION_HPP_*/