[opengtl-commits] [657] add missing files |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 657
Author: cyrille
Date: 2009-03-17 20:51:49 +0100 (Tue, 17 Mar 2009)
Log Message:
-----------
add missing files
Added Paths:
-----------
trunk/OpenGTL/OpenCTL/OpenCTL/Version.cpp
trunk/OpenGTL/OpenGTL/GTLCore/Version.cpp
trunk/OpenGTL/OpenShiva/OpenShiva/Version.cpp
Added: trunk/OpenGTL/OpenCTL/OpenCTL/Version.cpp
===================================================================
--- trunk/OpenGTL/OpenCTL/OpenCTL/Version.cpp (rev 0)
+++ trunk/OpenGTL/OpenCTL/OpenCTL/Version.cpp 2009-03-17 19:51:49 UTC (rev 657)
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2009 Cyrille Berger <cberger@xxxxxxxxxxx>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "Version.h"
+
+
+namespace OpenCTL {
+ GTLCore::String LibraryShortName() { return "OpenCTL"; }
+ GTLCore::String LibraryName() { return "OpenCTL Color Transformation Language"; }
+ GTLCore::String LibraryCopyright() { return "Copyright (c) 2007-2009 Cyrille Berger (cberger@xxxxxxxxxxx)"; }
+ GTLCore::String LibraryLicence() { return "GNU Lesser General Public License Version 2, or later"; }
+ GTLCore::String LibraryVersionString() { return GTLCore::String::number( OPENCTL_VERSION_MAJOR ) + "." + GTLCore::String::number( OPENCTL_VERSION_MAJOR ) + "." + GTLCore::String::number( OPENCTL_VERSION_MAJOR ); }
+ int LibraryVersionMajor()
+ {
+ return OPENCTL_VERSION_MAJOR;
+ }
+ int LibraryVersionMinor()
+ {
+ return OPENCTL_VERSION_MAJOR;
+ }
+ int LibraryVersionRevision()
+ {
+ return OPENCTL_VERSION_MAJOR;
+ }
+ int LanguageVersion()
+ {
+ return 1;
+ }
+
+}
+
Added: trunk/OpenGTL/OpenGTL/GTLCore/Version.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Version.cpp (rev 0)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Version.cpp 2009-03-17 19:51:49 UTC (rev 657)
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2009 Cyrille Berger <cberger@xxxxxxxxxxx>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "Version.h"
+
+
+namespace GTLCore {
+ String LibraryShortName() { return "OpenGTL Core"; }
+ String LibraryName() { return "Open Graphics Transformation Languages Core"; }
+ String LibraryCopyright() { return "Copyright (c) 2007-2009 Cyrille Berger (cberger@xxxxxxxxxxx)"; }
+ String LibraryLicence() { return "GNU Lesser General Public License Version 2, or later"; }
+ String LibraryVersionString() { return String::number( GTL_CORE_VERSION_MAJOR ) + "." + String::number( GTL_CORE_VERSION_MINOR ) + "." + String::number( GTL_CORE_VERSION_REVISION ); }
+ int LibraryVersionMajor()
+ {
+ return GTL_CORE_VERSION_MAJOR;
+ }
+ int LibraryVersionMinor()
+ {
+ return GTL_CORE_VERSION_MINOR;
+ }
+ int LibraryVersionRevision()
+ {
+ return GTL_CORE_VERSION_REVISION;
+ }
+}
+
Added: trunk/OpenGTL/OpenShiva/OpenShiva/Version.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/Version.cpp (rev 0)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/Version.cpp 2009-03-17 19:51:49 UTC (rev 657)
@@ -0,0 +1,51 @@
+/*
+ * Copyright (c) 2009 Cyrille Berger <cberger@xxxxxxxxxxx>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "Version.h"
+
+
+namespace OpenShiva {
+ GTLCore::String LibraryShortName() { return "OpenShiva"; }
+ GTLCore::String LibraryName() { return "OpenShiva Kernel Transformation Language"; }
+ GTLCore::String LibraryCopyright() { return "Copyright (c) 2007-2009 Cyrille Berger (cberger@xxxxxxxxxxx)"; }
+ GTLCore::String LibraryLicence() { return "GNU Lesser General Public License Version 2, or later"; }
+ GTLCore::String LibraryVersionString() { return GTLCore::String::number( OPENSHIVA_VERSION_MAJOR ) + "." + GTLCore::String::number( OPENSHIVA_VERSION_MAJOR ) + "." + GTLCore::String::number( OPENSHIVA_VERSION_MAJOR ); }
+ int LibraryVersionMajor()
+ {
+ return OPENSHIVA_VERSION_MAJOR;
+ }
+ int LibraryVersionMinor()
+ {
+ return OPENSHIVA_VERSION_MAJOR;
+ }
+ int LibraryVersionRevision()
+ {
+ return OPENSHIVA_VERSION_MAJOR;
+ }
+ int LanguageVersion()
+ {
+ return 0;
+ }
+ int LanguageVersionRevision()
+ {
+ return 0;
+ }
+
+}
+