From 0a1e8ac3d084fbaa1d2b60359df20b6ecb461bfa Mon Sep 17 00:00:00 2001
From: Marco Biasini <marco.biasini@unibas.ch>
Date: Thu, 28 Oct 2010 19:07:23 +0200
Subject: [PATCH] remove version.{hh,cc} from img

---
 modules/img/base/src/CMakeLists.txt |  1 -
 modules/img/base/src/version.cc     | 40 -----------------------------
 modules/img/base/src/version.hh     | 39 ----------------------------
 3 files changed, 80 deletions(-)
 delete mode 100644 modules/img/base/src/version.cc
 delete mode 100644 modules/img/base/src/version.hh

diff --git a/modules/img/base/src/CMakeLists.txt b/modules/img/base/src/CMakeLists.txt
index 97ea2ed0b..eba4707b0 100644
--- a/modules/img/base/src/CMakeLists.txt
+++ b/modules/img/base/src/CMakeLists.txt
@@ -76,7 +76,6 @@ util.cc
 module_config.hh
 value_util.hh
 vecmat.hh
-version.hh
 mask_base_fw.hh
 mask_base.hh
 composite_mask.hh
diff --git a/modules/img/base/src/version.cc b/modules/img/base/src/version.cc
deleted file mode 100644
index 7bd94775b..000000000
--- a/modules/img/base/src/version.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-//------------------------------------------------------------------------------
-// This file is part of the OpenStructure project <www.openstructure.org>
-//
-// Copyright (C) 2008-2010 by the OpenStructure authors
-// Copyright (C) 2003-2010 by the IPLT authors
-//
-// 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 3.0 of the License, or (at your option)
-// any later version.
-// 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; if not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-//------------------------------------------------------------------------------
-
-/*
-  versioning info
-
-  Author: Ansgar Philippsen
-*/
-
-#include "version.hh"
-
-#include <sstream>
-
-namespace ost { namespace img {
-
-String GetVersion()
-{
-  std::ostringstream str;
-  str << VERSION ;
-  return str.str();
-}
-
-}} // ns
diff --git a/modules/img/base/src/version.hh b/modules/img/base/src/version.hh
deleted file mode 100644
index f893148f7..000000000
--- a/modules/img/base/src/version.hh
+++ /dev/null
@@ -1,39 +0,0 @@
-//------------------------------------------------------------------------------
-// This file is part of the OpenStructure project <www.openstructure.org>
-//
-// Copyright (C) 2008-2010 by the OpenStructure authors
-// Copyright (C) 2003-2010 by the IPLT authors
-//
-// 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 3.0 of the License, or (at your option)
-// any later version.
-// 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; if not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-//------------------------------------------------------------------------------
-
-/*
-  versioning info
-
-  Author: Ansgar Philippsen
-*/
-
-#ifndef IMG_VERSION_H
-#define IMG_VERSION_H
-
-#include <ost/img/module_config.hh>
-
-namespace ost { namespace img {
-
-DLLEXPORT_OST_IMG_BASE String GetVersion();
-
-}} // namespace img
-
-
-#endif
-- 
GitLab