21 lines
324 B
C++
21 lines
324 B
C++
#ifndef GUI_STACK_H
|
|
#define GUI_STACK_H
|
|
|
|
#include <stack>
|
|
|
|
class GuiStack
|
|
{
|
|
public:
|
|
static void *top();
|
|
static void push(void *screen);
|
|
static void *pop();
|
|
|
|
private:
|
|
static GuiStack &get();
|
|
GuiStack() {};
|
|
void operator=(const GuiStack &);
|
|
std::stack<void *> screens;
|
|
};
|
|
|
|
#endif /* GUI_STACK_H */
|