mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* tidy * Automated clang-tidy change: modernize-concat-nested-namespaces * compile test * fix namespace --------- Co-authored-by: Clang Tidy <clang-tidy@users.noreply.github.com>
37 lines
954 B
C++
37 lines
954 B
C++
#include "PolMain.h"
|
|
|
|
#include "../clib/Program/ProgramMain.h"
|
|
#include "pol.h"
|
|
|
|
|
|
namespace Pol::Clib
|
|
{
|
|
using namespace std;
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
PolMain::PolMain() : ProgramMain() {}
|
|
PolMain::~PolMain() = default;
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
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" ) );
|
|
}
|
|
} // namespace Pol::Clib
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
int main( int argc, char* argv[] )
|
|
{
|
|
Pol::Clib::PolMain* polMain = new Pol::Clib::PolMain();
|
|
polMain->start( argc, argv );
|
|
}
|