mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
35 lines
978 B
C++
Executable File
35 lines
978 B
C++
Executable File
// ConsoleImplementation.h
|
|
// Copyright 2000-02, Sony Online Entertainment Inc., all rights reserved.
|
|
// Author: Justin Randall
|
|
|
|
#ifndef _INCLUDED_ConsoleImplementation_H
|
|
#define _INCLUDED_ConsoleImplementation_H
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#include <list>
|
|
#include <string>
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
class ConsoleImplementation
|
|
{
|
|
public:
|
|
ConsoleImplementation();
|
|
~ConsoleImplementation();
|
|
|
|
const bool hasPendingCommand () const;
|
|
const std::string popNextCommand ();
|
|
void pushCommand (const std::string & newCommand);
|
|
private:
|
|
ConsoleImplementation & operator = (const ConsoleImplementation & rhs);
|
|
ConsoleImplementation(const ConsoleImplementation & source);
|
|
|
|
private:
|
|
std::list<std::string> m_pendingCommands;
|
|
};
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#endif // _INCLUDED_ConsoleImplementation_H
|