From 51e21a316be6e052251b3dfc7d671061ebd67cee Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 18:03:28 +0000 Subject: Removed the old trunk contents. About to load up m3 --- src/action.cpp | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 src/action.cpp (limited to 'src/action.cpp') diff --git a/src/action.cpp b/src/action.cpp deleted file mode 100644 index 2588caa..0000000 --- a/src/action.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include "action.h" - -Action::Action() -{ -} - -Action::~Action() -{ -} - -void Action::addCommand( eAction act, const std::string &sWhat, bool bIsGroup ) -{ - lCmds.push_back( Cmd( act, sWhat, bIsGroup ) ); -} - -void Action::begin() -{ - i = lCmds.begin(); -} - -bool Action::isEnded() -{ - return i == lCmds.end(); -} - -void Action::next() -{ - i++; -} - -Action::eAction Action::getAct() -{ - return (*i).act; -} - -std::string Action::getWhat() -{ - return (*i).sWhat; -} - -bool Action::isGroup() -{ - return (*i).bIsGroup; -} - -void Action::setMode( eAction nAct ) -{ - for( CmdList::iterator j = lCmds.begin(); j != lCmds.end(); j++ ) - { - (*j).act = nAct; - } -} - -- cgit v1.2.3