polserver/pol-core/pol/PolMain.cpp
turleypol dbb25bdb62
Include and buildsystem cleanup (#45)
Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
2018-01-29 21:55:48 +01:00

38 lines
948 B
C++

#include "PolMain.h"
#include "../clib/Program/ProgramMain.h"
#include "pol.h"
namespace Pol
{
namespace Clib
{
using namespace std;
///////////////////////////////////////////////////////////////////////////////
PolMain::PolMain() : ProgramMain() {}
PolMain::~PolMain() {}
///////////////////////////////////////////////////////////////////////////////
void PolMain::showHelp()
{
// no help available
}
int PolMain::main()
{
// TODO: merge the following with all the other xmain* functions
return Pol::xmain_outer( programArgsFind( "test" ) );
}
}
} // namespaces
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
int main( int argc, char* argv[] )
{
Pol::Clib::PolMain* polMain = new Pol::Clib::PolMain();
polMain->start( argc, argv );
}