FULLPIPE: Implement MessageQueue::insertExCommandAt()
This commit is contained in:
parent
d423b5b1fe
commit
19fb0d11bc
1 changed files with 6 additions and 1 deletions
|
@ -392,7 +392,12 @@ void MessageQueue::addExCommandToEnd(ExCommand *ex) {
|
|||
}
|
||||
|
||||
void MessageQueue::insertExCommandAt(int pos, ExCommand *ex) {
|
||||
warning("STUB: MessageQueue::insertExCommandAt()");
|
||||
Common::List<ExCommand *>::iterator it = _exCommands.begin();
|
||||
|
||||
for (int i = pos; i > 0; i--)
|
||||
++it;
|
||||
|
||||
_exCommands.insert(it, ex);
|
||||
}
|
||||
|
||||
ExCommand *MessageQueue::getExCommandByIndex(uint idx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue