Rebel Fork Framework
Application.h File Reference
#include "../Container/Ptr.h"
#include "../Core/Context.h"
#include "../Core/Main.h"
#include "../Core/Macros.h"
#include "../Engine/Engine.h"
#include "../Plugins/PluginApplication.h"

Classes

class  Urho3D::Application
 Base class for creating applications which initialize the Urho3D engine and run a main loop until exited. More...
 

Macros

#define URHO3D_DEFINE_APPLICATION_MAIN(className)
 
#define URHO3D_DEFINE_APPLICATION_MAIN_CSHARP(Class)
 

Macro Definition Documentation

◆ URHO3D_DEFINE_APPLICATION_MAIN

#define URHO3D_DEFINE_APPLICATION_MAIN (   className)
Value:
int RunApplication() \
{ \
Urho3D::SharedPtr<Urho3D::Context> context(new Urho3D::Context()); \
Urho3D::SharedPtr<className> application(new className(context)); \
return application->Run(); \
} \
URHO3D_DEFINE_MAIN(RunApplication())
Urho3D::Context
Urho3D execution context. Provides access to subsystems, object factories and attributes,...
Definition: Context.h:70