]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
createApplication() made with 2 parameters.
authorasv <asv@opencascade.com>
Thu, 23 Jun 2005 11:20:20 +0000 (11:20 +0000)
committerasv <asv@opencascade.com>
Thu, 23 Jun 2005 11:20:20 +0000 (11:20 +0000)
src/CAF/CAF_Application.cxx
src/CAM/CAM_Application.cxx
src/STD/STD_Application.cxx
src/SalomeApp/SalomeApp_Application.cxx

index 3a069fdcb9275ad3d0d486138205ee900b16c711..61bf7095218b332af72c9cf581009e2f066bffe6 100755 (executable)
@@ -17,7 +17,7 @@
 #include <qstatusbar.h>
 #include <qapplication.h>
 
-extern "C" CAF_EXPORT SUIT_Application* createApplication()
+extern "C" CAF_EXPORT SUIT_Application* createApplication( int, char** )
 {
   return new CAF_Application();
 }
index f8ca14f3b13b36336438e7ea4f1dc52ea9f6a8da..2be468b034230e918c5e6b3a03a256c8269013e5 100755 (executable)
@@ -19,7 +19,7 @@
 #include <dlfcn.h>
 #endif
 
-extern "C" CAM_EXPORT SUIT_Application* createApplication()
+extern "C" CAM_EXPORT SUIT_Application* createApplication( int, char** )
 {
   return new CAM_Application();
 }
index 072ef073827c396341561b0ad14c557249b300fa..1f5cb1331eebdeb2472b14aba82a9bd7b8528e17 100755 (executable)
@@ -22,7 +22,7 @@
 #include <qfiledialog.h>
 #include <qapplication.h>
 
-extern "C" STD_EXPORT SUIT_Application* createApplication()
+extern "C" STD_EXPORT SUIT_Application* createApplication( int, char** )
 {
   return new STD_Application();
 }
index 1432fffd6bdcf3d3d540ad8a1c3f89971b0b14fc..2ca8b4ceb80e4b7a4bf9516a062fb9ecb7a9a285 100644 (file)
@@ -107,7 +107,7 @@ static const char* imageEmptyIcon[] = {
 "....................",
 "...................."};
 
-extern "C" SALOMEAPP_EXPORT SUIT_Application* createApplication()
+extern "C" SALOMEAPP_EXPORT SUIT_Application* createApplication( int, char** )
 {
   return new SalomeApp_Application();
 }
@@ -920,7 +920,7 @@ SUIT_ViewManager* SalomeApp_Application::createViewManager( const QString& vmTyp
     vm->isos( u, v );
     u = resMgr->integerValue( "OCCViewer", "iso_number_u", u );
     v = resMgr->integerValue( "OCCViewer", "iso_number_v", v );
-    //    vm->setIsos( u, v );
+    vm->setIsos( u, v );
     viewMgr->setViewModel( vm );// custom view model, which extends SALOME_View interface
     new SalomeApp_OCCSelector( (OCCViewer_Viewer*)viewMgr->getViewModel(), mySelMgr );
   }
@@ -1325,7 +1325,7 @@ void SalomeApp_Application::preferencesChanged( const QString& sec, const QStrin
       vtkVM->Repaint();
     }
   }
-  /*
+  
   if ( sec == QString( "OCCViewer" ) && ( param == QString( "iso_number_u" ) || param == QString( "iso_number_v" ) ) )
   {
     QPtrList<SUIT_ViewManager> lst;
@@ -1335,7 +1335,7 @@ void SalomeApp_Application::preferencesChanged( const QString& sec, const QStrin
     for ( QPtrListIterator<SUIT_ViewManager> it( lst ); it.current(); ++it )
       ((OCCViewer_Viewer*)it.current())->setIsos( u, v );
   }
-  */
+  
 }
 
 void SalomeApp_Application::afterCloseDoc()