Salome HOME
Support both 5.5 and 5.6 version of ParaView
[modules/gui.git] / src / SUIT / SUIT_ResourceMgr.h
index 37cbe5991467ee8f4965ae897d1569b511bd9081..8129aba07244c6138d0b91daaaa90ab587e2435d 100755 (executable)
@@ -1,3 +1,25 @@
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// 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, 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 #ifndef SUIT_RESOURCEMGR_H
 #define SUIT_RESOURCEMGR_H
 
 class SUIT_EXPORT SUIT_ResourceMgr : public QtxResourceMgr
 {
 public:
-  SUIT_ResourceMgr( const QString&, const QString& = QString::null );
+  SUIT_ResourceMgr( const QString&, const QString& = QString() );
   virtual ~SUIT_ResourceMgr();
 
-  QString         version() const;
+  virtual QString version() const;
   void            setVersion( const QString& );
 
   QString         loadDoc( const QString&, const QString& ) const;
 
 protected:
-  virtual QString userFileName( const QString& ) const;
+  virtual QString userFileName( const QString&, const bool = true ) const;
+  virtual QString findAppropriateUserFile( const QString& ) const;
+  virtual long    userFileId( const QString& ) const;
+  virtual QString defaultLanguage() const;
 
 private:
   QString         myVersion;