Salome HOME
Update copyrights 2014.
[samples/light.git] / src / LIGHTGUI / LIGHTGUI.h
index 4a952e46e0d2f7b37116ca9ed28d7a770edfa3c3..8ea67791b80cc2ad38d882b88f27da2b1b0a78bc 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2005-2012  OPEN CASCADE
+// Copyright (C) 2005-2014  OPEN CASCADE
 //
 // 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.
+// 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
 #ifndef LIGHTGUI_H
 #define LIGHTGUI_H
 
+#include "LIGHTGUI_Exports.hxx"
 #include <LightApp_Module.h>
 
 class QMenu;
 class LightApp_Selection;
 class LightApp_SelectionMgr;
 
-class LIGHTGUI: public LightApp_Module
+class LIGHT_EXPORT LIGHTGUI: public LightApp_Module
 {
   Q_OBJECT
    
@@ -56,6 +57,9 @@ public:
 
   LightApp_Selection*    createSelection() const;
 
+  bool                   renameObject( const QString&, const QString& );
+  bool                   renameAllowed( const QString& ) const;
+
 protected:
   CAM_DataModel*         createDataModel();
   int                    selectedLine();