mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
Include cleanup Reworked buildsystem (Linux only) Removed dynamic libs, Linux now again uses static linking (like windows)
38 lines
948 B
C++
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 );
|
|
}
|