Nebula
Loading...
Searching...
No Matches
consoleapplication.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
13#include "app/application.h"
14#include "core/coreserver.h"
15#include "io/ioserver.h"
16
17//------------------------------------------------------------------------------
18namespace App
19{
21{
22public:
26 virtual ~ConsoleApplication();
28 virtual bool Open();
30 virtual void Close();
31
32protected:
35};
36
37} // namespace App
38//------------------------------------------------------------------------------
Provides a simple application model for Nebula apps.
Definition application.h:19
Base class for Nebula console applications.
Definition consoleapplication.h:21
virtual ~ConsoleApplication()
destructor
Definition consoleapplication.cc:26
ConsoleApplication()
constructor
Definition consoleapplication.cc:18
Ptr< IO::IoServer > ioServer
Definition consoleapplication.h:34
virtual bool Open()
open the application
Definition consoleapplication.cc:35
Ptr< Core::CoreServer > coreServer
Definition consoleapplication.h:33
virtual void Close()
close the application
Definition consoleapplication.cc:64
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition gameapplication.cc:24