From: asv Date: Thu, 23 Jun 2005 11:39:57 +0000 (+0000) Subject: createApplication() without parameters back again. X-Git-Tag: T3_0_0_a4~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f9c0902966a4ea5bb084c898fbc328bd83254dd;p=modules%2Fgui.git createApplication() without parameters back again. --- diff --git a/src/CAF/CAF_Application.cxx b/src/CAF/CAF_Application.cxx index 61bf70952..3a069fdcb 100755 --- a/src/CAF/CAF_Application.cxx +++ b/src/CAF/CAF_Application.cxx @@ -17,7 +17,7 @@ #include #include -extern "C" CAF_EXPORT SUIT_Application* createApplication( int, char** ) +extern "C" CAF_EXPORT SUIT_Application* createApplication() { return new CAF_Application(); } diff --git a/src/CAM/CAM_Application.cxx b/src/CAM/CAM_Application.cxx index 2be468b03..f8ca14f3b 100755 --- a/src/CAM/CAM_Application.cxx +++ b/src/CAM/CAM_Application.cxx @@ -19,7 +19,7 @@ #include #endif -extern "C" CAM_EXPORT SUIT_Application* createApplication( int, char** ) +extern "C" CAM_EXPORT SUIT_Application* createApplication() { return new CAM_Application(); } diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 1f5cb1331..072ef0738 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -22,7 +22,7 @@ #include #include -extern "C" STD_EXPORT SUIT_Application* createApplication( int, char** ) +extern "C" STD_EXPORT SUIT_Application* createApplication() { return new STD_Application(); } diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 2ca8b4ceb..7c54fa23c 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -107,7 +107,7 @@ static const char* imageEmptyIcon[] = { "....................", "...................."}; -extern "C" SALOMEAPP_EXPORT SUIT_Application* createApplication( int, char** ) +extern "C" SALOMEAPP_EXPORT SUIT_Application* createApplication() { return new SalomeApp_Application(); }