mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add IApplication interface and hide the implementation
This commit is contained in:
@@ -10,7 +10,7 @@ using namespace boost::unit_test;
|
||||
|
||||
void setupServer()
|
||||
{
|
||||
theApp = new Application();
|
||||
theApp = IApplication::New ();
|
||||
theApp->setup();
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ void startServer()
|
||||
|
||||
bool init_unit_test()
|
||||
{
|
||||
theApp = new Application();
|
||||
theApp = IApplication::New ();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user