Salome HOME
bos #29458 Salome on demand
[modules/gui.git] / src / Qtx / QtxResourceMgr.h
index c70644cd8ba97d58bd58fe27721a3b0e8fdfa708..3694ae9d6968c42ddf0a022ccad36de9442edd7b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  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
@@ -53,6 +53,8 @@ class QTX_EXPORT QtxResourceMgr
 {
   class IniFormat;
   class XmlFormat;
+  class JsonFormat;
+  class SalomexFormat;
   class Resources;
 
 public:
@@ -71,6 +73,7 @@ public:
   } WorkingMode;
 
 public:
+  QtxResourceMgr();
   QtxResourceMgr( const QString&, const QString& = QString() );
   virtual ~QtxResourceMgr();
 
@@ -168,6 +171,7 @@ public:
   bool             load();
   bool             import( const QString& );
   bool             save();
+  bool             addResource( const QString& );
 
   QStringList      sections() const;
   QStringList      sections(const QRegExp&) const;
@@ -178,6 +182,8 @@ public:
 
   void             refresh();
 
+  QString          language( const QString& = QString() ) const;
+
 protected:
   virtual QString  defaultLanguage() const;