mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
29 lines
917 B
C++
29 lines
917 B
C++
/*=========================================================================
|
|
|
|
Program: ParaView
|
|
Module: pvrenderserver.cxx
|
|
|
|
Copyright (c) Kitware, Inc.
|
|
All rights reserved.
|
|
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
PURPOSE. See the above copyright notice for more information.
|
|
|
|
=========================================================================*/
|
|
#include "pvserver_common.h"
|
|
#ifndef BUILD_SHARED_LIBS
|
|
#include "pvStaticPluginsInit.h"
|
|
#endif
|
|
|
|
//----------------------------------------------------------------------------
|
|
int main(int argc, char* argv[])
|
|
{
|
|
#ifndef BUILD_SHARED_LIBS
|
|
paraview_static_plugins_init();
|
|
#endif
|
|
// Init current process type
|
|
return RealMain(argc, argv, vtkProcessModule::PROCESS_RENDER_SERVER)? 0 : 1;
|
|
}
|