/* core/commandbuffer.h This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2 */ #ifndef __INCLUDED_COMMANDBUFFER_H__ #define __INCLUDED_COMMANDBUFFER_H__ // project headers #include "core/core.h" // C++ headers #include namespace core { /// global buffer to hold the command stream extern std::stringstream cmd; namespace commandbuffer { /// execute the commands in the buffer void execute(); /// flush the command buffer void clear(); } } #endif // COMMANDBUFFER