From: nds Date: Fri, 3 Mar 2006 12:57:54 +0000 (+0000) Subject: Delete dependency OBJECT package from GlViewer package X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=af4125cd7cf82c34abac5bd6c0ed9f36f5b757ed;p=modules%2Fgui.git Delete dependency OBJECT package from GlViewer package --- diff --git a/src/OBJECT/SALOME_GLOwner.cxx b/src/OBJECT/SALOME_GLOwner.cxx deleted file mode 100644 index ed88afb38..000000000 --- a/src/OBJECT/SALOME_GLOwner.cxx +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D -// -// 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.1 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; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ -// - -#include - -SALOME_GLOwner::SALOME_GLOwner( const char* entry ) -: GLViewer_Owner() -{ - setEntry( entry ); -} - -SALOME_GLOwner::~SALOME_GLOwner() -{ -} - -const char* SALOME_GLOwner::entry() const -{ - return myEntry.c_str(); -} - -void SALOME_GLOwner::setEntry( const char* entry ) -{ - myEntry = entry; -} diff --git a/src/OBJECT/SALOME_GLOwner.h b/src/OBJECT/SALOME_GLOwner.h deleted file mode 100644 index 770911392..000000000 --- a/src/OBJECT/SALOME_GLOwner.h +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D -// -// 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.1 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; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ -// -#ifndef SALOME_GLOWNER_H -#define SALOME_GLOWNER_H - -#include -//#include -#include - -#ifdef WNT -#define SALOME_OBJECT_EXPORT __declspec (dllexport) -#else -#define SALOME_OBJECT_EXPORT -#endif - -class SALOME_OBJECT_EXPORT SALOME_GLOwner : public GLViewer_Owner -{ -public: - SALOME_GLOwner( const char* ); - ~SALOME_GLOwner(); - - const char* entry() const; - void setEntry( const char* ); - -private: - std::string myEntry; -}; - -#endif