mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-25 12:23:58 -04:00
9203fab207
git-svn-id: svn://localhost@6 8062f311-0dae-4547-b526-b8ab9ac864a5
27 lines
557 B
C++
27 lines
557 B
C++
#ifndef CONSOLEMANAGER_H
|
|
#define CONSOLEMANAGER_H
|
|
|
|
#include "GDL/singleton.h"
|
|
class ConsoleFrame;
|
|
|
|
/**
|
|
* Class managing the GD console, allowing to display it by a simple function call.
|
|
* Best when created at program start and killed when program exits.
|
|
*/
|
|
class ConsoleManager : public Singleton<ConsoleManager>
|
|
{
|
|
public:
|
|
void ShowConsole();
|
|
|
|
private:
|
|
|
|
ConsoleManager();
|
|
virtual ~ConsoleManager();
|
|
|
|
ConsoleFrame * console;
|
|
|
|
friend class Singleton<ConsoleManager>;
|
|
};
|
|
|
|
#endif // CONSOLEMANAGER_H
|