X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2Fvv.cxx;h=fe19cc381aa76733f03afbea25b951c61eff4b81;hb=95c9ed39f813cd2a90d5dfbee394b50425627e8e;hp=fde6e992627cdebfa2759319011039ae57c13a44;hpb=f7dee5f397e4efa933ef32507698ff1c1e573c2e;p=clitk.git
diff --git a/vv/vv.cxx b/vv/vv.cxx
index fde6e99..fe19cc3 100644
--- a/vv/vv.cxx
+++ b/vv/vv.cxx
@@ -21,6 +21,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see .
=========================================================================*/
+
#include
#include
#include
@@ -29,19 +30,19 @@ along with this program. If not, see .
#include
#include
-#include "clitkCommon.h"
+#include "clitkIO.h"
#include "vvMainWindow.h"
-#include "vvInit.h"
#include "vvConstants.h"
-//------------------------------------------------------------------------------
-// (*NEEDED HERE*) Static instances initialization for ToolManager
-TOOL_MANAGER_INITIALIZATION;
-
//------------------------------------------------------------------------------
int main( int argc, char** argv )
{
- initialize_IO();
+#ifdef _WIN32
+ HWND hWnd = GetConsoleWindow();
+ ShowWindow( hWnd, SW_HIDE );
+#endif
+
+ CLITK_INIT;
QApplication app( argc, argv );
Q_INIT_RESOURCE(vvIcons);