#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();
}
#include <dlfcn.h>
#endif
-extern "C" CAM_EXPORT SUIT_Application* createApplication()
+extern "C" CAM_EXPORT SUIT_Application* createApplication( int, char** )
{
return new CAM_Application();
}
#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();
}
"....................",
"...................."};
-extern "C" SALOMEAPP_EXPORT SUIT_Application* createApplication()
+extern "C" SALOMEAPP_EXPORT SUIT_Application* createApplication( int, char** )
{
return new SalomeApp_Application();
}
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 );
}
vtkVM->Repaint();
}
}
- /*
+
if ( sec == QString( "OCCViewer" ) && ( param == QString( "iso_number_u" ) || param == QString( "iso_number_v" ) ) )
{
QPtrList<SUIT_ViewManager> lst;
for ( QPtrListIterator<SUIT_ViewManager> it( lst ); it.current(); ++it )
((OCCViewer_Viewer*)it.current())->setIsos( u, v );
}
- */
+
}
void SalomeApp_Application::afterCloseDoc()