From 0f9c0902966a4ea5bb084c898fbc328bd83254dd Mon Sep 17 00:00:00 2001 From: asv Date: Thu, 23 Jun 2005 11:39:57 +0000 Subject: [PATCH] createApplication() without parameters back again. --- src/CAF/CAF_Application.cxx | 2 +- src/CAM/CAM_Application.cxx | 2 +- src/STD/STD_Application.cxx | 2 +- src/SalomeApp/SalomeApp_Application.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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(); } -- 2.39.2