#include "../Container/Ptr.h"
#include "../Core/Context.h"
#include "../Core/Main.h"
#include "../Core/Macros.h"
#include "../Engine/Engine.h"
#include "../Plugins/PluginApplication.h"
|
class | Urho3D::Application |
| Base class for creating applications which initialize the Urho3D engine and run a main loop until exited. More...
|
|
|
#define | URHO3D_DEFINE_APPLICATION_MAIN(className) |
|
#define | URHO3D_DEFINE_APPLICATION_MAIN_CSHARP(Class) |
|
◆ URHO3D_DEFINE_APPLICATION_MAIN
#define URHO3D_DEFINE_APPLICATION_MAIN |
( |
|
className | ) |
|
Value:int RunApplication() \
{ \
Urho3D::SharedPtr<className> application(new className(context)); \
return application->Run(); \
} \
URHO3D_DEFINE_MAIN(RunApplication())